RootcanalUtils
public class RootcanalUtils
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.RootcanalUtils |
仮想 bluetooth HAL をセットアップし、完了したらデバイスを再起動する TestWatcher。
概要
ネストされたクラス | |
---|---|
class | RootcanalUtils.HciDevice HCI コマンドで制御できる仮想 HCI デバイスをカプセル化するクラス。 |
class | RootcanalUtils.RootcanalController
|
パブリック コンストラクター | |
---|---|
RootcanalUtils (BaseHostJUnit4Test test) |
公開メソッド | |
---|---|
RootcanalUtils.RootcanalController | enableRootcanal () 現在のデバイスの既存の HAL を RootCanal HAL に置き換えます。 |
void | finished (Description d) |
パブリック コンストラクター
RootcanalUtils
public RootcanalUtils (BaseHostJUnit4Test test)
パラメーター | |
---|---|
test | BaseHostJUnit4Test |
公開メソッド
enableRootcanal
public RootcanalUtils.RootcanalController enableRootcanal ()
現在のデバイスの既存の HAL を RootCanal HAL に置き換えます。
戻り値 | |
---|---|
RootcanalUtils.RootcanalController | RootcanalController のインスタンス |
スロー | |
---|---|
DeviceNotAvailableException | |
IOException | |
InterruptedException |
終了した
public void finished (Description d)
パラメーター | |
---|---|
d | Description |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2022-11-18 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":"その他"
}]