class UsbAdbTest

Defined at line 436 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

Public Members

optional hierarchy_
BackgroundDriverTest driver_test_
WireSyncClient client_
SyncClient iface_client_
bool driver_stopped_

Public Methods

void ReadInspect (const inspect::Inspector & inspector)

Defined at line 438 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

const inspect::Hierarchy & hierarchy ()

Defined at line 441 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

fidl::WireSyncClient<fadb::UsbAdbImpl> NormalStartAdb ()

Defined at line 445 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void SetUp ()

Defined at line 454 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void TearDown ()

Defined at line 474 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void EnsureIfaceBound ()

Defined at line 492 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void EnableUsb ()

Defined at line 494 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void WaitConfigured ()

Defined at line 518 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void SafeStopDriver ()

Defined at line 550 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void WaitForState (State target_state)

Defined at line 560 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void ExpectHandleOneEventSafe (fidl::WireSyncClient<fadb::UsbAdbImpl> & client, EventHandler & handler)

Defined at line 571 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void SendTestData (fidl::WireSyncClient<fadb::UsbAdbImpl> & usb_impl, size_t size)

Defined at line 585 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void ExpectReceiveData (size_t size)

Defined at line 618 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void CancelAllUsbRequestsOnDeconfigure ()

Safety net that drains any fake endpoint requests still outstanding at

deconfigure time. The driver now issues its own CancelAll() at the start of

teardown, which is what actually drains requests, and Deconfigure() only runs

once all requests have already been returned. This therefore matters only via

set_on_deconfigured()'s immediate-callback path, when a previous teardown has

already set deconfigured_.

Defined at line 630 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc