class Adb

Defined at line 33 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 35 of file ../../src/developer/adb/bin/adb/adb.h

zx::result<std::unique_ptr<Adb>> Create (async_dispatcher_t * dispatcher)

Defined at line 204 of file ../../src/developer/adb/bin/adb/adb.cc

bool SendUsbPacket (uint8_t * buf, size_t len)

AdbDaemonBase functions

Defined at line 121 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 141 of file ../../src/developer/adb/bin/adb/adb.cc

Friends

class AdbTest