UsbResetRunConfigRecovery

public class UsbResetRunConfigRecovery
extends RunConfigDeviceRecovery

java.lang.Object
   ↳ com.android.tradefed.device.recovery.RunConfigDeviceRecovery
     ↳ com.android.tradefed.device.recovery.UsbResetRunConfigRecovery


Allow to trigger a command to reset the USB of a device

Summary

Public constructors

UsbResetRunConfigRecovery()

Public methods

boolean shouldSkip(IManagedTestDevice device)

Extra chance to skip the recovery on a given device by doing extra checks.

Public constructors

UsbResetRunConfigRecovery

public UsbResetRunConfigRecovery ()

Public methods

shouldSkip

public boolean shouldSkip (IManagedTestDevice device)

Extra chance to skip the recovery on a given device by doing extra checks.

Parameters
device IManagedTestDevice: The IManagedTestDevice considered for recovery.

Returns
boolean True if recovery should be skipped.