Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

BatteryRechargeDeviceRecovery

public class BatteryRechargeDeviceRecovery
extends RunConfigDeviceRecovery

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


Allow to trigger a command when the battery level of the device goes under a given threshold.

Summary

Public constructors

BatteryRechargeDeviceRecovery()

Public methods

boolean shouldSkip(IManagedTestDevice device)

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

Public constructors

BatteryRechargeDeviceRecovery

public BatteryRechargeDeviceRecovery ()

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.