aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-11-16 15:40:16 -0800
committerJosh Gao <jmgao@google.com>2018-12-12 12:54:28 -0800
commit3edf8079dd432adbeb6956c26079c0c81e235a0c (patch)
tree698e0345b414974a0484b49e121b564caa4a1ec5 /adb.h
parent7b438faadd0c87b97ae5c34fefcab9ef7b75b288 (diff)
downloadadb-3edf8079dd432adbeb6956c26079c0c81e235a0c.tar.gz
adbd: add source/sink services.
Add some services that skip the service fd to see how much of a benefit it'll be to eliminate it. Test: adb raw source:$((300 * 1024 * 1024)) | pv > /dev/null Test: dd if=/dev/zero bs=1M count=100 | pv | adb raw sink:$((100 * 1024 * 1024)) Change-Id: I042f25f85b16ae9869cb1f1e306d8671b024ed97
Diffstat (limited to 'adb.h')
-rw-r--r--adb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/adb.h b/adb.h
index e2911e81..cdd63465 100644
--- a/adb.h
+++ b/adb.h
@@ -149,6 +149,10 @@ asocket* host_service_to_socket(const char* name, const char* serial, TransportI
#endif
#if !ADB_HOST
+asocket* daemon_service_to_socket(std::string_view name);
+#endif
+
+#if !ADB_HOST
int init_jdwp(void);
asocket* create_jdwp_service_socket();
asocket* create_jdwp_tracker_service_socket();