根管實用程式
public class RootcanalUtils
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.RootcanalUtils |
TestWatcher 設定虛擬藍牙 HAL 並在完成後重新啟動裝置。
概括
嵌套類 | ||
---|---|---|
class | RootcanalUtils.HciDevice 封裝可由 HCI 指令控制的虛擬 HCI 設備的類別。 | |
class | RootcanalUtils.RootcanalController
|
公共構造函數 | |
---|---|
RootcanalUtils (BaseHostJUnit4Test test) |
公共方法 | |
---|---|
RootcanalUtils.RootcanalController | enableRootcanal () 將目前裝置上的現有 HAL 替換為 RootCanal HAL。 |
void | finished (Description d) |
公共構造函數
根管實用程式
public RootcanalUtils (BaseHostJUnit4Test test)
參數 | |
---|---|
test | BaseHostJUnit4Test |
公共方法
啟用根管治療
public RootcanalUtils.RootcanalController enableRootcanal ()
將目前裝置上的現有 HAL 替換為 RootCanal HAL。
退貨 | |
---|---|
RootcanalUtils.RootcanalController | RootcanalController 的一個實例 |
投擲 | |
---|---|
DeviceNotAvailableException | |
IOException | |
InterruptedException |
完成的
public void finished (Description d)
參數 | |
---|---|
d | Description |
根管實用程式
public class RootcanalUtils
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.RootcanalUtils |
TestWatcher 設定虛擬藍牙 HAL 並在完成後重新啟動裝置。
概括
嵌套類 | |
---|---|
class | RootcanalUtils.HciDevice 封裝可由 HCI 指令控制的虛擬 HCI 設備的類別。 |
class | RootcanalUtils.RootcanalController
|
公共構造函數 | |
---|---|
RootcanalUtils (BaseHostJUnit4Test test) |
公共方法 | |
---|---|
RootcanalUtils.RootcanalController | enableRootcanal () 將目前裝置上的現有 HAL 替換為 RootCanal HAL。 |
void | finished (Description d) |
公共構造函數
根管實用程式
public RootcanalUtils (BaseHostJUnit4Test test)
參數 | |
---|---|
test | BaseHostJUnit4Test |
公共方法
啟用根管治療
public RootcanalUtils.RootcanalController enableRootcanal ()
將目前裝置上的現有 HAL 替換為 RootCanal HAL。
退貨 | |
---|---|
RootcanalUtils.RootcanalController | RootcanalController 的一個實例 |
投擲 | |
---|---|
DeviceNotAvailableException | |
IOException | |
InterruptedException |
完成的
public void finished (Description d)
參數 | |
---|---|
d | Description |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[{
"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":"其他"
}]