class AdbShell

Defined at line 23 of file ../../src/developer/adb/bin/adb-shell/adb-shell.h

Provides shell service to adb daemon.

Public Methods

void AdbShell (fidl::ClientEnd<fuchsia_io::Directory> svc, async_dispatcher_t * dispatcher, adb_shell_config::Config config)

Defined at line 83 of file ../../src/developer/adb/bin/adb-shell/adb-shell.h

void ConnectToService (ConnectToServiceRequestView request, ConnectToServiceCompleter::Sync & completer)

fuchsia_hardware_adb::Provider methods.

Defined at line 21 of file ../../src/developer/adb/bin/adb-shell/adb-shell.cc

zx_status_t AddShell (std::optional<std::string> args, zx::socket client)

Create a new shell instance to service an incoming connect request.

Defined at line 31 of file ../../src/developer/adb/bin/adb-shell/adb-shell.cc

size_t ActiveShellInstances ()

For testing, return the current shell instance count.

Defined at line 33 of file ../../src/developer/adb/bin/adb-shell/adb-shell.h