TestDeviceState
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
使用 `adb reboot fastboot` 时,fastbootd 模式的 is-userspace 为 true |
TestDeviceState |
NOT_AVAILABLE
|
TestDeviceState |
ONLINE
|
TestDeviceState |
RECOVERY
|
TestDeviceState |
SIDELOAD
|
公共方法 | |
---|---|
static
TestDeviceState
|
valueOf(String name)
|
static
final
TestDeviceState[]
|
values()
|
枚举值
fastbootd
public static final TestDeviceState FASTBOOTD
使用 `adb reboot fastboot` 时,fastbootd 模式的 is-userspace 为 true