IMultiDeviceRecovery

public interface IMultiDeviceRecovery

com.android.tradefed.device.IMultiDeviceRecovery


Interface for recovering multiple offline devices. There are some device recovery methods which can affect multiple devices (ex) restarting adb, resetting usb, ...). We can implement those recovery methods through this interface. Once the implementation is configured through global configuration, ERROR(/#recoverDevices(List)) will be called periodically from DeviceManager.

Summary

Public methods

abstract void recoverDevices( managedDevices)

Recovers offline devices on host.

default void setFastbootPath(String fastbootPath)

Sets the path to the fastboot binary to be used.

Public methods

recoverDevices

public abstract void recoverDevices ( managedDevices)

Recovers offline devices on host.

Parameters
managedDevices : a list of ITestDevices.

setFastbootPath

public void setFastbootPath (String fastbootPath)

Sets the path to the fastboot binary to be used.

Parameters
fastbootPath String