DeviceRecoveryModeUtil

public class DeviceRecoveryModeUtil
extends Object

java.lang.Object
com.android.tradefed.util.DeviceRecoveryModeUtil


概括

公共建设者

DeviceRecoveryModeUtil ()

公开方法

static void bootOutOfRecovery (IManagedTestDevice managedDevice, long timeoutMs, long bufferMs)

以恢复模式引导设备回到主操作系统。

static void bootOutOfRecovery (IManagedTestDevice device, long timeoutMs)

以恢复模式引导设备回到主操作系统。

公共建设者

DeviceRecoveryModeUtil

public DeviceRecoveryModeUtil ()

公开方法

bootOutOfRecovery

public static void bootOutOfRecovery (IManagedTestDevice managedDevice, 
                long timeoutMs, 
                long bufferMs)

以恢复模式引导设备回到主操作系统。可以选择在RECOVERY状态开始后等待,因为恢复开始时可能无法立即发送adb命令。

参数
managedDevice IManagedTestDevice :要启动的IManagedTestDevice

timeoutMs long :等待设备处于恢复状态的时间

bufferMs long :设备进入恢复状态后要等待的毫秒数

投掷
DeviceNotAvailableException

bootOutOfRecovery

第058章

以恢复模式引导设备回到主操作系统。

参数
device IManagedTestDevice :要启动的IManagedTestDevice

timeoutMs long :等待设备处于恢复状态的时间

投掷
DeviceNotAvailableException