2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ITestsPool
public
interface
ITestsPool
com.android.tradefed.invoker.shard.ITestsPool
|
アクセスして実行できるテストのプールを記述するインターフェース
概要
パブリック メソッド
public abstract IRemoteTest poll (TestInformation info,
boolean reportNotExecuted)
実行する次のテストをポーリングします。
パラメータ |
info |
TestInformation |
reportNotExecuted |
boolean |
pollRejectedTokenModule
public abstract ITokenRequest pollRejectedTokenModule ()
すべてのデバイスで実行が拒否されたテストのリストを返します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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。"],[],[],null,["# ITestsPool\n==========\n\n\n`\npublic\n\n\ninterface\nITestsPool\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------|\n| com.android.tradefed.invoker.shard.ITestsPool |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [LocalPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/LocalPool.html), [RemoteDynamicPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/RemoteDynamicPool.html) |------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------| | [LocalPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/LocalPool.html) | Implementation of a pool of local tests | | [RemoteDynamicPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/RemoteDynamicPool.html) | Implementation of a pool of remote work queued tests | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface describing a pool of tests that we can access and run\n\nSummary\n-------\n\n| ### Public methods ||\n|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[IRemoteTest](../../../../../../../reference/tradefed/com/android/tradefed/testtype/IRemoteTest.html) | ` `[poll](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/ITestsPool.html#poll(com.android.tradefed.invoker.TestInformation,%20boolean))`(`[TestInformation](../../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html)` info, boolean reportNotExecuted) ` Poll the next test to be executed. |\n| ` abstract `[ITokenRequest](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/token/ITokenRequest.html) | ` `[pollRejectedTokenModule](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/ITestsPool.html#pollRejectedTokenModule())`() ` Returns the list of test that was rejected to run on all devices. |\n\nPublic methods\n--------------\n\n### poll\n\n```\npublic abstract IRemoteTest poll (TestInformation info, \n boolean reportNotExecuted)\n```\n\nPoll the next test to be executed.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------------|--------------------------|\n| `info` | `TestInformation` \u003cbr /\u003e |\n| `reportNotExecuted` | `boolean` \u003cbr /\u003e |\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------|--------|\n| [IRemoteTest](../../../../../../../reference/tradefed/com/android/tradefed/testtype/IRemoteTest.html) | \u003cbr /\u003e |\n\n### pollRejectedTokenModule\n\n```\npublic abstract ITokenRequest pollRejectedTokenModule ()\n```\n\nReturns the list of test that was rejected to run on all devices.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------------------------------------------------------------------------------------------------------------------|--------|\n| [ITokenRequest](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/token/ITokenRequest.html) | \u003cbr /\u003e |"]]