测试设备状态

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 restart fastboot”,但 is-userspace = true 的 Fastbootd 模式

TestDeviceState NOT_AVAILABLE

TestDeviceState ONLINE

TestDeviceState RECOVERY

TestDeviceState SIDELOAD

公共方法

static TestDeviceState valueOf (String name)
static final TestDeviceState[] values ()

枚举值

快速启动

public static final TestDeviceState FASTBOOT

快速启动

public static final TestDeviceState FASTBOOTD

尽管“adb restart fastboot”,但 is-userspace = true 的 Fastbootd 模式

无法使用

public static final TestDeviceState NOT_AVAILABLE

在线的

public static final TestDeviceState ONLINE

恢复

public static final TestDeviceState RECOVERY

侧载

public static final TestDeviceState SIDELOAD

公共方法

的价值

public static TestDeviceState valueOf (String name)

参数
name String

退货
TestDeviceState

价值观

public static final TestDeviceState[] values ()

退货
TestDeviceState[]