aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-03-27 18:09:56 -0700
committerJosh Gao <jmgao@google.com>2020-03-30 16:43:06 -0700
commit6b55e755786fff16a04471b56cfaf8a79adf8004 (patch)
tree6463441e90f25b44d46e174612637dd7713c8170 /adb.h
parentde9078dd2983da810c9a53c2cb2f230ab838829a (diff)
downloadadb-6b55e755786fff16a04471b56cfaf8a79adf8004.tar.gz
Move adbd's legacy USB implementation to fastboot.
This code path is effectively dead in adbd, and fastboot's dependency on libadbd makes it hard to refactor adbd's dependencies. Bug: http://b/150317254 Test: built and flashed aosp_walleye-eng Change-Id: I5118136d32fdcbbd011559ed0a4a71e1dc7bf064
Diffstat (limited to 'adb.h')
-rw-r--r--adb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/adb.h b/adb.h
index 9f8d2999..7bc60fca 100644
--- a/adb.h
+++ b/adb.h
@@ -29,7 +29,6 @@
#include "fdevent/fdevent.h"
#include "socket.h"
#include "types.h"
-#include "usb.h"
constexpr size_t MAX_PAYLOAD_V1 = 4 * 1024;
constexpr size_t MAX_PAYLOAD = 1024 * 1024;
@@ -139,7 +138,6 @@ int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply
/* initialize a transport object's func pointers and state */
int init_socket_transport(atransport* t, unique_fd s, int port, int local);
-void init_usb_transport(atransport* t, usb_handle* usb);
std::string getEmulatorSerialString(int console_port);
#if ADB_HOST
@@ -253,4 +251,5 @@ void update_transport_status();
// Wait until device scan has completed and every transport is ready, or a timeout elapses.
void adb_wait_for_device_initialization();
+void usb_init();
#endif