class Adb
Defined at line 34 of file ../../src/developer/adb/bin/adb/adb.h
Adb connects to devices implementing fuchsia_hardware_adb::Device and calls the Start function to
get a handle to the fuchsia_hardware_adb::UsbAdbImpl implementation, which allows it to interact
and transfer packets over USB. Adb also interacts with different ADB services such as shell, ffx,
and file-sync to connect to it and interact with USB transport.
Public Methods
void Adb (async_dispatcher_t * dispatcher)
Defined at line 36 of file ../../src/developer/adb/bin/adb/adb.h
zx::result<std::unique_ptr<Adb>> Create (async_dispatcher_t * dispatcher)
Defined at line 219 of file ../../src/developer/adb/bin/adb/adb.cc
void Reset ()
Defined at line 247 of file ../../src/developer/adb/bin/adb/adb.cc
bool SendUsbPacket (uint8_t * buf, size_t len)
AdbDaemonBase functions
Defined at line 122 of file ../../src/developer/adb/bin/adb/adb.cc
zx::result<zx::socket> GetServiceSocket (std::string_view service_name, std::string_view args)
Defined at line 142 of file ../../src/developer/adb/bin/adb/adb.cc
Friends
class AdbTest