2026 年より、トランク安定版開発モデルに沿ってエコシステムのプラットフォームの安定性を確保するため、第 2 四半期と第 4 四半期に AOSP にソースコードを公開します。AOSP のビルドとコントリビューションには、aosp-main ではなく android-latest-release を使用することをおすすめします。android-latest-release マニフェスト ブランチは、常に AOSP にプッシュされた最新のリリースを参照します。詳細については、AOSP の変更点をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ParentSandboxInvocationExecution
public
class
ParentSandboxInvocationExecution
extends InvocationExecution
サンドボックスの実行時に親呼び出しの特別なアクション用の InvocationExecution のバージョン。
概要
パブリック メソッド |
void
|
doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception)
target_preparer と multi_target_preparer のクリーンアップ ステップを実行します。
|
void
|
doSetup(TestInformation testInfo, IConfiguration config, ITestLogger listener)
target_preparer と multi_target_preparer の setUp ステップを実行します。
|
void
|
doTeardown(TestInformation testInfo, IConfiguration config, ITestLogger logger, Throwable exception)
target_preparer と multi_target_preparer の削除ステップを実行します。
|
boolean
|
fetchBuild(TestInformation testInfo, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener listener)
呼び出しの build_provider ステップを実行します。
|
void
|
reportLogs(ITestDevice device, ITestLogger logger, TestInvocation.Stage stage)
呼び出しのさまざまな段階でデバイスログの一部を報告します。
|
void
|
runDevicePostInvocationTearDown(IInvocationContext context, IConfiguration config, Throwable exception)
呼び出しの各デバイス部分に対して ITestDevice.postInvocationTearDown(Throwable) を呼び出します。
|
void
|
runDevicePreInvocationSetup(IInvocationContext context, IConfiguration config, ITestLogger logger)
呼び出しの各デバイス部分に対して ERROR(ITestDevice.preInvocationSetup(IBuildInfo)/com.android.tradefed.device.ITestDevice#preInvocationSetup(com.android.tradefed.build.IBuildInfo) ITestDevice.preInvocationSetup(IBuildInfo)) を呼び出します。
|
void
|
runTests(TestInformation info, IConfiguration config, ITestInvocationListener listener)
テストを実行します。
|
パブリック コンストラクタ
ParentSandboxInvocationExecution
public ParentSandboxInvocationExecution ()
パブリック メソッド
doCleanUp
public void doCleanUp (IInvocationContext context,
IConfiguration config,
Throwable exception)
target_preparer と multi_target_preparer のクリーンアップ ステップを実行します。デバイスがクリーンアップされます。
reportLogs
public void reportLogs (ITestDevice device,
ITestLogger logger,
TestInvocation.Stage stage)
呼び出しのさまざまな段階でデバイスログの一部を報告します。例: logcat。
| パラメータ |
device |
ITestDevice: ログを報告するデバイス。 |
logger |
ITestLogger: ログのロガー。 |
stage |
TestInvocation.Stage: 呼び出しの進行状況。 |
保護されたメソッド
getLabPreparersToRun
protected getLabPreparersToRun (IConfiguration config,
String deviceName)
このデバイスで実行するラボ準備ツールのリストを取得します。
サンドボックス クラスでオーバーライドされ、ラボ準備ツールがサンドボックスの子内で実行されないように制限
| パラメータ |
config |
IConfiguration |
deviceName |
String |
getRunUtil
protected IRunUtil getRunUtil ()
getTargetPreparersToRun
protected getTargetPreparersToRun (IConfiguration config,
String deviceName)
このデバイスで実行するターゲット準備ツールのリストを取得します。
サンドボックス クラスでオーバーライドされ、ラボ準備ツールがサンドボックスの子内で実行されないように制限
| パラメータ |
config |
IConfiguration |
deviceName |
String |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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。"],[],[]]