TestDeviceState

public final enum TestDeviceState
extends Enum<TestDeviceState>

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


Eine umfassendere Darstellung des Gerätestatus als DeviceState.

Logisch gesehen sollte DeviceState nur um die Status FASTBOOT und NOT_AVAILABLE erweitert werden, aber das Erweitern von Enums ist nicht zulässig.

Zusammenfassung

Enum-Werte

TestDeviceState  FASTBOOT

 

TestDeviceState  FASTBOOTD

Fastbootd-Modus mit „is-userspace = true“ über „adb reboot fastboot“ 

TestDeviceState  NOT_AVAILABLE

 

TestDeviceState  ONLINE

 

TestDeviceState  RECOVERY

 

TestDeviceState  SIDELOAD

 

Öffentliche Methoden

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

Enum-Werte

FASTBOOT

public static final TestDeviceState FASTBOOT

FASTBOOTD

public static final TestDeviceState FASTBOOTD

Fastbootd-Modus mit „is-userspace = true“ über „adb reboot fastboot“

NOT_AVAILABLE

public static final TestDeviceState NOT_AVAILABLE

ONLINE

public static final TestDeviceState ONLINE

RECOVERY

public static final TestDeviceState RECOVERY

SEITENLADUNG

public static final TestDeviceState SIDELOAD

Öffentliche Methoden

valueOf

public static TestDeviceState valueOf (String name)

Parameter
name String

Returns
TestDeviceState

Werte

public static final TestDeviceState[] values ()

Returns
TestDeviceState[]