根管治療工具
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 和/或其關係企業的商標或註冊商標。
上次更新時間: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":"其他"
}]