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 GlobalConfiguration, recoverDevices(List) will be called periodically from DeviceManager.

Summary

Public methods

abstract void recoverDevices(List<IManagedTestDevice> managedDevices)

Recovers offline devices on host.

default void setFastbootPath(String fastbootPath)

Sets the path to the fastboot binary to be used.

Public methods

recoverDevices

void recoverDevices (List<IManagedTestDevice> managedDevices)

Recovers offline devices on host.

Parameters
managedDevices List: a list of ITestDevices.

setFastbootPath

void setFastbootPath (String fastbootPath)

Sets the path to the fastboot binary to be used.

Parameters
fastbootPath String