2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
AdbStopServerPreparer
public
class
AdbStopServerPreparer
extends BaseTargetPreparer
adb テストの実行前後にホストで adb サーバーを停止するようにターゲット準備ツールを変更。
この準備ツールは、ホストで adb を停止して再起動するため、慎重に使用する必要があります。通常は、他のテストが同時に実行されないように、SemaphoreTokenTargetPreparer
と密接に関連付ける必要があります。
概要
フィールド
ADB_BINARY_KEY
public static final String ADB_BINARY_KEY
パブリック コンストラクタ
AdbStopServerPreparer
public AdbStopServerPreparer ()
パブリック メソッド
public void setUp (TestInformation testInfo)
パラメータ |
testInfo |
TestInformation |
public void tearDown (TestInformation testInfo,
Throwable e)
パラメータ |
testInfo |
TestInformation |
e |
Throwable |
保護されたメソッド
findAdbLog
protected File findAdbLog ()
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-26 UTC。"],[],[]]