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