Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

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 NOT_AVAILABLE

TestDeviceState ONLINE

TestDeviceState RECOVERY

公开方法

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

枚举值

快速启动

public static final TestDeviceState FASTBOOT

无法使用

public static final TestDeviceState NOT_AVAILABLE

线上

public static final TestDeviceState ONLINE

复苏

public static final TestDeviceState RECOVERY

公开方法

的价值

public static TestDeviceState valueOf (String name)

参量
name String

退货
TestDeviceState

价值观

public static final TestDeviceState[] values ()

退货
TestDeviceState[]