DeviceRecoveryModeUtil

public class DeviceRecoveryModeUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.DeviceRecoveryModeUtil


Résumé

Constructeurs publics

DeviceRecoveryModeUtil()

Méthodes publiques

static void bootOutOfRecovery(IManagedTestDevice managedDevice, long timeoutMs, long bufferMs)

Redémarre un appareil en mode récupération dans l'OS principal.

static void bootOutOfRecovery(IManagedTestDevice device, long timeoutMs)

Redémarre un appareil en mode récupération dans l'OS principal.

Constructeurs publics

DeviceRecoveryModeUtil

public DeviceRecoveryModeUtil ()

Méthodes publiques

bootOutOfRecovery

public static void bootOutOfRecovery (IManagedTestDevice managedDevice, 
                long timeoutMs, 
                long bufferMs)

Redémarre un appareil en mode récupération dans l'OS principal. Vous pouvez éventuellement attendre le début de l'état RECOVERY, car il est possible qu'il ne soit pas immédiatement possible d'envoyer des commandes adb au début de la récupération.

Paramètres
managedDevice IManagedTestDevice: IManagedTestDevice à démarrer

timeoutMs long: temps d'attente pour que l'appareil passe en état de récupération

bufferMs long: nombre de millisecondes à attendre après que l'appareil est entré dans l'état de récupération.

Génère
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException

bootOutOfRecovery

public static void bootOutOfRecovery (IManagedTestDevice device, 
                long timeoutMs)

Redémarre un appareil en mode récupération dans l'OS principal.

Paramètres
device IManagedTestDevice: IManagedTestDevice à démarrer

timeoutMs long: temps d'attente pour que l'appareil passe en état de récupération

Génère
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException