TestDeviceState

public final enum TestDeviceState
extends Enum<TestDeviceState>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.device.TestDeviceState>
     ↳ com.android.tradefed.device.TestDeviceState


Es una representación del estado del dispositivo más completa que DeviceState.

Lógicamente, esto debería extender DeviceState para agregar solo los estados FASTBOOT y NOT_AVAILABLE, pero no se permite extender enums.

Resumen

Enum. de valores

TestDeviceState  FASTBOOT

 

TestDeviceState  FASTBOOTD

Modo fastbootd con is-userspace = true a través de "adb reboot fastboot" 

TestDeviceState  NOT_AVAILABLE

 

TestDeviceState  ONLINE

 

TestDeviceState  RECOVERY

 

TestDeviceState  SIDELOAD

 

Métodos públicos

static TestDeviceState valueOf(String name)
static final TestDeviceState[] values()

Enum. de valores

FASTBOOT

public static final TestDeviceState FASTBOOT

FASTBOOTD

public static final TestDeviceState FASTBOOTD

Modo fastbootd con is-userspace = true a través de "adb reboot fastboot"

NOT_AVAILABLE

public static final TestDeviceState NOT_AVAILABLE

EN LÍNEA

public static final TestDeviceState ONLINE

RECUPERACIÓN

public static final TestDeviceState RECOVERY

TRANSFERENCIA LATERAL

public static final TestDeviceState SIDELOAD

Métodos públicos

valueOf

public static TestDeviceState valueOf (String name)

Parámetros
name String

Muestra
TestDeviceState

valores

public static final TestDeviceState[] values ()

Muestra
TestDeviceState[]