DeviceAllocationState

public final enum DeviceAllocationState
extends Enum< DeviceAllocationState >

java.lang.Object
java.lang.Enum< com.android.tradefed.device.DeviceAllocationState >
com.android.tradefed.device.DeviceAllocationState


Stellt den Zuordnungsstatus des Geräts aus der IDeviceManager-Perspektive dar

Zusammenfassung

Enum-Werte

DeviceAllocationState Allocated

Gerät ist aktuell einem Test zugeordnet

DeviceAllocationState Available

Das Gerät steht für die Zuweisung zu einem Test zur Verfügung

DeviceAllocationState Checking_Availability

Das Gerät wird derzeit auf seine Reaktionsfähigkeit überprüft

DeviceAllocationState Ignored

Das Gerät entspricht nicht dem globalen Gerätefilter und wird von dieser TF ignoriert

DeviceAllocationState Unavailable

Das Gerät ist über ADB sichtbar, befindet sich jedoch in einem Fehlerzustand, der die Ausführung von Tests verhindert

DeviceAllocationState Unknown

der Ausgangszustand eines Gerätes – sollte hier nicht lange verweilen

Öffentliche Methoden

DeviceAllocationState handleDeviceEvent (DeviceEvent event)
static DeviceAllocationState valueOf (String name)
static final DeviceAllocationState[] values ()

Enum-Werte

Zugewiesen

public static final DeviceAllocationState Allocated

Gerät ist aktuell einem Test zugeordnet

Verfügbar

public static final DeviceAllocationState Available

Das Gerät steht für die Zuweisung zu einem Test zur Verfügung

Verfügbarkeit überprüfen

public static final DeviceAllocationState Checking_Availability

Das Gerät wird derzeit auf seine Reaktionsfähigkeit überprüft

Ignoriert

public static final DeviceAllocationState Ignored

Das Gerät entspricht nicht dem globalen Gerätefilter und wird von dieser TF ignoriert

Nicht verfügbar

public static final DeviceAllocationState Unavailable

Das Gerät ist über ADB sichtbar, befindet sich jedoch in einem Fehlerzustand, der die Ausführung von Tests verhindert

Unbekannt

public static final DeviceAllocationState Unknown

der Ausgangszustand eines Gerätes – sollte hier nicht lange verweilen

Öffentliche Methoden

handleDeviceEvent

public DeviceAllocationState handleDeviceEvent (DeviceEvent event)

Parameter
event DeviceEvent

Kehrt zurück
DeviceAllocationState

Wert von

public static DeviceAllocationState valueOf (String name)

Parameter
name String

Kehrt zurück
DeviceAllocationState

Werte

public static final DeviceAllocationState[] values ()

Kehrt zurück
DeviceAllocationState[]