{i>TestDeviceState<i}
public
final
enum
TestDeviceState
extends Enum<TestDeviceState>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.device.TestDeviceState> | |
↳ | com.android.tradefed.device.TestDeviceState |
Representasi status perangkat yang lebih lengkap daripada DeviceState
.
Secara logis ini harus memperluas DeviceState
untuk hanya menambahkan FASTBOOT dan NOT_AVAILABLE
status, tetapi memperluas enum tidak diizinkan.
Ringkasan
Nilai enum | |
---|---|
TestDeviceState |
FASTBOOT
|
TestDeviceState |
FASTBOOTD
Mode fastbootd dengan is-userspace = true meskipun `adb reboot fastboot` |
TestDeviceState |
NOT_AVAILABLE
|
TestDeviceState |
ONLINE
|
TestDeviceState |
RECOVERY
|
TestDeviceState |
SIDELOAD
|
Metode publik | |
---|---|
static
TestDeviceState
|
valueOf(String name)
|
static
final
TestDeviceState[]
|
values()
|
Nilai enum
FASTBOOTD
public static final TestDeviceState FASTBOOTD
Mode fastbootd dengan is-userspace = true meskipun `adb reboot fastboot`
Metode publik
nilai
public static TestDeviceState valueOf (String name)
Parameter | |
---|---|
name |
String |
Hasil | |
---|---|
TestDeviceState |