根管治疗工具
public class RootcanalUtils
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.RootcanalUtils |
设置虚拟蓝牙 HAL 并在完成后重启设备的 TestWatcher。
概括
嵌套类 | |
---|---|
class | RootcanalUtils.HciDevice 封装了一个虚拟 HCI 设备的类,可以通过 HCI 命令进行控制。 |
class | RootcanalUtils.RootcanalController
|
公共构造函数 | |
---|---|
RootcanalUtils (BaseHostJUnit4Test test) |
公共方法 | |
---|---|
RootcanalUtils.RootcanalController | enableRootcanal () 用当前设备上的 RootCanal HAL 替换现有的 HAL。 |
void | finished (Description d) |
公共构造函数
根管治疗工具
public RootcanalUtils (BaseHostJUnit4Test test)
参数 | |
---|---|
test | BaseHostJUnit4Test |
公共方法
启用根管
public RootcanalUtils.RootcanalController enableRootcanal ()
用当前设备上的 RootCanal HAL 替换现有的 HAL。
退货 | |
---|---|
RootcanalUtils.RootcanalController | RootcanalController 的一个实例 |
投掷 | |
---|---|
DeviceNotAvailableException | |
IOException | |
InterruptedException |
完成的
public void finished (Description d)
参数 | |
---|---|
d | Description |
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-18。
[{
"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":"其他"
}]