DeviceBatteryLevelChecker
public class DeviceBatteryLevelChecker
extends Object
implements IRemoteTest
java.lang.Object |
↳ | com.android.tradefed.testtype.DeviceBatteryLevelChecker |
IRemoteTest
,用于检查最小电池电量,如果不存在最小电量,则等待电池达到第二个充电阈值。
概括
公开方法 |
---|
void | run (TestInformation testInfo, ITestInvocationListener listener) |
公共建设者
DeviceBatteryLevelChecker
public DeviceBatteryLevelChecker ()
公开方法
public void run (TestInformation testInfo,
ITestInvocationListener listener)
参数 |
---|
testInfo | TestInformation |
listener | ITestInvocationListener |
投掷 |
---|
DeviceNotAvailableException | |
受保护的方法
setResumeLevel
protected void setResumeLevel (int level)
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":"其他"
}]