TestDeviceState

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, hal ini akan memperluas DeviceState untuk hanya menambahkan status FASTBOOT dan NOT_AVAILABLE, 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

FASTBOOT

public static final TestDeviceState FASTBOOT

FASTBOOTD

public static final TestDeviceState FASTBOOTD

Mode fastbootd dengan is-userspace = true melalui `adb reboot fastboot`

NOT_AVAILABLE

public static final TestDeviceState NOT_AVAILABLE

ONLINE

public static final TestDeviceState ONLINE

PEMULIHAN

public static final TestDeviceState RECOVERY

SIDELOAD

public static final TestDeviceState SIDELOAD

Metode publik

valueOf

public static TestDeviceState valueOf (String name)

Parameter
name String

Hasil
TestDeviceState

nilai

public static final TestDeviceState[] values ()

Hasil
TestDeviceState[]