class UsbAdbTest

Defined at line 434 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 436 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

const inspect::Hierarchy & hierarchy ()

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

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

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

void SetUp ()

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

void TearDown ()

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

void EnsureIfaceBound ()

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

void EnableUsb ()

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

void WaitConfigured ()

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

void SafeStopDriver ()

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

void WaitForState (State target_state)

Defined at line 558 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 569 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 583 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc

void ExpectReceiveData (size_t size)

Defined at line 616 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 628 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function-test.cc