DeviceAllocationState
public
final
enum
DeviceAllocationState
extends Enum<DeviceAllocationState>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.device.DeviceAllocationState> | |
↳ | com.android.tradefed.device.DeviceAllocationState |
Représente l'état d'allocation de l'appareil du point de vue d'IDeviceManager
Résumé
Valeurs enum | |
---|---|
DeviceAllocationState |
Allocated
L'appareil est actuellement attribué à un test. |
DeviceAllocationState |
Available
l'appareil peut être alloué à un test ; |
DeviceAllocationState |
Checking_Availability
L'appareil est actuellement en cours de vérification de la réactivité |
DeviceAllocationState |
Ignored
L'appareil ne correspond pas au filtre d'appareil global et sera ignoré par ce TF |
DeviceAllocationState |
Unavailable
L'appareil est visible via ADB, mais il est dans un état d'erreur qui l'empêche d'exécuter des tests. |
DeviceAllocationState |
Unknown
État initial d'un appareil. Ne doit pas y rester longtemps. |
Méthodes publiques | |
---|---|
DeviceAllocationState
|
handleDeviceEvent(DeviceEvent event)
|
static
DeviceAllocationState
|
valueOf(String name)
|
static
final
DeviceAllocationState[]
|
values()
|
Valeurs enum
Alloué
public static final DeviceAllocationState Allocated
l'appareil est actuellement attribué à un test ;
Disponible
public static final DeviceAllocationState Available
l'appareil peut être alloué à un test ;
Checking_Availability
public static final DeviceAllocationState Checking_Availability
L'appareil est actuellement en cours de vérification de la réactivité
Ignoré
public static final DeviceAllocationState Ignored
L'appareil ne correspond pas au filtre d'appareil global et sera ignoré par ce TF
Indisponible
public static final DeviceAllocationState Unavailable
L'appareil est visible via ADB, mais il est dans un état d'erreur qui l'empêche d'exécuter des tests
Inconnu
public static final DeviceAllocationState Unknown
État initial d'un appareil. Ne doit pas y rester longtemps
Méthodes publiques
handleDeviceEvent
public DeviceAllocationState handleDeviceEvent (DeviceEvent event)
Paramètres | |
---|---|
event |
DeviceEvent |
Renvoie | |
---|---|
DeviceAllocationState |
valueOf
public static DeviceAllocationState valueOf (String name)
Paramètres | |
---|---|
name |
String |
Renvoie | |
---|---|
DeviceAllocationState |