測試設備狀態

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[]