ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน 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 |"]]