BatteryUnavailableDeviceRecovery
public
class
BatteryUnavailableDeviceRecovery
extends RunConfigDeviceRecovery
java.lang.Object | ||
↳ | com.android.tradefed.device.recovery.RunConfigDeviceRecovery | |
↳ | com.android.tradefed.device.recovery.BatteryUnavailableDeviceRecovery |
Recovery checker that will trigger a configuration if the battery level is not available.
Summary
Public constructors | |
---|---|
BatteryUnavailableDeviceRecovery()
|
Public methods | |
---|---|
boolean
|
shouldSkip(IManagedTestDevice device)
Extra chance to skip the recovery on a given device by doing extra checks. |
Public constructors
BatteryUnavailableDeviceRecovery
public BatteryUnavailableDeviceRecovery ()
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. |