多設備恢復

public interface IMultiDeviceRecovery

com.android.tradefed.device.IMultiDeviceRecovery


用於恢復多個離線設備的介面。有一些裝置復原方法可能會影響多個裝置(例如,重新啟動 adb、重置 USB,...)。我們可以透過這個介面來實現那些恢復方法。透過全域設定配置實作後,將從DeviceManager定期呼叫ERROR(/#recoverDevices(List))

概括

公共方法

abstract void recoverDevices ( managedDevices) recoverDevices ( managedDevices)

恢復主機上的離線設備。

default void setFastbootPath (String fastbootPath)

設定要使用的 fastboot 二進位檔案的路徑。

公共方法

恢復設備

public abstract void recoverDevices ( managedDevices)

恢復主機上的離線設備。

參數
managedDevicesITestDevice列表。

設定快速啟動路徑

public void setFastbootPath (String fastbootPath)

設定要使用的 fastboot 二進位檔案的路徑。

參數
fastbootPath String