Enumerations
enum class State : uint8_t
| Name | Value | Comments |
|---|---|---|
| kAwaitingUsbConnection | 0 |
In kAwaitingUsbConnection, we have called function_.SetInterface(this), and
Once SetConfigured(true) has been called, we:
If a fadb::Device client requests shutdown by calling StopAdb() or closing |
| kOnline | 1 |
In kOnline, the USB connection is live, and we respond to any
If any of the following happen:
... we call function_.SetInterface(nullptr) and move to kStoppingUsb. (We |
| kStoppingUsb | 2 |
In kStoppingUsb, we wait for all outstanding USB requests to be completed.
At that point, if the stoppage was caused by a call to PrepareStop (or |
The driver's internal state machine. Begins in kAwaitingUsbConnection.
Defined at line 38 of file ../../src/developer/adb/drivers/usb-adb-function/adb-function.h
Records
-
class AdbFakeUsb -
class EventHandler -
class UsbAdbDevice -
class UsbAdbEnvironment -
class UsbAdbTest -
class UsbAdbTestConfig -
class UsbAdbTest_RecvAdbMessage_Class -
class UsbAdbTest_SendAdbMessage_Class -
class UsbAdbTest_StartAdbAfterUsbConnectionEstablished_Class -
class UsbAdbTest_StartStopStartStop_Class -
class UsbAdbTest_StartStop_Class -
class UsbAdbTest_StopBeforeUsbStartsUp_Class -
class UsbAdbTest_StopDriverWhileConnected_Class -
class UsbAdbTest_UsbStackRequestsStop_Class