État d’allocation de périphérique

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 du périphérique du point de vue IDeviceManager

Résumé

Valeurs d'énumération

DeviceAllocationState Allocated

l'appareil est actuellement affecté à un test

DeviceAllocationState Available

l'appareil est disponible pour être attribué à un test

DeviceAllocationState Checking_Availability

la réactivité de l'appareil est actuellement vérifiée

DeviceAllocationState Ignored

L'appareil ne correspond pas au filtre global de l'appareil et sera ignoré par ce TF

DeviceAllocationState Unavailable

le périphérique est visible via adb mais est dans un état d'erreur qui l'empêche d'exécuter des tests

DeviceAllocationState Unknown

l'état initial d'un appareil - ne devrait pas rester ici longtemps

Méthodes publiques

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

Valeurs d'énumération

Alloué

public static final DeviceAllocationState Allocated

l'appareil est actuellement affecté à un test

Disponible

public static final DeviceAllocationState Available

l'appareil est disponible pour être attribué à un test

Vérifier les disponibilités

public static final DeviceAllocationState Checking_Availability

la réactivité de l'appareil est actuellement vérifiée

Ignoré

public static final DeviceAllocationState Ignored

L'appareil ne correspond pas au filtre global de l'appareil et sera ignoré par ce TF

Indisponible

public static final DeviceAllocationState Unavailable

le périphérique est visible via adb mais est dans un état d'erreur qui l'empêche d'exécuter des tests

Inconnu

public static final DeviceAllocationState Unknown

l'état initial d'un appareil - ne devrait pas rester ici longtemps

Méthodes publiques

handleDeviceEvent

public DeviceAllocationState handleDeviceEvent (DeviceEvent event)

Paramètres
event DeviceEvent

Retour
DeviceAllocationState

valeur de

public static DeviceAllocationState valueOf (String name)

Paramètres
name String

Retour
DeviceAllocationState

valeurs

public static final DeviceAllocationState[] values ()

Retour
DeviceAllocationState[]