測試裝置狀態
public
final
enum
TestDeviceState
extends Enum<TestDeviceState>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.device.TestDeviceState> | |
↳ | com.android.tradefed.device.TestDeviceState |
比 DeviceState
更完整的裝置狀態表示法。
理論上,這個項目應擴充 DeviceState
,以便只新增 FASTBOOT 和 NOT_AVAILABLE
,但不允許擴充列舉。
摘要
列舉值 | |
---|---|
TestDeviceState |
FASTBOOT
|
TestDeviceState |
FASTBOOTD
Fastbootd Mode with is-userspace = true,但 `adb restart Quickboot` |
TestDeviceState |
NOT_AVAILABLE
|
TestDeviceState |
ONLINE
|
TestDeviceState |
RECOVERY
|
TestDeviceState |
SIDELOAD
|
公用方法 | |
---|---|
static
TestDeviceState
|
valueOf(String name)
|
static
final
TestDeviceState[]
|
values()
|
列舉值
快速
public static final TestDeviceState FASTBOOTD
Fastbootd Mode with is-userspace = true,但 `adb restart Quickboot`