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 Gerät steht für die Zuordnung zu einem Test zur Verfügung |
DeviceAllocationState | Checking_Availability Das Gerät wird derzeit auf Reaktionsfähigkeit überprüft |
DeviceAllocationState | Ignored Das Gerät stimmt nicht mit dem globalen Gerätefilter überein und wird von diesem 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
Zugeteilt
public static final DeviceAllocationState Allocated
Gerät ist aktuell einem Test zugeordnet
Verfügbar
public static final DeviceAllocationState Available
Gerät steht für die Zuordnung zu einem Test zur Verfügung
Verfügbarkeit überprüfen
public static final DeviceAllocationState Checking_Availability
Das Gerät wird derzeit auf Reaktionsfähigkeit überprüft
Ignoriert
public static final DeviceAllocationState Ignored
Das Gerät stimmt nicht mit dem globalen Gerätefilter überein und wird von diesem 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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.