測試裝置狀態

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

Fastbootd Mode with is-userspace = true,但 `adb restart Quickboot`

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

Fastbootd Mode with is-userspace = true,但 `adb restart Quickboot`

無法提供

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