2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main ではなく android-latest-release を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
StopServicesSetup
public
class
StopServicesSetup
extends BaseTargetPreparer
デバイスでサービスを停止する ITargetPreparer。
概要
パブリック コンストラクタ
StopServicesSetup
public StopServicesSetup ()
パブリック メソッド
addService
public void addService (String service)
サービスのリストにサービスを追加します。
setStopFramework
public void setStopFramework (boolean stopFramework)
フレームワークを停止するかどうかを指定します。
| パラメータ |
stopFramework |
boolean |
public void setUp (TestInformation testInfo)
| パラメータ |
testInfo |
TestInformation |
public void tearDown (TestInformation testInformation,
Throwable e)
| パラメータ |
testInformation |
TestInformation |
e |
Throwable |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 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-07-27 UTC。"],[],[]]