TestDeviceState

public final enum TestDeviceState
extends Enum<TestDeviceState>

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


Uma representação mais completa do estado do dispositivo do que DeviceState.

Logicamente, isso deveria estender DeviceState para adicionar apenas os estados FASTBOOT e NOT_AVAILABLE, mas a extensão de enumerações não é permitida.

Resumo

Valores de enumeração

TestDeviceState  FASTBOOT

 

TestDeviceState  FASTBOOTD

Modo fastbootd com is-userspace = true, embora `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()

Valores de enumeração

FASTBOOT

public static final TestDeviceState FASTBOOT

FASTBOOTD

public static final TestDeviceState FASTBOOTD

Modo fastbootd com is-userspace = true, embora `adb reboot fastboot`

NOT_AVAILABLE

public static final TestDeviceState NOT_AVAILABLE

ON-LINE

public static final TestDeviceState ONLINE

RECOVERY

public static final TestDeviceState RECOVERY

SIDELOAD

public static final TestDeviceState SIDELOAD

Métodos públicos

valueOf

public static TestDeviceState valueOf (String name)

Parâmetros
name String

Retorna
TestDeviceState

valores

public static final TestDeviceState[] values ()

Retorna
TestDeviceState[]