DeviceRecoveryModeUtil
public class DeviceRecoveryModeUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.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章
以恢复模式引导设备回到主操作系统。
投掷 |
---|
DeviceNotAvailableException | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]