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 |
FASTBOOTD
使用 `adb reboot fastboot` 時,如果 is-userspace = true,則為 Fastbootd 模式 |
TestDeviceState |
NOT_AVAILABLE
|
TestDeviceState |
ONLINE
|
TestDeviceState |
RECOVERY
|
TestDeviceState |
SIDELOAD
|
公用方法 | |
---|---|
static
TestDeviceState
|
valueOf(String name)
|
static
final
TestDeviceState[]
|
values()
|
列舉值
FASTBOOTD
public static final TestDeviceState FASTBOOTD
透過 `adb reboot fastboot` 啟用 Fastboot 模式,並將 is-userspace 設為 true