ดัชนีชั้นเรียน

นี่คือคลาส API ดู แพ็คเกจ API ทั้งหมด

AaptParser คลาสที่แยกข้อมูลจาก apk โดยแยกวิเคราะห์ผลลัพธ์ของ 'aapt dump badgeg'
AaptParser.AaptVersion จำนวนตัวเลือกสำหรับเวอร์ชัน AAPT ที่ใช้ในการแยกวิเคราะห์ไฟล์ APK
อาบี คลาสที่เป็นตัวแทนของ ABI
เอบีฟอร์แมต คลาสยูทิลิตี้สำหรับ abi
เอบียูทิลส์ คลาสยูทิลิตี้สำหรับจัดการ ABI ของอุปกรณ์
นามธรรม การเชื่อมต่อ การแสดงการเชื่อมต่อแบบย่อๆ
AbstractHostMonitor คลาสทั่วไปสำหรับการตรวจสอบสุขภาพโฮสต์
AbstractXmlParser คลาสพื้นฐานตัวช่วยสำหรับการแยกวิเคราะห์ไฟล์ xml
AbstractXmlParser.ParseException โยนทิ้งหากไม่สามารถแยกวิเคราะห์อินพุต XML ได้
AcloudConfigParser คลาสตัวช่วยที่แยกวิเคราะห์การกำหนดค่า Acloud (ใช้เพื่อเริ่มต้นอินสแตนซ์ของอุปกรณ์คลาวด์)
AcloudConfigParser.AcloudKeys ชุดคีย์ที่สามารถค้นหาได้จากการกำหนดค่า
กำลังดำเนินการ การดำเนินการทั่วไปที่กำลังดำเนินการอยู่
แอคทีฟเทรซ คลาสหลักช่วยอธิบายและจัดการการติดตามที่ใช้งานอยู่
ตัวตรวจสอบสถานะกิจกรรม ตัวตรวจสอบสถานะสำหรับกิจกรรมที่เหลือที่ทำงานเมื่อสิ้นสุดโมดูล
AdbRootElevator AutoCloseable ที่เปิดใช้งานราก adb เมื่อสร้างหากจำเป็นและคืนค่าสถานะรากเมื่อเสร็จสมบูรณ์
การเชื่อมต่อ AdbSsh การเชื่อมต่อ Adb ผ่านสะพาน ssh
AdbStop ServerPreparer ผู้จัดเตรียมเป้าหมายเพื่อหยุดเซิร์ฟเวอร์ adb บนโฮสต์ก่อนและหลังการทดสอบ adb
การเชื่อมต่อ AdbTcp การแสดงการเชื่อมต่อเริ่มต้นของอุปกรณ์ ซึ่งถือว่าเป็นการเชื่อมต่อ adb มาตรฐานของอุปกรณ์
AdbUtils คลาสยูทิลิตี้สำหรับการดำเนินการ adb
AfterClassWithInfo การรับประกันที่คล้ายกันกับ AfterClass แต่เมธอดที่มีคำอธิบายประกอบจะต้องใช้พารามิเตอร์ TestInformation
AggregatePostProcessor ตัวรวบรวมเมตริกที่ให้ค่าต่ำสุด สูงสุด ค่าเฉลี่ย ความแปรปรวน ค่าเบี่ยงเบนมาตรฐาน ผลรวม จำนวน และเปอร์เซ็นต์ไทล์ที่เลือกได้สำหรับเมตริกตัวเลขที่รวบรวมระหว่างการทดสอบการวนซ้ำหลายครั้ง โดยถือว่าเป็นสองเท่า
AllTestAppsInstallSetup ITargetPreparer ที่ติดตั้งแอปทั้งหมดจากโฟลเดอร์ IDeviceBuildInfo#getTestsDir() ลงในอุปกรณ์
AltDirBehavior enum เพื่อกำหนดลักษณะการทำงานของไดเร็กทอรีทางเลือกสำหรับตัวติดตั้ง/ตัวพุชของวัตถุทดสอบต่างๆ

AndroidJUnitTest การทดสอบที่เรียกใช้แพ็คเกจการทดสอบเครื่องมือวัดบนอุปกรณ์ที่กำหนดโดยใช้ android.support.test.runner.AndroidJUnitRunner
AoaTargetPreparer ITargetPreparer ที่ดำเนินการชุดของการกระทำ (เช่น การคลิกและการกวาดนิ้ว) โดยใช้โปรโตคอล Android Open Accessory (AOAv2)
AppBuildInfo IBuildInfo ที่แสดงถึงแอปพลิเคชัน Android และแพ็คเกจทดสอบ
AppDeviceBuildInfo ชั้นนี้เลิกใช้แล้ว ใช้ IDeviceBuildInfo โดยตรง
การตั้งค่าแอพ ITargetPreparer ที่ติดตั้ง apk และการทดสอบ
AppVersionFetcher คลาสยูทิลิตี้เพื่อรับสตริงเวอร์ชันแอปจากอุปกรณ์
AppVersionFetcher.AppVersionInfo ประเภทข้อมูลเวอร์ชันของแอป
ArchModuleController ตัวควบคุมโมดูลจะไม่เรียกใช้การทดสอบเมื่อไม่ตรงกับสถาปัตยกรรมที่กำหนด
ArgsOption Parser เติมฟิลด์ Option จากอาร์กิวเมนต์บรรทัดคำสั่งที่แยกวิเคราะห์
ArrayUtil วิธีการยูทิลิตี้สำหรับอาร์เรย์
ArtChrootPreparer สร้างไดเร็กทอรี chroot สำหรับการทดสอบ ART
ArtGTest
การทดสอบ Art Run นักวิ่งทดสอบเพื่อเรียกใช้การทดสอบการวิ่งของ ART
ArtRunTest.AdbShellCommandException คลาสข้อยกเว้นเพื่อรายงานข้อผิดพลาดที่เกิดขึ้นระหว่างการดำเนินการของคำสั่งเชลล์ ADB
ATestFileSystemLogSaver คลาส LogSaver นี้ใช้โดย ATest เพื่อบันทึกบันทึกในเส้นทางเฉพาะ
เอเทสรันเนอร์ การใช้งาน ITestSuite
AtraceCollector IMetricCollector ที่เรียกใช้ atrace ระหว่างการทดสอบและรวบรวมผลลัพธ์และบันทึกไปยังการเรียกใช้
AtraceRunMetricCollector รวบรวมการติดตามจากไดเร็กทอรีทดสอบทั้งหมดภายใต้ไดเร็กทอรีที่กำหนดจากอุปกรณ์ทดสอบ บันทึกไดเร็กทอรีทดสอบและประมวลผลไฟล์การติดตามภายหลังภายใต้ไดเร็กทอรีทดสอบและรวมเมตริก
ตัวรวบรวมบันทึกอัตโนมัติ การแจงนับที่อธิบายว่าตัวสะสมใดที่สามารถจัดการได้โดยอัตโนมัติโดยบังเหียน
ผู้สื่อข่าวอัตโนมัติ คลาสที่กำหนดการแมปจาก Tradefed automated Reporters
โปรเซสเซอร์โพสต์เฉลี่ย การดำเนินการของโพสต์โปรเซสเซอร์ที่คำนวณค่าเฉลี่ยของรายการเมตริก

พื้นหลังอุปกรณ์การดำเนินการ เรียกใช้คำสั่งบนอุปกรณ์ที่กำหนดซ้ำตามความจำเป็นจนกว่าการดำเนินการจะถูกยกเลิก
BaseDeviceMetricCollector การใช้งานพื้นฐานของ IMetricCollector ที่อนุญาตให้เริ่มและหยุดการรวบรวมบน onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) และ ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map))
BaseEmulatorPreparer ตัวเตรียมทั่วไปสำหรับการเรียกใช้โปรแกรมจำลองในเครื่อง
การทดสอบ BaseHostJUnit4 คลาสการทดสอบพื้นฐานสำหรับการเรียกใช้การทดสอบสไตล์โฮสต์ JUnit4
BaseLeveledLogOutput การใช้งานพื้นฐานสำหรับ ILeveledLogOutput ที่อนุญาตให้กรองบางแท็กตามชื่อหรือส่วนประกอบ
ตัวควบคุมโมดูลฐาน การใช้งานพื้นฐานของ IModuleController ที่ควรนำไปใช้เพื่อตรวจสอบว่าโมดูลควรทำงานหรือไม่
BaseMultiTargetPreparer การใช้งานพื้นฐานของ IMultiTargetPreparer ที่อนุญาตให้ปิดการใช้งานวัตถุ
โปรเซสเซอร์ BasePost IPostProcessor พื้นฐานที่ทุกการใช้งานควรขยาย
BaseRetryการตัดสินใจ การใช้งานพื้นฐานของ IRetryDecision
BaseStreamLogger <OS ขยาย OutputStream> ILeveledLogOutput ที่นำข้อความบันทึกไปยังสตรีมเอาต์พุตและไปยัง stdout
BaseTargetPreparer คลาสการใช้งานพื้นฐานสำหรับ ITargetPreparer ที่อนุญาตให้ควบคุมว่าวัตถุถูกปิดใช้งานหรือไม่
BaseTestSuite การทดสอบการใช้งานชุดทดสอบความเข้ากันได้กับระบบชุดใหม่
ตัวควบคุมแบตเตอรี่ คลาสยูทิลิตี้ที่อนุญาตให้ควบคุมสถานะการชาร์จแบตเตอรี่ของอุปกรณ์
การกู้คืนอุปกรณ์การชาร์จแบตเตอรี่ อนุญาตให้เรียกใช้คำสั่งเมื่อระดับแบตเตอรี่ของอุปกรณ์ต่ำกว่าเกณฑ์ที่กำหนด
อุณหภูมิแบตเตอรี่
การกู้คืนอุปกรณ์ไม่พร้อมใช้งานแบตเตอรี่ ตัวตรวจสอบการกู้คืนที่จะทริกเกอร์การกำหนดค่าหากไม่มีระดับแบตเตอรี่
ก่อนเรียนด้วยข้อมูล การรับประกันที่คล้ายกันกับ BeforeClass แต่เมธอดที่มีคำอธิบายประกอบจะต้องใช้พารามิเตอร์ TestInformation
สถานะไบนารี Enum ใช้เพื่อบันทึกสถานะเปิด/ปิดด้วยสถานะ IGNORE no-op
BluetoothConnectionLatencyCollector ตัวรวบรวมจะส่งการกำหนดค่าเมตริกระยะเวลา statsd ที่กำหนดไว้ล่วงหน้าไปยังอุปกรณ์และรวบรวมระยะเวลาการเชื่อมต่อ Bluetooth สำหรับแต่ละโปรไฟล์
BluetoothConnectionStateCollector ตัวรวบรวมนี้จะรวบรวมเมตริก BluetoothConnectionStateChanged และบันทึกหมายเลขสถานะการเชื่อมต่อสำหรับแต่ละโปรไฟล์
BluetoothConnectionSuccessRatePostProcessor การใช้งานตัวประมวลผลภายหลังซึ่งคำนวณอัตราความสำเร็จสำหรับโปรไฟล์บลูทูธ

ใช้ "การจับคู่คีย์เมตริก" เพื่อระบุเมตริกที่มีสถานะการเชื่อมต่อบลูทูธในอาร์เรย์ตัวเลข ตัวอย่าง [0, 1, 2, 3, 0, 1, 2, 3]

BluetoothHciSnoopLogCollector Collector เพื่อเปิดใช้งานการบันทึกการสอดแนม Bluetooth HCI บน DUT และเพื่อรวบรวมบันทึกสำหรับการทดสอบแต่ละครั้ง
BluetoothUtils ฟังก์ชันยูทิลิตี้สำหรับการโทร BluetoothInstrumentation บนอุปกรณ์

รหัส BluetoothInstrumentation ด้านอุปกรณ์สามารถพบได้ใน AOSP ที่: frameworks/base/core/tests/bluetoothtests

BootstrapBuildProvider IDeviceBuildProvider ที่บูตข้อมูลการสร้างจากอุปกรณ์ทดสอบ

โดยทั่วไปจะใช้สำหรับอุปกรณ์ที่มีโครงสร้างภายนอก เช่น

BootstrapServiceFileResolverLoader โหลดตัวแก้ไขโดยใช้สิ่งอำนวยความสะดวกในการโหลดบริการ
รายงานข้อบกพร่อง วัตถุที่เก็บการอ้างอิงไฟล์ bugreport เข้ากันได้กับรายงานข้อผิดพลาดแบบแบนและรายงานข้อผิดพลาดแบบซิป (bugreportz)
Bugreport Collector ITestInvocationListener แบบพาสทรูที่รวบรวมรายงานจุดบกพร่องเมื่อเหตุการณ์ที่กำหนดค่าได้เกิดขึ้น จากนั้นเรียก ITestInvocationListener#testLog บนรายการย่อยหลังจากรวบรวมรายงานจุดบกพร่องแต่ละรายการ
Bugreport Collector.Filter
Bugreport Collector.Freq
Bugreport Collector.คำนาม
Bugreport Collector.Predicate เพรดิเคตแบบเต็มที่อธิบายว่าควรบันทึกรายงานจุดบกพร่องเมื่อใด
Bugreport Collector.Relation
BugreportCollector.SubPredicate
BugreportzOnFailureCollector รวบรวมรายงานข้อบกพร่องเมื่อกรณีทดสอบล้มเหลว
BugreportzOnTestCaseFailureCollector รวบรวมรายงานข้อบกพร่องเมื่อกรณีทดสอบในการเรียกใช้ล้มเหลว
สร้างข้อผิดพลาด โยนทิ้งหากบิลด์ที่ให้มาไม่สามารถรันได้
สร้างข้อมูล การใช้งานทั่วไปของ IBuildInfo ที่ควรเชื่อมโยงกับ ITestDevice
BuildInfoKey การแจงนับการถือครองคลาสที่เกี่ยวข้องกับคิวรีข้อมูลบิลด์
BuildInfoKey.BuildInfoFileKey Enum อธิบายประเภทไฟล์ที่รู้จักทั้งหมดที่สามารถสอบถามผ่าน IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey)
BuildInfoRecorder ITargetPreparer ที่เขียนข้อมูล meta data ของ build ลงในไฟล์ที่ระบุ
BuildInfoUtil คลาส util เพื่อช่วยจัดการ IBuildInfo
BuildRetrievalError เกิดข้อผิดพลาดร้ายแรงขณะเรียกข้อมูลบิลด์สำหรับการทดสอบ
BuildSerializedVersion คลาสที่มีเวอร์ชันการทำให้เป็นอนุกรมปัจจุบันของ IBuildInfo ทั้งหมด
BuildTestsZipUtils คลาสตัวช่วยสำหรับการดำเนินการที่เกี่ยวข้องกับการทดสอบ zip ที่สร้างโดยระบบบิลด์ Android
อีเมลขยะ ยูทิลิตีผู้ส่งอีเมลที่อนุญาตให้กำหนดค่าต่อไปนี้: ช่วงเวลาที่ส่ง ขนาดเริ่มต้น ผู้รับ และจำนวนข้อความทั้งหมด
BundletoolUtil คลาสยูทิลิตี้ที่ใช้บรรทัดคำสั่ง bundletool เพื่อติดตั้ง .apks บนอุปกรณ์
ByteArrayInputStreamSource
ByteArrayList คลาสเพื่อแสดงอาร์เรย์ไบต์ที่มีน้ำหนักเบา
ByteArrayUtil โปรแกรมอรรถประโยชน์เพื่อใช้งานกับ byte array เช่น แปลง bytes เป็นจำนวนเต็ม

ตัวควบคุมโมดูลรถยนต์ ตัวควบคุมนี้ป้องกันการดำเนินการกรณีทดสอบบนอุปกรณ์ที่ไม่ใช่ยานยนต์
CarryDnaeError RuntimeException ภายในเพื่อนำ DeviceNotAvailableException ผ่านเฟรมเวิร์ก JUnit4
CarryInterruptedException เกิดขึ้นเมื่อมีการทริกเกอร์การหมดเวลาของเฟสการทดสอบและจำเป็นต้องดำเนินการ InterruptedException จากเธรดการดำเนินการทดสอบไปยังเธรดการดำเนินการเรียกใช้
CdmaDeviceFlasher คลาสที่ฉายภาพบนอุปกรณ์ Android จริงด้วยวิทยุ CDMA
CecControllerTokenProvider ผู้ให้บริการโทเค็นสำหรับโทเค็นที่เกี่ยวข้องกับ Consumer Electronics Control (CEC)
CentralDirectoryInfo CentralDirectoryInfo เป็นคลาสที่มีข้อมูลของไฟล์/โฟลเดอร์ภายในไฟล์ zip
ตรวจสอบการจับคู่ผู้จัดเตรียม CompanionAwarePreparer ที่ตรวจสอบการเชื่อมต่อ BT ระหว่างอุปกรณ์หลักและอุปกรณ์ที่ใช้ร่วมกัน
CircularAtraceUtil ยูทิลิตี atrace ที่พัฒนาขึ้นเพื่อระบุต้นตอของ ANR ระหว่างการทดสอบ Monkey เป็นหลัก
CircularByteArray โครงสร้างข้อมูลสำหรับการเก็บอาร์เรย์ขนาดคงที่ที่ทำงานเป็นบัฟเฟอร์แบบวงกลม และติดตามผลรวมของค่าทั้งหมดในอาร์เรย์
ClangCodeCoverageCollector BaseDeviceMetricCollector ที่จะดึงการวัดความครอบคลุมของเสียงดังกราวออกจากอุปกรณ์และบันทึกเป็นสิ่งประดิษฐ์ทดสอบ
ClassNotFoundConfigurationException ConfigurationException เมื่อไม่พบคลาสของวัตถุ
คลาสพาธสแกนเนอร์ ค้นหารายการใน classpath
ClassPathScanner.ClassNameFilter IClassPathFilter ที่กรองและแปลงชื่อคลาส java
ClassPathScanner.ExternalClassNameFilter ClassNameFilter ที่ปฏิเสธคลาสภายใน
ClassPathScanner.IClassPathFilter ตัวกรองสำหรับเส้นทางเข้า classpath

มีลวดลายตาม FileFilter

ClockworkUtils ยูทิลิตี้ clockwork สำหรับการแบ่งปันตรรกะหลายอุปกรณ์
ปิด TraceScope คลาสขอบเขตที่อนุญาตให้รายงานส่วนการติดตามผ่านการลองด้วยทรัพยากร
ClusterBuildInfo คลาส IBuildInfo สำหรับบิลด์ที่ส่งจาก TFC
ClusterBuildProvider IBuildProvider เพื่อดาวน์โหลดทรัพยากรการทดสอบ TFC
คลัสเตอร์ไคลเอนต์ การใช้งาน IClusterClient สำหรับการโต้ตอบกับแบ็กเอนด์ TFC
คำสั่งคลัสเตอร์ คลาสที่แสดงถึงงานที่ดึงมาจาก TF Cluster
ClusterCommand.RequestType
ClusterCommand.State สถานะของคำสั่งในคลัสเตอร์ TF
ClusterCommandConfigBuilder คลาสสำหรับสร้างไฟล์คอนฟิกูเรชันสำหรับคำสั่งคลัสเตอร์
เหตุการณ์คลัสเตอร์คำสั่ง คลาสสรุปเหตุการณ์คำสั่งคลัสเตอร์ที่จะอัปโหลด
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
คลัสเตอร์ Command Launcher คลาส IRemoteTest เพื่อเรียกใช้คำสั่งจาก TFC ผ่านกระบวนการย่อย TF
ClusterCommandScheduler ICommandScheduler เพื่อรองรับ TFC (Tradefed Cluster)
สถานะคำสั่งคลัสเตอร์ คลาสที่แสดงถึงสถานะและเหตุผลการยกเลิกสำหรับคำสั่งจาก TF Cluster
ข้อมูลอุปกรณ์คลัสเตอร์ คลาสที่จะสรุปข้อมูลอุปกรณ์คลัสเตอร์ที่จะอัปโหลด
ClusterDeviceInfo.Builder
ClusterDeviceMonitor การใช้งาน IDeviceMonitor ที่รายงานผลลัพธ์ไปยังบริการ Tradefed Cluster
ClusterEventUploader <T ขยาย IClusterEvent > คลาส ClusterEventUploader ซึ่งอัปโหลด IClusterEvent ไปยัง TFC
คลัสเตอร์โฮสต์เหตุการณ์ คลาสที่จะสรุปเหตุการณ์โฮสต์ของคลัสเตอร์ที่จะอัปโหลด
ClusterHostEvent.Builder
ClusterHostEvent.HostEventType Enums ของกิจกรรมโฮสต์ประเภทต่างๆ
ClusterHostUtil ฟังก์ชัน util แบบคงที่สำหรับ TF Cluster เพื่อรับอินสแตนซ์การกำหนดค่าส่วนกลาง ข้อมูลโฮสต์ ฯลฯ
ClusterLogSaver คลาส ILogSaver เพื่ออัปโหลดผลลัพธ์การทดสอบไปยัง TFC
ClusterLogSaver.FilePickingกลยุทธ์ กลยุทธ์การเลือกไฟล์
ตัวเลือกคลัสเตอร์
CodeCoverageTest การทดสอบที่เรียกใช้ชุดทดสอบเครื่องมือวัดบนอุปกรณ์ที่กำหนด และสร้างรายงานความครอบคลุมของโค้ด
การรวบรวม ByteOutputReceiver IShellOutputReceiver ซึ่งรวบรวมเอาต์พุตเชลล์ทั้งหมดเป็น byte[]
การรวบรวมOutputReceiver IShellOutputReceiver ซึ่งรวบรวมเอาต์พุตเชลล์ทั้งหมดไว้ใน String เดียว
การรวบรวม TestListener ITestInvocationListener ที่จะรวบรวมผลการทดสอบทั้งหมด
ผู้ช่วยนักสะสม ผู้ช่วยในการดำเนินการ IMetricCollector ที่จำเป็นในหลาย ๆ ที่
คำสั่ง FileParser Parser สำหรับไฟล์ที่มีชุดของบรรทัดคำสั่ง
CommandFileParser.CommandLine
CommandInterrupter บริการที่อนุญาตให้คำสั่ง TradeFederation ถูกขัดจังหวะหรือทำเครื่องหมายว่าไม่สามารถขัดจังหวะได้
CommandLineBuildInfoBuilder ยูทิลิตี้หมายถึงการจับอาร์กิวเมนต์ข้อมูลการสร้างตามปกติจากบรรทัดคำสั่ง และสร้าง IBuildInfo จากพวกเขา
ตัวเลือกคำสั่ง การใช้งาน ICommandOptions
CommandOptionsGetter การใช้งานบริการที่ส่งคืนค่าตัวเลือกคำสั่งของการเรียกใช้ที่กำหนด
ผลลัพธ์คำสั่ง ประกอบด้วยผลลัพธ์ของคำสั่ง
คอมมานด์รันเนอร์ จุดเข้า TradeFederation สำรองที่จะรันคำสั่งที่ระบุในอาร์กิวเมนต์บรรทัดคำสั่งแล้วออก
CommandRunner.ExitCode รหัสข้อผิดพลาดที่สามารถออกได้
CommandScheduler ตัวกำหนดตารางเวลาสำหรับการรันคำสั่ง TradeFederation ในทุกอุปกรณ์ที่มีอยู่
CommandScheduler.HostState Enums สถานะที่แตกต่างกันของโฮสต์
สถานะคำสั่ง แสดงสถานะของการดำเนินการตามกำหนดเวลา
CommandStatusHandler ตัวจัดการช่วยตรวจสอบและอัปเดตสถานะของการร้องขอ
CommonLogRemoteFileUtil ยูทิลิตีนี้ช่วยให้หลีกเลี่ยงการทำซ้ำรหัสระหว่างการแสดงอุปกรณ์ระยะไกลที่แตกต่างกันสำหรับลอจิกการดึงบันทึกระยะไกลของไฟล์ทั่วไป
CommonLogRemoteFileUtil.KnownLogFileEntry การแสดงรายการบันทึกที่รู้จักสำหรับอุปกรณ์ระยะไกล
CompanionAllocator คลาสพื้นฐานที่ดูแลการจัดสรรและปล่อยอุปกรณ์ร่วม

ควรใช้ getCompanionDeviceSelectionOptions() เพื่ออธิบายเกณฑ์ที่จำเป็นในการจัดสรรอุปกรณ์ที่ใช้ร่วมกัน

CompanionAwarePreparer ITargetPreparer ที่สรุปตรรกะของการได้รับอุปกรณ์คู่หูที่จัดสรรไว้แล้ว
CompanionAwareTest คลาสการทดสอบพื้นฐานที่สรุปขั้นตอนการรับและตรวจสอบอุปกรณ์ที่ใช้ร่วมกัน

คลาสย่อยอาจเรียก getCompanion() เพื่อดึงข้อมูลคู่หูที่จัดสรรไว้

CompanionDeviceTracker คลาสสำหรับจัดสรรและปล่อยอุปกรณ์ที่ใช้ร่วมกัน
CompanionRunCommandTargetPreparer ITargetPreparer ที่รันคำสั่งที่ระบุบนอุปกรณ์คู่หูที่จัดสรร
CompanionTestAppInstallSetup ITargetPreparer ที่ติดตั้งแอปตั้งแต่หนึ่งแอปขึ้นไปจากโฟลเดอร์ IDeviceBuildInfo#getTestsDir() ลงในอุปกรณ์ร่วมที่จัดสรรไว้
คอมไพล์ BootImage ด้วย SpeedTargetPreparer คอมไพล์เส้นทางคลาสบูตและเซิร์ฟเวอร์ระบบอีกครั้งด้วยตัวกรองคอมไพเลอร์ 'ความเร็ว'
ConditionFailureMonitor ตรวจสอบความล้มเหลวจากการเรียกใช้
ConditionPriorityBlockingQueue <T> คลาสที่ปลอดภัยสำหรับเธรดที่มีการดำเนินการคล้าย ERROR(/PriorityBlockingQueue) ที่สามารถดึงวัตถุที่ตรงกับเงื่อนไขที่กำหนด
ConditionPriorityBlockingQueue.AlwaysMatch <T> ConditionPriorityBlockingQueue.IMatcher ที่ตรงกับวัตถุใดๆ
ConditionPriorityBlockingQueue.IMatcher <T> อินเทอร์เฟซสำหรับพิจารณาว่าองค์ประกอบตรงกับเงื่อนไขบางประเภทหรือไม่
ConfigCompleter การใช้งาน Completer สำหรับการกำหนดค่า TF ของเรา
การกำหนดค่า การใช้งาน IConfiguration ที่เป็นรูปธรรมซึ่งจัดเก็บออบเจกต์การกำหนดค่าที่โหลดไว้ในแผนที่
ConfigurationDef เก็บบันทึกการกำหนดค่า อ็อบเจ็กต์ที่เกี่ยวข้อง และอ็อพชัน
ConfigurationDef.ConfigObjectDef ออบเจกต์เพื่อเก็บข้อมูลสำหรับ className และหมายเลขลักษณะที่มี (เช่น ถ้าการกำหนดค่ามีออบเจกต์เดียวกันสองครั้ง รายการแรกจะมีหมายเลขลักษณะแรก)
ConfigurationDescriptor Configuration Object ที่อธิบายลักษณะบางอย่างของคอนฟิกูเรชันเอง
ConfigurationDescriptor.LocalTestRunner Enum ใช้เพื่อระบุนักวิ่งทดสอบในพื้นที่
ข้อยกเว้นการกำหนดค่า โยนทิ้งหากไม่สามารถโหลดการกำหนดค่าได้
ConfigurationFactory โรงงานสำหรับสร้าง IConfiguration
ConfigurationFactory.ConfigLoader การใช้งาน IConfigDefLoader ที่ติดตามการกำหนดค่าที่รวมจากการกำหนดค่ารูทเดียว และโยนข้อยกเว้นในการรวมแบบวงกลม
ConfigurationFactory.ExceptionLoader
ConfigurationUtil ฟังก์ชันยูทิลิตี้สำหรับจัดการไฟล์คอนฟิกูเรชัน
ConfigurationXmlParserSettings คลาสง่ายๆ ที่จะยอมรับการตั้งค่าสำหรับ ConfigurationXmlParser

หากต้องการส่งการตั้งค่าไปยังคลาสนี้ นามแฝงเป็นสิ่งจำเป็น

การกำหนดค่า YamlParser Parser สำหรับการกำหนดค่า Tradefed สไตล์ YAML
ConfigUtil คลาสยูทิลิตี้สำหรับสร้าง โต้ตอบ และพุชไฟล์คอนฟิกูเรชัน statsd
ConfigUtil.LogSource
คอนโซล คอนโซลหลักของ TradeFederation ให้อินเทอร์เฟซแก่ผู้ใช้ในการโต้ตอบ

ปัจจุบันรองรับการทำงานเช่น

  • เพิ่มคำสั่งในการทดสอบ
  • แสดงรายการอุปกรณ์และสถานะของอุปกรณ์
  • รายการการร้องขอที่กำลังดำเนินการ
  • รายการคำสั่งในคิว
  • ถ่ายโอนข้อมูลบันทึกการเรียกใช้ไปยังไฟล์/stdout
  • ปิดตัวลง
Console.ArgRunnable <T> Runnable ด้วยวิธี run ที่สามารถรับอาร์กิวเมนต์ได้
Console.CaptureList ประเภทความสะดวกสำหรับ List<List<String>>
ConsoleReaderOutputStream OutputStream ที่สามารถใช้เพื่อทำให้ System.out.print() ทำงานได้ดีกับ LineReader unfinishedLine ของผู้ใช้
ConsoleResultReporter ผู้รายงานผลลัพธ์เพื่อพิมพ์ผลการทดสอบไปยังคอนโซล
ContentProviderHandler ตัวจัดการที่สรุปการโต้ตอบของผู้ให้บริการเนื้อหาและอนุญาตให้ใช้ผู้ให้บริการเนื้อหาด้านอุปกรณ์สำหรับการดำเนินการต่างๆ
การนับการทดสอบผลลัพธ์ผู้ฟัง TestResultListener ที่ติดตามจำนวนการทดสอบทั้งหมดโดย TestStatus
CountTestCaseCollector นับและรายงานจำนวนกรณีทดสอบสำหรับ IRemoteTest ที่กำหนด
CoverageMeasurementForwarder การทดสอบตัวยึดตำแหน่งที่ส่งต่อการวัดความครอบคลุมจากผู้ให้บริการบิลด์ไปยังคนบันทึก
ตัวเลือกความคุ้มครอง แลกเปลี่ยนวัตถุเพื่อถือครองตัวเลือกความคุ้มครอง
CoverageOptions.Toolchain
พนักงานควบคุมปริมาณซีพียู ITargetPreparer ที่รอจนกว่าความถี่สูงสุดบนคอร์ทั้งหมดจะถูกกู้คืนเป็นระดับสูงสุดที่พร้อมใช้งาน
CreateAvdPreparer
CreateUserPreparer ผู้จัดเตรียมเป้าหมายสำหรับการสร้างผู้ใช้และทำความสะอาดในตอนท้าย
การเรียกใช้ปัจจุบัน คลาสที่ติดตามและให้ข้อมูลการเรียกใช้ปัจจุบันที่มีประโยชน์ในทุกที่ภายในการเรียกใช้
การร้องขอปัจจุบันข้อมูลการร้องขอ คีย์ที่มีชื่อพิเศษบางอย่างที่เราจะเติมสำหรับการเรียกใช้เสมอ
CurrentInvocation.IsolationGrade อธิบายระดับความโดดเดี่ยว

DebugHostLogOnFailureCollector ตัวรวบรวมที่จะรวบรวมและบันทึกล็อกฝั่งโฮสต์เมื่อเกิดกรณีทดสอบล้มเหลว
การเชื่อมต่อเริ่มต้น การแสดงการเชื่อมต่อเริ่มต้นของอุปกรณ์ ซึ่งถือว่าเป็นการเชื่อมต่อ adb มาตรฐานของอุปกรณ์
DefaultConnection.ConnectionBuilder ตัวสร้างใช้เพื่ออธิบายการเชื่อมต่อ
DefaultRemoteAndroidTestRunner ส่วนขยายของ ddmlib RemoteAndroidTestRunner เพื่อตั้งค่าเริ่มต้นสำหรับกรณีการใช้งาน Tradefed
DefaultTestsZipInstaller การใช้งานเริ่มต้นของตัวติดตั้ง zip ทดสอบ
DelegatedInvocationExecution InvocationExecution ซึ่งมอบหมายการดำเนินการให้กับไบนารี Tradefed อื่น
ตัวแก้ไขการพึ่งพา ผู้ให้บริการประเภทใหม่ที่อนุญาตให้รับการอ้างอิงทั้งหมดสำหรับการทดสอบ
ผลลัพธ์การจัดสรรอุปกรณ์ แสดงผลของความพยายามในการจัดสรรสำหรับคำสั่ง
สถานะการจัดสรรอุปกรณ์ แสดงสถานะการจัดสรรอุปกรณ์จากมุมมอง IDeviceManager
ตัวตรวจสอบอุปกรณ์พร้อมใช้งาน ตัวตรวจสอบเพื่อให้แน่ใจว่าโมดูลจะไม่ปล่อยให้อุปกรณ์อยู่ในสถานะออฟไลน์
ตัวตรวจสอบอุปกรณ์พื้นฐาน ตั้งค่าพื้นฐานของอุปกรณ์ก่อนแต่ละโมดูล
DeviceBaselineSetter คลาสนามธรรมใช้เพื่อสร้างการตั้งค่าพื้นฐานของอุปกรณ์
ตัวตรวจสอบระดับแบตเตอรี่ของอุปกรณ์ IRemoteTest ที่ตรวจสอบการชาร์จแบตเตอรี่ขั้นต่ำ และรอให้แบตเตอรี่ถึงเกณฑ์การชาร์จครั้งที่สองหากไม่มีการชาร์จขั้นต่ำ
DeviceBatteryResourceMetricCollector ตัวรวบรวมนี้รวบรวมเมตริกแบตเตอรี่ของอุปกรณ์
DeviceBuildDescriptor คลาส wrapper สำหรับ IBuildInfo ที่มีเมธอดตัวช่วยเพื่อดึงข้อมูลการสร้างแพลตฟอร์มอุปกรณ์
DeviceBuildInfo IBuildInfo ที่แสดงถึงการสร้างอุปกรณ์ Android ที่สมบูรณ์และ (เป็นทางเลือก) การทดสอบ
DeviceBuildInfoBootStrapper ITargetPreparer ที่แทนที่ฟิลด์ข้อมูลบิลด์ด้วยแอตทริบิวต์ที่อ่านจากอุปกรณ์

สิ่งนี้มีประโยชน์สำหรับการทดสอบอุปกรณ์ที่มีบิลด์ที่สร้างจากแหล่งภายนอก (เช่น

DeviceBuildInfoInjector ITargetPreparer ที่แทรกข้อมูลเมตา DeviceBuildDescriptor ลงใน IBuildInfo
ดีไวซ์คลีนเนอร์ ดำเนินการรีบูตหรือจัดรูปแบบเป็นการดำเนินการล้างข้อมูลหลังการทดสอบ และเลือกที่จะปิดหน้าจอ
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
DeviceConcurrentUtil มีเมธอดยูทิลิตี้และคลาสสำหรับการเรียกใช้คำสั่งด้านอุปกรณ์พร้อมกัน

ใช้ ERROR(/ExecutorService) เพื่อเรียกใช้คำสั่งที่ใช้เป็น ShellCommandCallable และใช้ ERROR(/#joinFuture(String,Future,long)) สำหรับการซิงโครไนซ์กับ ERROR(/Future) ที่ส่งคืนโดย ERROR(/ExecutorService) สำหรับการดำเนินการคำสั่ง

DeviceConcurrentUtil.ShellCommandCallable <V> ERROR(/Callable) ที่รวมรายละเอียดของการดำเนินการคำสั่งเชลล์บน ITestDevice
ตัวยึดการกำหนดค่าอุปกรณ์ การใช้งาน IDeviceConfiguration ที่เป็นรูปธรรมซึ่งจัดเก็บออบเจกต์การกำหนดค่าอุปกรณ์ที่โหลดไว้ในแอตทริบิวต์
ตัวอธิบายอุปกรณ์ คลาสที่มีข้อมูลที่อธิบายอุปกรณ์ภายใต้การทดสอบ
DeviceDisconnectedException ส่งเมื่ออุปกรณ์ไม่สามารถเข้าถึงได้อีกต่อไปผ่านประเภทการขนส่ง เช่น หากอุปกรณ์ไม่สามารถมองเห็นได้อีกต่อไปผ่าน USB หรือการเชื่อมต่อ TCP/IP
ตัวระบุข้อผิดพลาดของอุปกรณ์ ตัวระบุข้อผิดพลาดจากข้อผิดพลาดของอุปกรณ์และอุปกรณ์ที่รายงานข้อผิดพลาด
DeviceFailedToBootError โยนทิ้งหากอุปกรณ์ไม่สามารถบู๊ตได้หลังจากแฟลชด้วยบิลด์
DeviceFeatureModuleController ตัวควบคุมโมดูลที่จะไม่รันการทดสอบเมื่อไม่รองรับคุณสมบัติบางอย่าง
DeviceFileReporter คลาสยูทิลิตี้ที่ตรวจสอบอุปกรณ์เพื่อหาไฟล์และส่งไปยัง ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) หากพบ
DeviceFlashPreparer ITargetPreparer ที่ฉายภาพบนฮาร์ดแวร์ Android จริง
อุปกรณ์FoldableState การแสดงสถานะอุปกรณ์ที่พับได้ตามที่ส่งคืนโดย "cmd device_state print-states"
DeviceFolderBuildInfo IDeviceBuildInfo ที่ประกอบด้วยส่วนสร้างอื่นๆ ที่มีอยู่ในไดเร็กทอรีบนระบบไฟล์ในเครื่อง
DeviceImageZipFlashingTargetPreparer ตัวเตรียมเป้าหมายที่แฟลชอุปกรณ์ด้วยอิมเมจอุปกรณ์ที่ให้มาในรูปแบบเฉพาะ
DeviceInternetAccessibilityResourceMetricCollector นักสะสมส่ง Ping ไปที่ google.com เพื่อตรวจสอบว่าอุปกรณ์มีการเข้าถึงอินเทอร์เน็ตหรือไม่
DeviceJUnit4ClassRunner นักวิ่งทดสอบ JUnit4 ที่รองรับ IDeviceTest
DeviceJUnit4ClassRunner.LogAnnotation คำอธิบายประกอบปลอมหมายถึงการส่งบันทึกไปยังนักข่าว
DeviceJUnit4ClassRunner.MetricAnnotation คำอธิบายประกอบปลอมหมายถึงการนำเมตริกไปให้นักข่าว
DeviceJUnit4ClassRunner.TestLogData การดำเนินการของ ExternalResource และ TestRule
DeviceJUnit4ClassRunner.TestMetrics การดำเนินการของ ExternalResource และ TestRule
DeviceManagementGrpcServer เซิร์ฟเวอร์ GRPC อนุญาตให้จองอุปกรณ์จาก Tradefed
ตัวจัดการอุปกรณ์
DeviceManager.FastbootDevice การแสดงอุปกรณ์ในโหมด Fastboot
ข้อมูลเมตริกของอุปกรณ์ วัตถุเพื่อเก็บข้อมูลทั้งหมดที่รวบรวมโดยตัวรวบรวมเมตริก
อุปกรณ์ตรวจสอบมัลติเพล็กเซอร์ คลาสพร็อกซีเพื่อเผยแพร่คำขอไปยัง IDeviceMonitor หลายตัว
DeviceNotAvailableException โยนทิ้งเมื่ออุปกรณ์ไม่พร้อมสำหรับการทดสอบอีกต่อไป
DeviceOwnerTargetPreparer ITargetPreparer ที่ตั้งค่าส่วนประกอบเจ้าของอุปกรณ์
Device ParameterizedRunner นักวิ่งที่มีพารามิเตอร์สไตล์ JUnit4 สำหรับการทดสอบพารามิเตอร์ที่ขับเคลื่อนด้วยฝั่งโฮสต์
คุณสมบัติอุปกรณ์ คำจำกัดความคงที่ทั่วไปสำหรับชื่อคุณสมบัติด้านอุปกรณ์
DeviceRecoveryModeUtil
DeviceReleaseReporter ผู้รายงานการเผยแพร่อุปกรณ์ที่จัดการการสื่อสารกับผู้ปกครองประมวลผลอุปกรณ์ที่จะเผยแพร่
คุณลักษณะการรีเซ็ตอุปกรณ์ การใช้งานด้านเซิร์ฟเวอร์ของการรีเซ็ตอุปกรณ์
DeviceResetHandler ยูทิลิตี้จัดการการรีเซ็ตอุปกรณ์โดยทั่วไป
ข้อยกเว้นรันไทม์ของอุปกรณ์ ส่งเมื่อการดำเนินการของอุปกรณ์ไม่ได้ผลลัพธ์ตามที่คาดไว้
ตัวเลือกการเลือกอุปกรณ์ คอนเทนเนอร์สำหรับเกณฑ์การเลือกอุปกรณ์
DeviceSelectionOptions.DeviceRequestedType รองรับอุปกรณ์ตัวยึดประเภทต่างๆ ที่เป็นไปได้
ตัวตรวจสอบการตั้งค่าอุปกรณ์ ตรวจสอบว่าการตั้งค่าอุปกรณ์มีการเปลี่ยนแปลงระหว่างการเรียกใช้โมดูลหรือไม่
การตั้งค่าอุปกรณ์ ITargetPreparer ที่กำหนดค่าอุปกรณ์สำหรับการทดสอบตาม Option ที่ให้มา
DeviceStateMonitor คลาสตัวช่วยสำหรับการตรวจสอบสถานะของ IDevice
DeviceStorageAgeResourceMetricCollector แยกวิเคราะห์อายุการจัดเก็บจาก logcat
DeviceStorageFiller ผู้จัดเตรียมเป้าหมายเพื่อเติมพื้นที่เก็บข้อมูลเพื่อให้มีพื้นที่ว่างจำนวนหนึ่ง
ตัวตรวจสอบสถานะการจัดเก็บอุปกรณ์ ตรวจสอบว่าอุปกรณ์มีพื้นที่ดิสก์เพียงพอสำหรับพาร์ติชันที่กำหนดหรือไม่
DeviceStringPusher ตัวเตรียมเป้าหมายเพื่อเขียนสตริงลงในไฟล์
ชุดอุปกรณ์ ขยาย Suite คอนเทนเนอร์ JUnit4 เพื่อจัดเตรียม ITestDevice สำหรับการทดสอบที่ต้องการ
DeviceSyncHelper ตัวช่วยที่ช่วยซิงค์อิมเมจอุปกรณ์ใหม่เข้ากับอุปกรณ์
กรณีทดสอบอุปกรณ์ กรณีทดสอบ Helper JUnit ที่ให้บริการ IRemoteTest และ IDeviceTest
ผลการทดสอบอุปกรณ์ ความเชี่ยวชาญพิเศษของ TestResult ที่จะยกเลิกเมื่อเกิด DeviceNotAvailableException
DeviceTestResult.RuntimeDeviceNotAvailableException
ตัวเลือกการทดสอบอุปกรณ์ คลาสตัวสร้างสำหรับตัวเลือกที่เกี่ยวข้องกับการเรียกใช้การทดสอบอุปกรณ์ผ่าน BaseHostJUnit4Test
DeviceTestSuite ชุดทดสอบ Helper JUnit ที่ให้บริการ IRemoteTest และ IDeviceTest
DeviceTraceCollector ตัวรวบรวมที่จะเริ่มติดตาม perfetto เมื่อการทดสอบเริ่มต้นและบันทึกไฟล์การติดตามในตอนท้าย
อุปกรณ์ไม่พร้อมใช้งานจอภาพ ผู้ฟังนี้พยายามจับ DNAE ระดับกรณีทดสอบเท่านั้น
DeviceUnresponsiveException ความเชี่ยวชาญพิเศษของ DeviceNotAvailableException ที่บ่งชี้ว่าอุปกรณ์สามารถมองเห็นได้ต่อ adb แต่ไม่ตอบสนอง (เช่น คำสั่งหมดเวลา ไม่บูต เป็นต้น)
DeviceUpdateTargetPreparer ITargetPreparer เชิงนามธรรมที่ดูแลขั้นตอนทั่วไปในการอัปเดตอุปกรณ์ด้วยไฟล์อิมเมจอุปกรณ์จากแหล่งภายนอก (ตรงข้ามกับบริการบิลด์)
DeviceWifiResourceMetricCollector ตัวรวบรวมรวบรวมความแรงของสัญญาณ wifi ที่เชื่อมต่อในปัจจุบันและตัวชี้วัดความเร็วลิงค์
อุปกรณ์ปัดน้ำฝน ITargetPreparer ที่ล้างข้อมูลผู้ใช้
กำกับกราฟ <V> การใช้งานกราฟที่ไม่ได้ถ่วงน้ำหนักโดยตรง
ปิดใช้งาน SELinuxTargetPreparer ตัวเตรียมเป้าหมายที่ปิดใช้งาน SELinux หากเปิดใช้งาน
DryRunKeyStore ที่เก็บคีย์สำหรับการเรียกใช้แบบแห้งซึ่งค่าที่เก็บคีย์ใดๆ จะถูกแทนที่และพบอย่างถูกต้องเสมอ
ดรายรันเนอร์ การทดสอบการทำงานแบบแห้งอย่างโปร่งใสแทนการดำเนินการจริง
การทดสอบไดนามิกไฟล์สตับ นี่คือการทดสอบการแลกเปลี่ยนเพื่อทดสอบการแลกเปลี่ยนที่สามารถแก้ไขไฟล์ไดนามิกได้อย่างถูกต้อง
ตัวแก้ไขไดนามิกรีโมตไฟล์ คลาสที่ช่วยแก้ไขเส้นทางไปยังไฟล์ระยะไกล
DynamicRemoteFileResolver.FileResolverLoader โหลดการใช้งานของ IRemoteFileResolver
โปรแกรมช่วยไดนามิกชาร์ด กลยุทธ์ Sharding เพื่อช่วยให้สามารถจัดคิวงานจากระยะไกลระหว่างอินสแตนซ์ TF หลายรายการได้
ตัวเตรียมระบบไดนามิก ITargetPreparer ที่ตั้งค่าอิมเมจระบบไว้ด้านบนของรุ่นอุปกรณ์ด้วย Dynamic System Update

อี

EarlyDeviceReleaseFeature การใช้งานเซิร์ฟเวอร์ฟีเจอร์สำหรับการเปิดตัวอุปกรณ์รุ่นแรก
อีเมล คลาสผู้ช่วยเหลือในการส่งอีเมล
EmailHostHealthAgent การใช้งาน IHostHealthAgent เพื่อส่งอีเมลจากรายงานการตรวจสอบโฮสต์
EmmaXmlConstant ค่าคงที่ที่ใช้เมื่อแยกวิเคราะห์รายงาน emma xml
EmulatorMemoryCpuCapturer
สิ้นสุด CentralDirectoryInfo EndCentralDirectoryInfo เป็นคลาสที่มีข้อมูลโดยรวมของไฟล์ zip
บังคับใช้ SeLinuxChecker ตัวตรวจสอบสถานะที่รับรองสถานะของ Selinux
ลบ UserDataPreparer ITargetPreparer ที่ล้างข้อมูลผู้ใช้บนอุปกรณ์
ตัวระบุข้อผิดพลาด อินเทอร์เฟซนี้อธิบายข้อผิดพลาดเฉพาะและคุณสมบัติของข้อผิดพลาด
ErrorStorageUtil คลาสตัวช่วยในการจัดการข้อผิดพลาดให้สอดคล้องกับที่เก็บข้อมูลทั่วไป
EventsLoggerListener Listener ที่บันทึกเหตุการณ์ทั้งหมดที่ได้รับลงในไฟล์
ข้อยกเว้นการขว้างปา RunnerWrapper
ExecutableBaseTest คลาสพื้นฐานสำหรับรูปแบบการทดสอบที่ดำเนินการได้
ExecutableHostTest รันเนอร์ทดสอบสำหรับการรันบนโฮสต์
ExecutableTargetTest รันเนอร์ทดสอบสำหรับการเรียกใช้งานบนเป้าหมาย
ExecutionFile การขึ้นต่อกันของไฟล์ที่สร้างขึ้นระหว่างการดำเนินการทดสอบหรือการเรียกใช้ที่จำเป็นต้องดำเนินการสำหรับการทดสอบ
ExecutionFiles.FilesKey การแจงนับคีย์มาตรฐานที่รู้จักสำหรับแผนที่
ExecutionProperties คุณสมบัติที่สร้างขึ้นระหว่างการดำเนินการทดสอบหรือการเรียกใช้
BuildProvider ที่มีอยู่ IBuildProvider ที่ส่งคืน IBuildInfo ที่สร้างไว้แล้ว
ไฟล์ขยาย ส่วนขยายของไฟล์มาตรฐานเพื่อพกพาข้อมูลเมตาที่เกี่ยวข้องกับบิลด์

คำอธิบายความล้มเหลว คลาสที่อธิบายข้อมูลความล้มเหลวใน Trade Federation
การทดสอบปลอม การทดสอบปลอมที่มีวัตถุประสงค์เพื่อให้ง่ายต่อการสร้างผลการทดสอบซ้ำ
FakeTestsZipFolder ฟิกซ์เจอร์ทดสอบที่สร้างโฟลเดอร์ทดสอบที่คลายซิปปลอมตามรายการเนื้อหา
FakeTestsZipFolder.ItemType
FastbootCommandPreparer ตัวเตรียมเป้าหมายที่เรียกใช้ fastboot และส่งคำสั่ง fastboot
FastbootDeviceFlasher คลาสที่ใช้ fastboot เพื่อแฟลชอิมเมจบนฮาร์ดแวร์ Android จริง
โปรแกรมช่วย Fastboot คลาสตัวช่วยสำหรับการดำเนินการ fastboot
FastbootUpdateBootstrapPreparer ITargetPreparer ที่จัดเตรียมไฟล์ที่ระบุ (bootloader, radio, zip อิมเมจอุปกรณ์) ลงใน IDeviceBuildInfo เพื่อให้อุปกรณ์แฟลชด้วย FastbootDeviceFlasher จากนั้นแทรกแอตทริบิวต์อุปกรณ์หลังการบูตลงในข้อมูลบิลด์เพื่อวัตถุประสงค์ในการรายงานผลลัพธ์
FatalHostError ข้อยกเว้นที่ระบุว่าเกิดข้อผิดพลาดร้ายแรงที่ไม่สามารถกู้คืนได้บนเครื่องโฮสต์ที่เรียกใช้ TradeFederation และควรปิดอินสแตนซ์ TradeFederation
FeatureFlagTargetPreparer อัปเดต DeviceConfig (แฟล็กคุณสมบัติที่ปรับโดยบริการระยะไกล)
ไฟล์ดาวน์โหลดแคช คลาสตัวช่วยที่รักษาแคช LRU ของระบบไฟล์ในเครื่องของไฟล์ที่ดาวน์โหลด
ไฟล์ดาวน์โหลด CacheFactory โรงงานสำหรับสร้าง FileDownloadCache
ไฟล์ดาวน์โหลด CacheWrapper คลาส wrapper ที่ให้สิ่งอำนวยความสะดวก FileDownloadCache ขณะใช้อินเทอร์เฟซ IFileDownloader
FileIdleMonitor ตรวจสอบไฟล์และเรียกใช้การเรียกกลับหากไม่ได้ใช้งาน (เช่น
FileInputStreamSource InputStreamSource ที่รับไฟล์อินพุต
ไฟล์ล็อกเกอร์ ILeveledLogOutput ที่นำข้อความบันทึกไปยังไฟล์และไปยัง stdout
FileProtoResultReporter โปรแกรมรายงาน Proto ที่ทิ้ง TestRecord ลงในไฟล์
FilePullerDeviceMetricCollector BaseDeviceMetricCollector ที่ฟังคีย์เมตริกที่มาจากอุปกรณ์และดึงออกมาเป็นไฟล์จากอุปกรณ์
FilePullerLogCollector ตัวบันทึกไฟล์ที่รายงานโดยฝั่งอุปกรณ์
FileSystemLogSaver บันทึกบันทึกลงในระบบไฟล์
FileUtil คลาสตัวช่วยสำหรับการดำเนินการที่เกี่ยวข้องกับไฟล์
FileUtil.HarnessIOException ข้อยกเว้นสายรัดที่ช่วยแบกปัญหาไฟล์
FileUtil.LowDiskSpaceException โยนทิ้งหากพื้นที่ดิสก์ที่ใช้งานได้ต่ำกว่าเกณฑ์ขั้นต่ำ
ผู้ส่งต่อผลลัพธ์ที่กรองแล้ว ตัวแปรของ ResultForwarder ที่อนุญาตเฉพาะรายการ TestDescription ที่อนุญาตเท่านั้นที่จะรายงานได้
แก้ไข ByteArrayOutputStream ERROR(/OutputStream) ที่เก็บข้อมูลได้สูงสุดเท่านั้น
วิธีการกระพริบ enum เพื่ออธิบายวิธีการที่ใช้ในการแฟลชอุปกรณ์ภายใต้การทดสอบ
FlashingResources Parser คลาสที่แยกไฟล์อิมเมจเสริมที่จำเป็นสำหรับการแฟลชอุปกรณ์
FlashingResourcesParser.AndroidInfo typedef สำหรับ Map&lt;String, MultiMap&lt;String, String&gt;&gt; .
FlashingResourcesParser.Constraint อินเทอร์เฟซการกรอง มีวัตถุประสงค์เพื่อให้ FlashingResourcesParser ละเว้นทรัพยากรบางอย่างที่อาจใช้
FlashingResourceUtil ยูทิลิตีนี้ช่วยตั้งค่าเวอร์ชันของอาร์ติแฟกต์ที่เหมาะสมเพื่อให้สามารถแฟลชผ่าน DeviceFlashPreparer ได้
มือจับขยายแบบพับได้ IModuleParameterHandler ขยายเพิ่มเติมสำหรับการกำหนดค่าแบบพับได้ที่ไม่ใช่หลักแต่ละรายการ
ที่จับพับได้ ตัวจัดการแบบพับได้ทั่วไปที่สามารถใช้พารามิเตอร์แบบพับได้เพื่อสร้างโมดูลพิเศษ
FoldableModePreparer ตัวเตรียมเป้าหมายที่สามารถเปลี่ยนสถานะการพับได้ของอุปกรณ์
โฟลเดอร์ BuildInfo การนำ IFolderBuildInfo ไปใช้อย่างเป็นรูปธรรม
โปรแกรมรักษาโฟลเดอร์ ITargetPreparer ที่ดึงไดเร็กทอรีออกจากอุปกรณ์ บีบอัดและบันทึกลงในแบ็กเอนด์การบันทึก
FormattedGeneratorReporter Reporter ที่อนุญาตให้สร้างรายงานในรูปแบบเฉพาะ
FreeDeviceState
ฟิวส์ยูทิล คลาสตัวช่วยสำหรับการทำงานของ FUSE

GceAvdInfo โครงสร้างเพื่อเก็บข้อมูลที่เกี่ยวข้องสำหรับอินสแตนซ์ GCE AVD ที่กำหนด
GceAvdInfo.GceStatus
GceAvdInfo.LogFileEntry
GceManager ตัวช่วยที่จัดการการโทร GCE เพื่อเริ่ม/หยุดและรวบรวมบันทึกจาก GCE
GceRemoteCmdFormatter คลาสยูทิลิตี้เพื่อจัดรูปแบบคำสั่งเพื่อเข้าถึงอุปกรณ์ gce ระยะไกล
GceRemoteCmdFormatter.ScpMode สามารถใช้ SCP เพื่อผลักหรือดึงไฟล์ขึ้นอยู่กับโครงสร้างของอาร์กิวเมนต์
GceSshTunnelMonitor การตรวจสอบเธรดสำหรับอุโมงค์ Gce ssh
GcovCodeCoverageCollector BaseDeviceMetricCollector ที่จะดึงการวัดความครอบคลุม gcov ออกจากอุปกรณ์และบันทึกเป็นสิ่งประดิษฐ์ทดสอบ
GcovKernelCodeCoverageCollector BaseDeviceMetricCollector ที่จะดึงการวัดการครอบคลุมเคอร์เนล gcov ออกจากการดีบักและออกจากอุปกรณ์ จากนั้นบันทึกเป็นสิ่งประดิษฐ์ทดสอบในที่สุด
GCSBucketUtil ตัวจัดการไฟล์เพื่อดาวน์โหลดและอัปโหลดไฟล์จาก Google Cloud Storage (GCS)
GCSBucketUtil.GCSFileMetadata wrapper อย่างง่ายสำหรับข้อมูลไฟล์ใน GCS
GCSCommon คลาสพื้นฐานสำหรับการดำเนินการ Gcs เช่น ดาวน์โหลดและอัปโหลด
GCSการกำหนดค่าโรงงาน ConfigurationFactory โหลดการกำหนดค่าจาก Google Cloud Storage
GCSConfigurationFactory.GCSConfigLoader ส่วนขยายของ ConfigurationFactory.ConfigLoader ที่โหลดการกำหนดค่าจาก GCS ติดตามการกำหนดค่าที่รวมมาจากการกำหนดค่ารูทเดียว และแสดงข้อยกเว้นในการรวมแบบวงกลม
GCSConfigurationServer เซิร์ฟเวอร์การกำหนดค่าโหลดการกำหนดค่าจาก Google Cloud Storage (GCS)
โปรแกรมช่วยดาวน์โหลด GCS ตัวดาวน์โหลดสำหรับบัคเก็ต GCS ที่ดูแลการแคชและแก้ไขการกำหนดค่าส่วนกลาง
GCSFile Downloader ตัวดาวน์โหลดไฟล์เพื่อดาวน์โหลดไฟล์จากที่เก็บข้อมูลบนคลาวด์ของ Google (GCS)
GCSFileUploader เครื่องมืออัปโหลดไฟล์เพื่ออัปโหลดข้อมูลไฟล์ไปยังที่เก็บข้อมูลบนคลาวด์ของ Google (GCS)
GCSHostResourceManager ดาวน์โหลดทรัพยากรโฮสต์จาก GCS (ที่เก็บข้อมูลบนคลาวด์ของ Google)
GcsRemoteFileResolver การใช้งาน IRemoteFileResolver ที่อนุญาตให้ดาวน์โหลดจากบัคเก็ต GCS
GenericLogcatEventParser <LogcatEventType> แยกวิเคราะห์อินพุต logcat สำหรับเหตุการณ์
GenericLogcatEventParser.LogcatEvent โครงสร้างเพื่อเก็บเหตุการณ์ logcat ด้วยประเภทเหตุการณ์และทริกเกอร์ข้อความ logcat
GetPreviousPassedHelper ผู้ช่วยในการรับตัวกรองการทดสอบที่ผ่านก่อนหน้านี้
GkiDeviceFlashPreparer ตัวเตรียมเป้าหมายที่แฟลชอุปกรณ์ด้วยอิมเมจทั่วไปของเคอร์เนลทั่วไปของ Android
การกำหนดค่าส่วนกลาง การใช้งาน IGlobalConfiguration ที่เก็บออบเจกต์การกำหนดค่าที่โหลดไว้ในแผนที่
GlobalFilterGetter การใช้งานบริการที่ส่งคืนตัวกรองของการเรียกใช้ที่กำหนด
GlobalTestFilter ใช้ตัวเลือกตัวกรองกับการเรียกใช้
GoogleApiClientUtil Utils สำหรับสร้างไคลเอนต์ Google API
GoogleBenchmarkResultParser แยกวิเคราะห์ผลลัพธ์ของเกณฑ์มาตรฐานของ Google ที่เรียกใช้จากเชลล์ และส่งคืนแผนที่พร้อมผลลัพธ์ทั้งหมด
การทดสอบเกณฑ์มาตรฐานของ Google การทดสอบที่เรียกใช้แพ็คเกจการทดสอบเกณฑ์มาตรฐานของ Google บนอุปกรณ์ที่กำหนด
GranularRetriableTestWrapper คลาส wrapper ทำงานบน IRemoteTest เพื่อให้ IRemoteTest ละเอียดในระดับ testcase
GranularRetriableTestWrapper.StartEndCollector ผู้ช่วยชั้นเรียนเพื่อติดตามการเริ่มต้นและสิ้นสุดการวิ่งที่ขาดหายไป
GsiDeviceFlashPreparer ตัวเตรียมเป้าหมายที่กะพริบอุปกรณ์ด้วยอิมเมจระบบทั่วไปของ Android
จีเทส การทดสอบที่เรียกใช้แพ็คเกจการทดสอบดั้งเดิมบนอุปกรณ์ที่กำหนด
GTestBase คลาสพื้นฐานของ gTest
GTestListTestParser ตัวแยกวิเคราะห์ผลลัพธ์สำหรับโหมด gtest dry run พร้อมพารามิเตอร์ "--gtest_list_tests"
GTestResultParser แยกวิเคราะห์ผลลัพธ์ 'โหมดเอาต์พุตดิบ' ของการทดสอบเนทีฟโดยใช้ GTest ที่รันจากเชลล์ และแจ้งให้ ITestInvocationListener ทราบถึงผลลัพธ์
GTestXmlResultParser แยกวิเคราะห์ผลลัพธ์ 'โหมดเอาต์พุต xml' ของการทดสอบเนทีฟโดยใช้ GTest ที่เรียกใช้จากเชลล์ และแจ้งให้ ITestRunListener ทราบถึงผลลัพธ์

ชม

HarnessException คลาสข้อยกเว้นพื้นฐานสำหรับข้อยกเว้นที่เกิดขึ้นภายในสายรัด
HarnessRuntimeException
ฮีปโฮสต์มอนิเตอร์ การใช้งาน AbstractHostMonitor ที่ตรวจสอบหน่วยความจำฮีปบนโฮสต์และบันทึกลงในบันทึกประวัติเป็นระยะๆ
HelloWorldMultiTargetPreparer An example implementation of a IMultiTargetPreparer .
HistoryLogger TF History Logger, special log that contains only some specific events.
HostGTest A Test that runs a native test package.
HostMetric This class represents a host metric sample to be reported.
HostOptions Host options holder class.
HostStatsdMetricCollector IMetricCollector ที่รวบรวมเมตริก statsd จากฝั่งโฮสต์โดยใช้คำสั่งยูทิลิตี้ statsd
HostTest A test runner for JUnit host based tests.
HostUtils Implements some useful utility methods for running host tests.
HprofAllocSiteParser Helper class to parse info from an Allocation Sites section of hprof reports.
HttpHelper Contains helper methods for making http requests
HttpHelper.RequestRunnable Runnable for making requests with IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) .
HttpMultipartPost Helper class for making multipart HTTP post requests.
HttpRemoteFileResolver Implementation of IRemoteFileResolver that allows downloading remote file via http
HttpsRemoteFileResolver Implementation of IRemoteFileResolver that allows downloading remote file via https

I

IAbi Interface representing the ABI under test.
IAbiReceiver A test that needs the ABI under test.
IAndroidDebugBridge Interface definition for AndroidDebugBridge methods used in this package.
IAppBuildInfo This interface is deprecated. Use IBuildInfo directly.
IAutoRetriableTest Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry.
IBatteryInfo The interface defining the interaction with a battery of a device.
IBatteryInfo.BatteryState Describes the current battery charging state.
IBuildInfo Holds information about the build under test.
IBuildInfo.BuildInfoProperties Some properties that a IBuildInfo can have to tweak some handling of it.
IBuildProvider Responsible for providing info regarding the build under test.
IBuildReceiver A test that needs reference to the build under test.
IClusterClient An interface for interacting with the TFC backend.
IClusterEvent Interface for any cluster event to be uploaded to TFC.
IClusterEventUploader <T extends IClusterEvent > Interface for ClusterEventUploader
IClusterOptions An interface for getting cluster-related options.
ICommandOptions Container for execution options for commands.
ICommandScheduler A scheduler for running TradeFederation commands.
ICommandScheduler.IScheduledInvocationListener ผู้ฟังสำหรับเหตุการณ์การร้องขอเมื่อการร้องขอเสร็จสิ้น
ICompressionStrategy An interface representing a compression algorithm that can be selected at runtime.
IConfigOptionValueTransformer An interface for manipulating config option value
IConfigurableVirtualDevice An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.).
IConfiguration Configuration information for a TradeFederation invocation.
IConfigurationFactory Factory for creating IConfiguration s
IConfigurationReceiver Simple interface to represent object that accepts an IConfiguration .
IConfigurationServer An interface for config server.
ICredentialFactory An interface for credential factory to create oauth2 Credential .
IDefaultObjectLoader Interface for loading the default objects that should be part of our YAML configuration.
IDefaultObjectLoader.LoaderConfiguration The loading configuration object to pass information to the loader.
IDeviceActionReceiver Provides an API to receive device events.
IDeviceBuildInfo A IBuildInfo that represents a complete Android device build and (optionally) its tests.
IDeviceBuildProvider A IBuildProvider that uses information from a ITestDevice to retrieve a build.
IDeviceConfiguration Device Configuration Holder Interface.
IDeviceFlasher Flashes a device image on a device.
IDeviceFlasher.UserDataFlashOption Enum of options for handling the userdata image
IDeviceManager Interface for managing the set of available devices for testing.
IDeviceManager.IFastbootListener A listener for fastboot state changes.
IDeviceMonitor Interface for monitoring state of devices.
IDeviceMonitor.DeviceLister A Runnable -like class that should return the known devices and their states.
IDeviceRecovery Interface for recovering a device that has gone offline.
IDeviceSelection Interface for device selection criteria.
IDeviceSelection.BaseDeviceType
IDeviceStateMonitor Provides facilities for monitoring the state of a IDevice .
IDeviceTest Interface for object that needs a reference to a ITestDevice .
IDisableable Interface that describes a Tradefed object that can be disabled.
IDynamicShardingClient Wrapper interface for the sharding client

This exists so that we can swap in an HTTP one or testing one if needed.

IEmail Interface for sending email.
IEmail.Message Container for email message data.
IFileDownloader Interface for downloading a remote file.
IFileEntry Interface definition that provides simpler, mockable contract to FileEntry methods.
IFileResolverLoader Loads implementations of IRemoteFileResolver .
IFileResolverLoader.ResolverLoadingException Exception thrown if a resolver cannot be loaded or initialized.
IFlashingResourcesParser Interface for providing required versions of auxiliary image files needed to flash a device.
IFlashingResourcesRetriever Interface for retrieving auxiliary image files needed to flash a device.
IFolderBuildInfo A simple abstract IBuildInfo whose build artifacts are containing in a local filesystem directory.
IFormatterGenerator Interface describing a formatter for SuiteResultHolder .
IGlobalConfiguration A class to encompass global configuration information for a single Trade Federation instance (encompassing any number of invocations of actual configurations).
IHarnessException Description of the harness exception interface that will be implemented by harness exceptions.
IHostCleaner Cleans up the host after the test run has finished.
IHostHealthAgent An interface to emit host or device metrics.
IHostMonitor Interface to dispatch host data
IHostMonitor.HostDataPoint Generic class for data to be reported.
IHostMonitor.HostMetricType
IHostOptions Host options holder interface.
IHostOptions.PermitLimitType Enum describing the possible permit limiters
IHostResourceManager Interface to manager host resource.
IHttpHelper Helper methods for performing http requests.
IHttpHelper.DataSizeException
IInvocationContext Holds information about the Invocation for the tests to access if needed.
IInvocationContext.TimingEvent
IInvocationContextReceiver A test that needs reference to the context of the invocation.
IInvocationExecution Interface describing the actions that will be done as part of an invocation.
IKeyStoreClient Interface to access a key store for password or sensitive data.
IKeyStoreFactory Factory for creating IKeyStoreClient .
ILabPreparer Marker interface for lab preparers

See ITargetPreparer for a description of what these interfaces are intended.

ILeveledLogOutput Classes which implement this interface provides methods that deal with outputting log messages.
ILogcatReceiver A class that provides the output of a device's logcat as an InputStreamSource .
ILogRegistry An interface for a ILogOutput singleton logger that multiplexes and manages different loggers.
ILogRegistry.EventType Events that are useful to be logged
ILogSaver คลาสที่ใช้อินเทอร์เฟซนี้มีวิธีการจัดเก็บบันทึกไปยังตำแหน่งศูนย์กลาง
ILogSaverListener อนุญาตให้ ITestInvocationListener ฟังเมื่อบันทึกไฟล์บันทึก
IManagedTestDevice ITestDevice ที่มีการจัดการวงจรชีวิต
IManagedTestDevice.DeviceEventResponse Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call
IManagedTestDeviceFactory Creator interface for IManagedTestDevice s
IMetricCollector อินเทอร์เฟซนี้จะถูกเพิ่มเป็นมัณฑนากรเมื่อรายงานผลการทดสอบเพื่อรวบรวมเมตริกที่ตรงกัน
IMetricCollectorReceiver Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run.
IMoblyYamlResultHandler Interface of mobly yaml result handler.
IMoblyYamlResultHandler.ITestResult Interface of mobly yaml result
IModuleController Interface for controlling if a module should be executed or not.
IModuleController.RunStrategy Enum describing how the module should be executed.
IModuleParameterHandler The interface for parameters of suites modules.
IMultiDeviceRecovery Interface for recovering multiple offline devices.
IMultiDeviceTest This interface is deprecated. This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it.
IMultiTargetPreparer Prepares the test environment for several devices together.
INativeDevice ให้ API ระดับที่เชื่อถือได้และสูงกว่าเล็กน้อยแก่ ddmlib IDevice
INativeDeviceTest Interface for object that needs a reference to a INativeDevice .
InfraErrorIdentifier Error Identifiers from Trade Federation infra, and dependent infra (like Build infra).
InputStreamSource This interface basically wraps an ERROR(/InputStream) to make it clonable.
InstallAllTestZipAppsSetup A ITargetPreparer that installs all apps in a test zip.
InstallApexModuleTargetPreparer
InstallApkSetup A ITargetPreparer that installs one or more apks located on the filesystem.
InstallBuildEnvApkSetup A ITargetPreparer that installs one or more test apks from an Android platform build env.
InstalledInstrumentationsTest Runs all instrumentation found on current device.
InstantAppHandler Handler for ModuleParameters#INSTANT_APP .
InstrumentationPreparer A ITargetPreparer that runs instrumentation
InstrumentationTest A Test that runs an instrumentation test package on given device.
InvocationContext Generic implementation of a IInvocationContext .
InvocationExecution Class that describes all the invocation steps: build download, target_prep, run tests, clean up.
InvocationLocal <T> This class provides invocation-scope variables.
InvocationMetricLogger A utility class for an invocation to log some metrics.
InvocationMetricLogger.InvocationGroupMetricKey Grouping allows to log several groups under a same key.
InvocationMetricLogger.InvocationMetricKey Some special named key that we will always populate for the invocation.
InvocationStatus A class to store invocation status.
InvocationStatus A helper enum to represent the invocation status
InvocationSummaryHelper Helper class for gathering and reporting TestSummary for set of listeners
InvocationToJUnitResultForwarder คลาสที่รับฟังเหตุการณ์ ITestInvocationListener และส่งต่อไปยัง TestListener
ไอโพสต์โปรเซสเซอร์ โพสต์โปรเซสเซอร์เป็นอ็อบเจกต์ของสหพันธ์การค้าที่อนุญาตให้มีการประมวลผลเมตริกและบันทึกหลังการทดสอบและก่อนการรายงานผล
IRemoteFeature Interface describing a feature in Tradefed that can be executed based on the request.
IRemoteFileResolver Interface for objects that can resolve a remote file into a local one.
IRemoteFileResolver.RemoteFileResolverArgs The args passed to the resolvers
IRemoteFileResolver.ResolvedFile Class holding information about the resolved file and some metadata.
IRemoteScheduledListenersFeature Extension of IRemoteFeature to support passing in IScheduledInvocationListener s.
IRemoteTest A test that reports results directly to a ITestInvocationListener .
IReportNotExecuted In case of an incomplete execution, IRemoteTest that implements this interface may report their non-executed tests for improved reporting.
IRescheduler Interface for rescheduling a config for future execution.
IResourceMetricCollector The interface for user to implement customized resource collectors.
IRestApiHelper A helper interface for performing REST API calls.
IResumableTest This interface is deprecated. No need for this anymore
IRetryDecision Interface driving the retry decision and applying the filter on the class for more targeted retry.
IRuntimeHintProvider
IRunUtil Interface for running timed operations and system commands.
IRunUtil.EnvPriority Enum that defines whether setting or unsetting a particular env.
IRunUtil.IRunnableResult An interface for asynchronously executing an operation that returns a boolean status.
ISandbox Interface defining a sandbox that can be used to run an invocation.
ISandboxFactory Factory for creating ISandbox .
ISetOptionReceiver Implementation of this interface should have an Option with a "set-option" name linked to HostTest#SET_OPTION_NAME .
IShardableListener ITestInvocationListener ที่สามารถแบ่งย่อยได้
IShardableTest A IRemoteTest that can be split into separately executable sub-tests.
IShardHelper Interface of an object that describes the sharding strategy to adopt for a configuration.
IsolatedHostTest Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process.
ISupportGranularResults อินเทอร์เฟซที่ระบุว่า ITestInvocationListener รองรับการรับผลลัพธ์แบบละเอียดหรือไม่
ISystemStatusChecker An checker that performs checks on system status and returns a boolean to indicate if the system is in an expected state.
ISystemStatusCheckerReceiver A IRemoteTest that requires access to the ISystemStatusChecker from the configuration.
ITargetCleaner This interface is deprecated. tearDown has been moved to the base ITargetPreparer interface.
ITargetPreparer Prepares the test environment for the test run.
ITerribleFailureHandler An interface to handle terrible failures from LogUtil.CLog.wtf(String, Throwable)
ITestAnnotationFilterReceiver A runner that can filter which tests to run based on annotations.
ITestCollector Provides support for test collection; when set, test runner must perform a dry run to collect test cases without actually executing them.
ITestDevice ให้ API ระดับที่เชื่อถือได้และสูงกว่าเล็กน้อยแก่ ddmlib IDevice
ITestDevice.ApexInfo คลาส struct อย่างง่ายเพื่อเก็บข้อมูลเกี่ยวกับ APEX เดียว
ITestDevice.MountPointInfo คลาส struct อย่างง่ายเพื่อเก็บข้อมูลเกี่ยวกับจุดเมานต์เดียว
ITestDevice.RecoveryMode
ITestFileFilterReceiver A runner that can receive a file specifying which tests to run and/or not to run.
ITestFilterReceiver A runner that can filter which tests to run.
ITestInformationReceiver Interface to receive the TestInformation for some classes.
ITestInvocation Handles one TradeFederation test invocation.
ITestInvocation.ExitInformation Represents some exit information for an invocation.
ITestInvocationListener ผู้ฟังผลการทดสอบจากการเรียกทดสอบ
ITestLifeCycleReceiver Receives event notifications during instrumentation test runs.
ITestLogger เอนทิตีที่สามารถดำเนินการบันทึกสตรีมข้อมูลประเภทต่างๆ
ITestLoggerReceiver An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes.
ITestsPool Interface describing a pool of tests that we can access and run
ITestSuite Abstract class used to run Test Suite.
ITestSuite.MultiDeviceModuleStrategy
ITestSuiteResultLoader Interface describing an helper to load previous results in a way that can be re-run.
ITestSummaryListener อินเทอร์เฟซที่ช่วยให้ ITestInvocationListener แลกเปลี่ยนข้อมูลที่จำกัดผ่านบทสรุป
ITestsZipInstaller Installs tests from a tests zip file (as outputted by the build system) on a device.
ITokenProvider Interface describing an object that can provide the tokens of a particular device.
ITokenRequest Interface a IRemoteTest can implement to expose the fact that it requires a device with a special token.

J

JarHostTest Test runner for host-side JUnit tests.
JarHostTest.HostTestListener Wrapper Listener ที่ส่งต่อเหตุการณ์ทั้งหมดยกเว้น testRunStarted() และ testRunEnded() ไปยัง Listener ที่ฝังตัว
JavaCodeCoverageCollector BaseDeviceMetricCollector ที่จะดึงการวัดความครอบคลุมของ Java ออกจากอุปกรณ์และบันทึกเป็นสิ่งประดิษฐ์ทดสอบ
JavaCodeCoverageFlusher A utility class that resets and forces a flush of Java code coverage measurements from processes running on the device.
JSONFileKeyStoreClient A sample implementation where a local JSON file acts a key store.
JSONFileKeyStoreFactory Implementation of a JSON KeyStore Factory, which provides a JSONFileKeyStoreClient for accessing a JSON Key Store File.
JsonHttpTestResultReporter ผู้รายงานผลลัพธ์ที่เข้ารหัสผลลัพธ์เมตริกการทดสอบและสาขา ข้อมูลอุปกรณ์ลงใน JSON และ POST ลงในปลายทางบริการ HTTP
JUnit4ResultForwarder Result forwarder from JUnit4 Runner.
JUnit4TestFilter Helper Class that provides the filtering for JUnit4 runner by extending the Filter .
JUnitRunUtil A helper class for directing a IRemoteTest#run(TestInformation, ITestInvocationListener) call to a Test#run(TestResult) call.
JUnitToInvocationResultForwarder A class that listens to TestListener events and forwards them to an ITestInvocationListener .
JUnitXmlParser Parser that extracts test result data from JUnit results stored in ant's XMLJUnitResultFormatter and forwards it to a ITestInvocationListener.

K

KeyguardControllerState A container for the keyguard states.
KeyguardStatusChecker Checks the keyguard status after module execution.
KeyStoreException Thrown when a fatal key store error happens.
KillExistingEmulatorPreparer A ITargetPreparer that shuts down a running emulator.
KnownFailurePreparer Target preparer to skip retrying known failure.

L

LabResourceDeviceMonitor The lab resource monitor which initializes/manages the gRPC server for LabResourceService.
LargeOutputReceiver A class designed to help run long running commands collect output.
LastShardDetector เมื่อรัน Sharding ในเครื่อง บางครั้งเราต้องการดำเนินการบางอย่างเมื่อ Sharding สุดท้ายถึง invocationEnded(long)
LaunchCvdHelper Utility helper to control Launch_cvd in the Cuttlefish VM.
LeakedThreadStatusChecker Status checker to ensure a module does not leak a running Thread.
LegacySubprocessResultsReporter การใช้งานตัวรายงานผลลัพธ์ของกระบวนการย่อยที่หยุดนิ่งซึ่งควรยังคงเข้ากันได้กับ TF/CTS เวอร์ชันก่อนหน้า (เช่น 8+) แม้จะมีการเปลี่ยนแปลงในซูเปอร์คลาสก็ตาม
ListInstrumentationParser A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query
ListInstrumentationParser.InstrumentationTarget
LocalAndroidVirtualDevice คลาสสำหรับอุปกรณ์เสมือนในเครื่องที่ทำงานบนโฮสต์ TradeFed
LocalAppBuildProvider A IBuildProvider that constructs a IBuildInfo based on a provided local path
LocalDeveloper Detects and returns whether this is a local developer running Tradefed.
LocalDeviceBuildProvider A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path.
LocalEmulatorLaunch A TargetPreparer that launches an emulator locally from an android build environment.
LocalEmulatorSnapshot A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment
LocalFileHeader LocalFileHeader is a class containing the information of a file/folder inside a zip file.
LocalFileResolver Implementation of IRemoteFileResolver that allows linking local files
LocalFolderBuildProvider A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path
LocalHostResourceManager Manager host resource.
LocalPool Implementation of a pool of local tests
LocalRunInstructionBuilder Utility to compile the instruction to run test locally.
LockSettingsBaselineSetter A setter to remove screen lock settings.
LogcatCrashResultForwarder ผู้ฟังพิเศษ: เมื่อเกิดความล้มเหลว (กระบวนการเครื่องมือขัดข้อง) ระบบจะพยายามแยกข้อผิดพลาดออกจาก Logcat และเพิ่มลงในข้อความความล้มเหลวที่เกี่ยวข้องกับการทดสอบ
LogcatEventParser
LogcatEventType Event types for LogcatEventParser .
LogcatOnFailureCollector ตัวรวบรวมที่จะจับภาพและบันทึก logcat เมื่อกรณีทดสอบล้มเหลว
LogcatReceiver Class that collects logcat in background.
LogcatTimingMetricCollector ตัวรวบรวมเมตริกที่รวบรวมข้อมูลเวลา (เช่น เวลาเปลี่ยนของผู้ใช้) จาก logcat ระหว่างการทดสอบซ้ำหนึ่งครั้งหรือหลายครั้งโดยใช้รูปแบบ regex ที่กำหนดเพื่อแยกวิเคราะห์สัญญาณเริ่มต้นและสิ้นสุดของเหตุการณ์จากบรรทัด logcat
LogDataType Represents the data type of log data.
LogFile Class to hold the metadata for a saved log file.
LogFileSaver A helper for ITestInvocationListener 's that will save log data to a file
LogReceiver
LogRegistry A ILogRegistry implementation that multiplexes and manages different loggers, using the appropriate one based on the ThreadGroup of the thread making the call.
LogSaverResultForwarder ResultForwarder สำหรับบันทึกบันทึกด้วยโปรแกรมรักษาไฟล์ส่วนกลาง
LogUtil A logging utility class.
LogUtil.CLog A shim class for Log that automatically uses the simple classname of the caller as the log tag

M

MainlineModuleHandler A simple handler class for Mainline Modules that creates a InstallApexModuleTargetPreparer and injects the dynamic link into it based on the given mainline modules to automatically retrieve those modules.
MainlineTestModuleController Base class for a module controller to run tests based on the preloaded mainline modules on the device under test.
ManagedRemoteDevice อุปกรณ์ที่ทำงานภายในเครื่องเสมือนที่เราจัดการจากระยะไกลผ่านอินสแตนซ์ Tradefed ภายใน VM
ManagedTestDeviceFactory Factory to create the different kind of devices that can be monitored by Tf
MaxSdkModuleController Base class for a module controller to not run tests on versions above a specified SDK version number.
MergedZipEntryCollection Merge individual zip entries in a large zip file into blocks to minimize the download attempts.
MergeMultiBuildTargetPreparer A IMultiTargetPreparer that allows to pass information from one build to another by naming them and the file key to copy to the other build.
MergeStrategy Describes how the results should be aggregated when multiple attempts are present.
MetricFilePostProcessor ใช้สำหรับการอัปโหลดไฟล์บันทึกเมตริกที่รวบรวมระหว่างระดับการทดสอบและเรียกใช้
MetricOption Annotation for test methods annotated with @Test , or if the annotation is part of the annotation list of TestDescription that allows to specify some extra parameters useful for: Tuning the behavior of the collectors, filtering some methods.
เมตริก XMLResultReporter MetricsXMLResultReporter เขียนเมตริกทดสอบและเรียกใช้เมตริกไปยังไฟล์ XML ในโฟลเดอร์ที่ระบุโดยพารามิเตอร์โฟลเดอร์เมตริกที่ระยะการเรียกใช้สิ้นสุดของการทดสอบ
MetricTestCase Extension of TestCase that allows to log metrics when running as part of TradeFed.
MetricTestCase.LogHolder Structure to hold a log file to be reported.
MetricUtil Utility class for pulling metrics from pushed statsd configurations.
MetricUtility Contains common utility methods for storing the test metrics, aggregating the metrics in similar tests and writing the metrics to a file.
MinApiLevelModuleController Base class for a module controller to not run tests when it below a specified API Level.
MinSdkModuleController Base class for a module controller to not run tests on versions below a specified SDK version number.
MixImageZipPreparer An IMultiTargetPreparer that mixes a system build's images in a device build.
MixKernelTargetPreparer A ITargetPreparer that allows to mix a kernel image with the device image.
MoblyBinaryHostTest Host test meant to run a mobly python binary file from the Android Build system (Soong)
MoblyYamlResultControllerInfoHandler Mobly yaml result 'Controller Info' element handler.
MoblyYamlResultControllerInfoHandler.ControllerInfo
MoblyYamlResultControllerInfoHandler.ControllerInfo.Builder
MoblyYamlResultHandlerFactory Mobly yaml result handler factory which generates appropriate handler based on result type.
MoblyYamlResultHandlerFactory.InvalidResultTypeException
MoblyYamlResultHandlerFactory.Type
MoblyYamlResultParser Mobly yaml test results parser.
MoblyYamlResultRecordHandler Mobly yaml result 'Record' element handler.
MoblyYamlResultRecordHandler.Record
MoblyYamlResultRecordHandler.Record.Builder
MoblyYamlResultRecordHandler.RecordResult
MoblyYamlResultSummaryHandler Mobly yaml result 'Summary' element handler.
MoblyYamlResultSummaryHandler.Summary
MoblyYamlResultSummaryHandler.Summary.Builder
MoblyYamlResultTestNameListHandler Mobly yaml result 'Test Name List' element handler.
MoblyYamlResultTestNameListHandler.TestNameList
MoblyYamlResultTestNameListHandler.TestNameList.Builder
MoblyYamlResultUserDataHandler Mobly yaml result 'User Data' element handler.
MoblyYamlResultUserDataHandler.UserData
MoblyYamlResultUserDataHandler.UserData.Builder
ModifiedFilesParser Class responsible to parse and extract information from modified_files.json.
ModuleDefinition Container for the test run configuration.
โมดูลฟัง Listener ที่แนบมากับแต่ละ IRemoteTest ของแต่ละโมดูลเพื่อรวบรวมรายการผลลัพธ์
โมดูล LogcatCollector เวอร์ชันของตัวรวบรวม logcat แต่สำหรับโมดูล
ModuleMerger Helper class for operation related to merging ITestSuite and ModuleDefinition after a split.
ModuleOemTargetPreparer
ModuleParameters Special values associated with the suite "parameter" keys in the metadata of each module.
ModuleParametersHelper Helper to get the IModuleParameterHandler associated with the parameter.
ModulePusher
ModulePusher.ModulePushError Fatal error during Mainline module push.
ModuleSplitter Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition .
MultiFailureDescription Collect multiple FailureDescription in one holder.
MultiMap <K, V> A ERROR(/Map) that supports multiple values per key.

N

NameMangleListener ผู้ฟังพร็อกซีเพื่อแปลวิธีการทดสอบ คลาส และชื่อแพ็กเกจตามที่รายงานผลลัพธ์
NativeBenchmarkTest A Test that runs a native benchmark test executable on given device.
NativeBenchmarkTestParser A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation.
NativeBridgeModuleController A module controller to check if a device support native bridge.
NativeCodeCoverageFlusher A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device.
เนทีฟดีไวซ์ การใช้งานเริ่มต้นของอุปกรณ์ Android ที่ไม่ใช่สแต็ ITestDevice
NativeDevice.AdbAction A ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for running a OS 'adb ....' command.
NativeDevice.AdbShellAction
NativeDevice.RebootDeviceAction ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for rebooting a device.
NativeDevice.RebootMode A mode of a reboot.
NativeDeviceStateMonitor Helper class for monitoring the state of a IDevice with no framework support.
NativeLeakCollector A ITargetPreparer that runs 'dumpsys meminfo --unreachable -a' to identify the unreachable native memory currently held by each process.
NativeStressTest A Test that runs a native stress test executable on given device.
NativeStressTestParser A IShellOutputReceiver that parses the stress test data output, collecting metrics on number of iterations complete and average time per iteration.
NegativeHandler Handler that specify that nothing should be done and the parameter should not create any extra module.
NestedDeviceStateMonitor Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment.
NestedRemoteDevice การเป็นตัวแทนของอุปกรณ์ที่ทำงานภายใน Cuttlefish VM ระยะไกล
NetworkNotAvailableException Thrown when a device is not able to connect to network for testing.
NoApkTestSkipper Special preparer that allows to skip an invocation completely (preparation and tests) if there are no apks to tests.
NoDeviceException Thrown when there's no device to execute a given command.
NoisyDryRunTest Run noisy dry run on a command file.
NoOpConfigOptionValueTransformer An no-op IConfigOptionValueTransformer
NotMultiAbiHandler Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module.
NullDevice A placeholder IDevice used by DeviceManager to allocate when IDeviceSelection#nullDeviceRequested() is true

O

OpenObjectLoader Loader for the default objects available in AOSP.
Option Annotates a field as representing a IConfiguration option.
Option.Importance
OptionClass Annotates a class as representing a IConfiguration object.
OptionCopier A helper class that can copy Option field values with same names from one object to another.
OptionDef Holds the details of an Option .
OptionFetcher Helper to get the test options from the parent process.
OptionNotAllowedException Specific ConfigurationException when an option is not allowed to be passed in the command line.
OptionSetter เติมฟิลด์ Option
OptionSetter.OptionFieldsForName คอนเทนเนอร์สำหรับรายการฟิลด์ตัวเลือกพร้อมชื่อที่กำหนด
OptionUpdateRule Controls the behavior when an option is specified multiple times.
OtaDeviceBuildInfo A IDeviceBuildInfo used for over-the-air update testing.
OtatoolsBuildInfo An IBuildInfo that contains otatools artifacts.
OtaZipfileBuildProvider Provides a IBuildInfo based on a local OTA zip file.
OxygenClient A class that manages the use of Oxygen client binary to lease or release Oxygen device.
OxygenUtil Utility to interact with Oxygen service.

P

PackageInfo Container for an application's package info parsed from device.
PackageInstalledModuleController Module controller to not run tests when the device has not got the given packages installed.
Pair <A, B> Define our own Pair class which contains two objects.
PairingMultiTargetPreparer A multi-target preparer helps make Bluetooth pairing (and connection) between two devices.
ParallelDeviceExecutor <V> Wrapper of ERROR(/ExecutorService) to execute a function in parallel.
ParentSandboxInvocationExecution Version of InvocationExecution for the parent invocation special actions when running a sandbox.
ParentShardReplicate Replicate a setup for one device to all other devices that will be part of sharding.
PartialZipDownloadCache Utility to cache partial download files based on their content.
PassingTestFileReporter ITestInvocationListener ที่บันทึกรายการกรณีทดสอบที่ผ่านไปยังไฟล์ทดสอบ
PerfettoGenericPostProcessor ตัวประมวลผลภายหลังที่ประมวลผลไฟล์โปรโตเมตริก perfetto แบบข้อความ/ไบนารีเป็นคู่คีย์-ค่าโดยการขยายข้อความโปรโตและฟิลด์แบบวนซ้ำด้วยค่าสตริงจนกระทั่งพบฟิลด์ที่มีค่าตัวเลข
PerfettoGenericPostProcessor.AlternativeParseFormat
PerfettoGenericPostProcessor.METRIC_FILE_FORMAT
PerfettoPreparer Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to.
PerfettoPullerMetricCollector การใช้งานพื้นฐานของ FilePullerDeviceMetricCollector ที่อนุญาตให้ดึงไฟล์ perfetto จากอุปกรณ์และรวบรวมเมตริกจากมัน
PerfettoPullerMetricCollector.METRIC_FILE_FORMAT
PerfettoTraceRecorder A utility class for recording perfetto trace on a ITestDevice .
PrettyPrintDelimiter Helper utility that helps to print delimited message that stands out.
PrettyTestEventLogger ตัวบันทึกจะจับคู่เหตุการณ์และบันทึกเพื่อให้ง่ายต่อการดีบัก
ProcessInfo Used to store process related(USER, PID, NAME, START TIME IN SECOND SINCE EPOCH) information.
ProfileParameterHandler Base parameter handler for any profile user.
ProfileTargetPreparer Base class for setting up target preparer for any profile user android.os.usertype.profile.XXX .
PropertyChanger A utility class for changing (or adding) items in an Android property file
ProtoResultParser Parser for the Tradefed results proto format.
ProtoResultParser.TestLevel Enumeration representing the current level of the proto being processed.
ProtoResultReporter ผู้รายงานผลลัพธ์สร้างโปรโตบัฟ TestRecord พร้อมผลลัพธ์ทั้งหมดภายใน
ProtoUtil Utility methods for dealing with protobuf messages type-agnostically.
ProxyConfiguration Object that allows pointing to a remote configuration to execute.
PsParser Utility used to parse(USER,PID and NAME) from the "ps" command output
PtsBotTest Run PTS-bot tests.
PushFileInvoker This class is deprecated. Use PushFilePreparer instead
PushFilePreparer A ITargetPreparer that attempts to push any number of files from any host path to any device path.
PythonBinaryHostTest Host test meant to run a python binary file from the Android Build system (Soong)

The test runner supports include-filter and exclude-filter.

PythonBinaryHostTest.PythonForwarder ตัวส่งต่อผลลัพธ์เพื่อแทนที่ชื่อรันด้วยชื่อไบนารี
PythonUnitTestResultParser Interprets the output of tests run with Python's unittest framework and translates it into calls on a series of ITestInvocationListener s.
PythonUnitTestRunner This class is deprecated. Use PythonBinaryHostTest instead.
PythonVirtualenvHelper A helper class for activating Python 3 virtual environment.
PythonVirtualenvPreparer Sets up a Python virtualenv on the host and installs packages.

Q

QuotationAwareTokenizer

R

รีบูตเครื่องรวบรวมเหตุผล ตัวรวบรวมที่รวบรวมการรีบูตอุปกรณ์ระหว่างการทดสอบและรายงานตามเหตุผลและการนับ
RebootTargetPreparer Target preparer that reboots the device.
RecoveryLogPreparer A target preparer used to collect logs before recovery.
RegexTrie <V> The RegexTrie is a trie where each stored segment of the key is a regex ERROR(/Pattern) .
อุปกรณ์ Android ระยะไกล การใช้งาน ITestDevice สำหรับอุปกรณ์ Android เต็มรูปแบบที่เชื่อมต่อผ่านการเชื่อมต่อ adb
RemoteAndroid VirtualDevice ขยายพฤติกรรม RemoteAndroidDevice สำหรับอุปกรณ์ Android เต็มรูปแบบที่ทำงานใน Google Compute Engine (Gce)
RemoteAvdIDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true
RemoteDynamicPool Implementation of a pool of remote work queued tests
RemoteFileResolver A simple class that allows one to load files from a variety of places using URIs and the service provider functionality.
RemoteFileUtil Utility class to handle file from a remote instance
RemoteInvocationExecution Implementation of InvocationExecution that drives a remote execution.
RemoteInvocationExecution.FileOptionValueTransformer
RemoteSshUtil Utility to execute ssh commands on remote instances.
RemoteTestTimeOutEnforcer ผู้ฟังที่อนุญาตให้ตรวจสอบเวลาดำเนินการของการกำหนดค่าการทดสอบที่กำหนดและล้มเหลวหากเกินเวลาที่กำหนด
RemoteZip Utilities to unzip individual files inside a remote zip file.
RemoveSystemAppPreparer A ITargetPreparer for removing an apk from the system partition before a test run.
รายงานผ่านการทดสอบ รายงานตัวกรองที่เป็นไปได้ในไฟล์เพื่อแยกการทดสอบที่ผ่าน
ResolvePartialDownload Resolve a partial download request.
ResourceMetricUtil Utility functions for composing metrics.
ResourceUtil Utility for reading configuration resources.
RestApiHelper A helper class for performing REST API calls.
RestartSystemServerTargetPreparer Target preparer that restarts the system server without rebooting the device.
ตัวรวบรวมผลลัพธ์ ตัวส่งต่อพิเศษที่รวบรวมผลลัพธ์เมื่อจำเป็น โดยอิงตามกลยุทธ์การลองใหม่ที่ใช้
ผลลัพธ์และ LogForwarder ตัวส่งต่อสำหรับผลลัพธ์และบันทึกเหตุการณ์
ผู้ส่งต่อผลลัพธ์ ITestInvocationListener ที่ส่งต่อผลการร้องขอไปยังรายการ Listener อื่นๆ
ResultsPlayer Special runner that replays the results given to it.
RetentionFileSaver Helper class for creating a .retention file in a directory.
RetryConfigurationFactory Factory that handles retrying a command.
ลองอีกครั้ง LogSaverResultForwarder ผู้ส่งต่อที่จัดการกับความพยายามปัจจุบันที่เราทำอยู่
RetryPreparationDecision A Class to describe the decisions about whether or not to retry preparation and to fail the module run.
RetryRescheduler A special runner that allows to reschedule a previous run tests that failed or where not executed.
RetryRescheduler.RetryType The types of the tests that can be retried.
ลองใหม่ResultForwarder ส่วนขยายของ ResultForwarder ที่พุชไปยังหมายเลขความพยายามที่กำหนดเสมอ
RetryResultHelper Helper class to determine which module or test should run or not.
RetryStatistics Structure holding the statistics for a retry session of one IRemoteTest .
RetryStrategy The Retry Strategy to be used when re-running some tests.
RootTargetPreparer Target preparer that performs "adb root" or "adb unroot" based on option "force-root".
RunAftersWithInfo
RunBeforesWithInfo
RunCommandTargetPreparer
RunConfigDeviceRecovery Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step.
RunHostCommandTargetPreparer Target preparer to run arbitrary host commands before and after running the test.
RunHostScriptTargetPreparer Target preparer which executes a script before running a test.
RunInterruptedException Thrown when a run operation is interrupted by an external request.
RunNotifierWrapper Wrapper of RunNotifier so we can carry the DeviceNotAvailableException .
RunOnCloneProfileParameterHandler
RunOnCloneProfileTargetPreparer
RunOnSdkSandboxHandler Handler for ModuleParameters#RUN_ON_SDK_SANDBOX .
RunOnSdkSandboxTargetPreparer An ITargetPreparer to marks that tests should run in the sdk sandbox.
RunOnSecondaryUserParameterHandler
RunOnSecondaryUserTargetPreparer An ITargetPreparer that creates a secondary user in setup, and marks that tests should be run in that user.
RunOnSystemUserTargetPreparer An ITargetPreparer that marks that tests should be run on the user (rather than the current user).
RunOnWorkProfileParameterHandler
RunOnWorkProfileTargetPreparer An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user.
RuntimeRestartCollector ตัวรวบรวมที่รวบรวมการประทับเวลาของการรีสตาร์ทรันไทม์ (เซิร์ฟเวอร์ระบบขัดข้อง) ระหว่างการทดสอบการทำงาน หากมี
RunUtil A collection of helper methods for executing operations.
RustBenchmarkResultParser Interprets the output of tests run with Criterion benchmarking framework and translates it into calls on a series of ITestInvocationListener s.
RustBinaryHostTest Host test meant to run a rust binary file from the Android Build system (Soong)
RustBinaryTest A Test that runs a rust binary on given device.
RustTestBase Base class of RustBinaryHostTest and RustBinaryTest
RustTestBase.EnvPair
RustTestBase.Invocation
RustTestResultParser Interprets the output of tests run with Rust's unittest framework and translates it into calls on a series of ITestInvocationListener s.

S

SandboxConfigDump Runner class that creates a IConfiguration based on a command line and dump it to a file.
SandboxConfigDump.DumpCmd
SandboxConfigurationException Special Configuration Exception coming from the Sandbox setup.
SandboxConfigurationFactory Special Configuration factory to handle creation of configurations for Sandboxing purpose.
SandboxConfigUtil A utility class for managing IConfiguration when doing sandboxing.
SandboxedInvocationExecution Special sandbox execution of the invocation: This is the InvocationExection for when we are inside the sandbox running the command.
SandboxInvocationRunner Run the tests associated with the invocation in the sandbox.
SandboxOptions Class that can receive and provide options to a ISandbox .
ภาพหน้าจอ OnFailureCollector ตัวรวบรวมที่จะจับภาพและบันทึกหน้าจอเมื่อกรณีทดสอบล้มเหลว
Sdk28ModuleController A module controller to check if a device is on SDK 28 (Android 9) or above.
Sdk29ModuleController Only run tests if the device under test is SDK version 29 or above.
Sdk30ModuleController Only run tests if the device under test is SDK version 30 or above.
Sdk31ModuleController Only run tests if the device under test is SDK version 31 or above.
Sdk32ModuleController Only run tests if the device under test is SDK version 32 or above.
Sdk33ModuleController Only run tests if the device under test is SDK version 33 or above.
Sdk34ModuleController Only run tests if the device under test is SDK version 34 or above.
SecondaryUserHandler Handler for ModuleParameters#SECONDARY_USER .
SecondaryUserOnDefaultDisplayHandler Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY .
SecondaryUserOnSecondaryDisplayHandler Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY .
SemaphoreTokenTargetPreparer This is a preparer used to use token to serialize test excution in tradefed host.
SerializationUtil Utility to serialize/deserialize an object that implements ERROR(/Serializable) .
ServiceAccountKeyCredentialFactory A credential factory to create service account key based oauth Credential .
SettingsBaselineSetter A common setter to handle device baseline settings via ITestDevice.setSetting.
ShardBuildCloner Helper class that handles cloning a build info from the command line.
ShardHelper Helper class that handles creating the shards and scheduling them for an invocation.
ShardListener ITestInvocationListener ที่รวบรวมผลลัพธ์จากส่วนแบ่งการร้องขอ (หรือที่เรียกว่าการแบ่งการร้องขอเพื่อเรียกใช้บนทรัพยากรหลายรายการพร้อมกัน) และส่งต่อไปยังผู้ฟังรายอื่น
ShardMainResultForwarder ResultForwarder ที่รวมผลลัพธ์ของการเรียกใช้การทดสอบแบบแบ่งย่อย
ShellOutputReceiverStream Utility subclass of OutputStream that writes into an IShellOutputReceiver.
ShellStatusChecker Check if the shell status is as expected before and after a module run.
ShippingApiLevelModuleController Run tests if the device meets the following conditions:
  • If min-api-level is defined:
    • The device shipped with the min-api-level or later.
แสดงแผนที่PullerMetricCollector การใช้งานพื้นฐานของ FilePullerDeviceMetricCollector ที่อนุญาตให้ดึงไฟล์แผนที่แสดงจากอุปกรณ์และรวบรวมเมตริกจากอุปกรณ์
SideloadOtaTargetPreparer A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info

This target preparer assumes that the device will be in regular adb mode when started, and will ensure that the device exits in the same mode but with the newer build applied.

SimpleFileLogger A ILeveledLogOutput that directs log messages to stdout and to a single log file.
SimplePerfResult Object to hold all simpleperf test results
SimplePerfStatResultParser A utility class to parse simpleperf result.
SimplePerfUtil Utility class to dispatch simple command and collect results
SimplePerfUtil.SimplePerfType Enum of simpleperf command options
SimpleStats A small utility class that calculates a few statistical measures given a numerical dataset.
SizeLimitedOutputStream A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written.
SkipHWASanModuleController Base class for a module controller to not run tests on HWASan builds.
Sl4aBluetoothUtil A utility class provides Bluetooth operations on one or two devices using SL4A
Sl4aBluetoothUtil.BluetoothAccessLevel Enums for Bluetooth device access level which are based on BluetoothDevice.java
Sl4aBluetoothUtil.BluetoothConnectionState Enums for Bluetooth connection states which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothPriorityLevel Enums for Bluetooth profile priority level which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothProfile Enums for Bluetooth profiles which are based on BluetoothProfile.java
Sl4aClient Sl4A client to interact via RPC with SL4A scripting layer.
Sl4aEventDispatcher Event dispatcher polls for event and queue them by name to be queried.
Sl4aEventDispatcher.EventSl4aObject Object returned by the event poller.
SnapshotInputStreamSource A File-backed InputStreamSource.
SparseImageUtil Utility to unsparse sparse images.
SparseImageUtil.SparseInputStream SparseInputStream read from upstream and detects the data format.
StatsdBefore AfterGaugeMetricPostProcessor โพสต์โปรเซสเซอร์ที่ประมวลผลมาตรวัดเกจที่รวบรวมในลักษณะ "ก่อน/หลัง" เช่น
StatsdEventMetricPostProcessor ตัวประมวลผลภายหลังที่ประมวลผลเมตริกเหตุการณ์ในรายงาน statsd เป็นคู่คีย์-ค่า โดยใช้ตัวจัดรูปแบบที่ระบุบนตัวประมวลผล
StatsdGenericPostProcessor ตัวประมวลผลภายหลังที่ประมวลผลรายงาน binary proto statsd เป็นคู่คีย์-ค่าโดยขยายรายงานเป็นโครงสร้างแบบต้นไม้
StatusCheckerResult Contains the result of a ISystemStatusChecker execution.
StatusCheckerResult.CheckStatus
StdoutLogger A ILeveledLogOutput that directs log messages to stdout.
StopServicesSetup A ITargetPreparer that stops services on the device.
StreamProtoReceiver A receiver that translates proto TestRecord received into Tradefed events.
StreamProtoResultReporter การใช้งาน ProtoResultReporter
StreamUtil Utility class for managing input streams.
StrictShardHelper Sharding strategy to create strict shards that do not report together,
StringEscapeUtils Utility class for escaping strings for specific formats.
StringUtil Utility class for escaping strings for common string manipulation.
StubBuildProvider No-op empty implementation of a IBuildProvider .
StubDevice Stub placeholder implementation of a IDevice .
StubKeyStoreClient Default stub implementation for KeyStore Client.
StubKeyStoreFactory Default stub implementation for KeyStore Factory
StubLocalAndroidVirtualDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true
StubMultiTargetPreparer Placeholder empty implementation of a IMultiTargetPreparer .
StubTargetPreparer Placeholder empty implementation of a ITargetPreparer .
StubTest No-op empty test implementation.
StubTestRunListener Stub implementation of ITestRunListener
SubprocessCommandException A subprocess command failed to run.
SubprocessConfigBuilder Build a wrapper TF config XML for an existing TF config.
SubprocessEventHelper Helper to serialize/deserialize the events to be passed to the log.
SubprocessEventHelper.BaseTestEventInfo Base Helper for TestIgnored information.
SubprocessEventHelper.FailedTestEventInfo Helper for testFailed information.
SubprocessEventHelper.InvocationEndedEventInfo Helper for invocation ended information.
SubprocessEventHelper.InvocationFailedEventInfo Helper for InvocationFailed information.
SubprocessEventHelper.InvocationStartedEventInfo Helper for invocation started information.
SubprocessEventHelper.LogAssociationEventInfo Helper for logAssociation information.
SubprocessEventHelper.TestEndedEventInfo Helper for testEnded information.
SubprocessEventHelper.TestLogEventInfo Helper for testLog information.
SubprocessEventHelper.TestModuleStartedEventInfo Helper for test module started information.
SubprocessEventHelper.TestRunEndedEventInfo Helper for testRunEnded Information.
SubprocessEventHelper.TestRunFailedEventInfo Helper for testRunFailed information
SubprocessEventHelper.TestRunStartedEventInfo Helper for testRunStarted information
SubprocessEventHelper.TestStartedEventInfo Helper for testStarted information
SubprocessExceptionParser Helper to handle the exception output from standard Tradefed command runners.
SubprocessReportingHelper A class to build a wrapper configuration file to use subprocess results reporter for a cluster command.
SubprocessResultsReporter ใช้ ITestInvocationListener เพื่อระบุเป็น result_reporter และส่งต่อผลลัพธ์ของการทดสอบ การทดสอบรัน การทดสอบการเรียกใช้จากการประมวลผลย่อย
SubprocessTestResultsParser Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side.
SubprocessTestResultsParser.StatusKeys Relevant test status keys.
SubprocessTfLauncher A IRemoteTest for running tests against a separate TF installation.
SuiteApkInstaller Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info.
SuiteModuleLoader Retrieves Compatibility test module definitions from the repository.
SuiteModuleLoader.ConfigFilter A ERROR(/FilenameFilter) to find all the config files in a directory.
SuiteResultHolder Helper object to ease up serializing and deserializing the invocation results.
SuiteResultReporter รวบรวมผลการทดสอบสำหรับการเรียกใช้ทั้งชุดและแสดงผลสุดท้าย
SuiteResultReporter.ModulePrepTimes Object holder for the preparation and tear down time of one module.
SuiteTestFilter Represents a filter for including and excluding tests.
SwitchUserTargetPreparer A ITargetPreparer that switches to the specified user kind in setUp.
SystemServerFileDescriptorChecker Checks if system server appears to be running out of FDs.
SystemServerStatusChecker Check if the pid of system_server has changed from before and after a module run.
SystemUpdaterDeviceFlasher A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package.
SystemUtil Utility class for making system calls.
SystemUtil.EnvVariable

T

TableBuilder Helper class to display a matrix of String elements in a table.
TableFormatter Helper class to display a matrix of String elements so each element column is lined up
TargetFileUtils
TargetFileUtils.FilePermission
TargetSetupError A fatal error occurred while preparing the target for testing.
TarUtil Utility to manipulate a tar file.
TcpDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.tcpDeviceRequested() is true
TearDownPassThroughPreparer Allows for running tearDown on preparers that are included in a config as an object.
TelephonyHelper A utility to use and get information related to the telephony.
TelephonyHelper.SimCardInformation An information holder for the sim card related information.
TelephonyTokenProvider Token provider for telephony related tokens.
TemperatureThrottlingWaiter An ITargetPreparer that waits until device's temperature gets down to target
TemplateResolutionError Class extending ConfigurationException for template related error during configuration parsing.
TerribleFailureEmailHandler A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance.
TestAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestContext A class to model a TestContext message of TFC API.
TestDependencyResolver Helper to resolve dependencies if needed.
TestDescription Class representing information about a test case.
TestDescriptionsFile A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file.
อุปกรณ์ทดสอบ การใช้งาน ITestDevice สำหรับอุปกรณ์ Android เต็มรูปแบบ
TestDevice.MicrodroidBuilder A builder used to create a Microdroid TestDevice.
TestDeviceOptions Container for ITestDevice Option s
TestDeviceOptions.InstanceType
TestDeviceState A more fully featured representation of device state than DeviceState .
TestEnvironment A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Listener ใช้เพื่อดำเนินการต่างๆ เช่น ภาพหน้าจอ รายงานข้อผิดพลาด การรวบรวม Logcat เมื่อการทดสอบล้มเหลวเมื่อมีการร้องขอ
TestFailureModuleController Controller for module that simply want to tune how the tests failures log collected are behaving.
TestFilePushSetup A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestFilterHelper Helper class for filtering tests
TestGroupStatus A class to store status of a test group.
TestInfo Stores the test information set in a TEST_MAPPING file.
TestInformation Holder object that contains all the information and dependencies a test runner or test might need to execute properly.
TestInformation.Builder Builder to create a TestInformation instance.
TestInvocation Default implementation of ITestInvocation .
TestInvocation.RunMode The different mode an invocation can run into.
TestInvocation.Stage
TestInvocationManagementServer GRPC server helping to management test invocation and their lifecycle.
TestInvocationManagementServer.InvocationInformation
TestMapping A class for loading a TEST_MAPPING file.
TestMappingSuiteRunner Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite.
TestOption Stores the test option details set in a TEST_MAPPING file.
TestOutputUploader Uploads test output files to local file system, GCS, or an HTTP(S) endpoint.
TestRecordInterpreter Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed.
TestRecordProtoUtil Utility to read the TestRecord proto from a file.
TestResource A class to model a TestResource message returned by TFC API.
TestResourceDownloader A class to download test resource files from file system/GCS/HTTP.
TestResult Container for a result of a single test.
TestResultListener A simplification of ITestLifecycleListener for implementers that only care about individual test results.
TestRunnerUtil A utility class to help various test runners.
TestRunResult Holds results from a single test run.
TestRunToTestInvocationForwarder Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver .
TestsPoolPoller Tests wrapper that allow to execute all the tests of a pool of tests.
TestSuiteInfo A class that resolves loading of build related metadata for test suite

To properly expose related info, a test suite must include a test-suite-info.properties file in its jar resources

TestSummary A class to represent a test summary.
TestSummary.Type
TestSummary.TypedString
TestSystemAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device.
TestTimeoutEnforcer ผู้ฟังที่อนุญาตให้ตรวจสอบเวลาดำเนินการของกรณีทดสอบที่กำหนดและล้มเหลวหากเกินเวลาที่กำหนด
โปรแกรมรายงานผลข้อความ โปรแกรมรายงานผลการทดสอบที่ส่งต่อผลลัพธ์ไปยังเครื่องพิมพ์ผลลัพธ์ข้อความ JUnit
TfMetricProtoUtil Utility class to help with the Map to Map transition.
TfObjectTracker A utility to track the usage of the different Trade Fedederation objects.
TfSuiteRunner Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder.
TfTestLauncher A IRemoteTest for running unit or functional tests against a separate TF installation.
TimeStatusChecker Status checker to ensure that the device and host time are kept in sync.
TimeUtil Contains time related utility methods.
TimeVal This is a sentinel type which wraps a Long .
TimeWaster A simple target preparer to waste time and potentially restart the device.
TokenProperty Supported token with dynamic sharding.
TokenProviderHelper Helper that gives the provider associated to a particular token, in order to find out if a device supports the token.
TraceCmdCollector IMetricCollector ที่รวบรวมการติดตามระหว่างการทดสอบโดยใช้ trace-cmd และบันทึกไปยังการเรียกใช้
TracePropagatingExecutorService An executor service that forwards tasks to an underlying implementation while propagating the tracing context.
TracingLogger Class that helps to manage tracing for each test invocation.
TradefedConfigObject A class to model a TradefedConfigObject message of TFC API.
TradefedConfigObject.Type A list of configuration object types which can be injected to a cluster command config.
TradefedDelegator Objects that helps delegating the invocation to another Tradefed binary.
TradefedFeatureClient A grpc client to request feature execution from the server.
TradefedFeatureServer A server that responds to requests for triggering features.
TradefedSandbox Sandbox container that can run a Trade Federation invocation.
TradefedSandboxFactory Default implementation for SandboxFactory
TradefedSandboxRunner Runner associated with a TradefedSandbox that will allow executing the sandbox.
TradefedSandboxRunner.StubScheduledInvocationListener IScheduledInvocationListener ต้นขั้วที่ไม่ทำอะไรเลย

U

UiAutomatorRunner Runs UI Automator test on device and reports results.
UiAutomatorTest
UiAutomatorTest.LoggingOption
UiAutomatorTest.TestFailureAction
UnexecutedTestReporterThread Threads that takes care of reporting all unexecuted tests.
UniqueMultiMap <K, V> A MultiMap that ensures unique values for each key.
UsbResetMultiDeviceRecovery A IMultiDeviceRecovery which resets USB buses for offline devices.
UsbResetRunConfigRecovery Allow to trigger a command to reset the USB of a device
UsbResetTest An IRemoteTest that reset the device USB and checks whether the device comes back online afterwards.
UserChecker Checks if users have changed during the test.
UserCleaner A ITargetPreparer that removes secondary users on teardown.
UserHelper
UserInfo Similar to UserInfo class from platform.
UserInfo.UserType Supported variants of a user's type in external APIs.

V

ValidateSuiteConfigHelper This class will help validating that the IConfiguration loaded for the suite are meeting the expected requirements: - No Build providers - No Result reporters
VersionedFile Data structure representing a file that has an associated version.
VersionParser Fetch the version of the running tradefed artifacts.
VisibleBackgroundUserPreparer Target preparer for running tests in a user that is started in the visible in the background.
VmRemoteDevice A Remote virtual device that we will manage from inside the Virtual Machine.

W

WaitDeviceRecovery A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands.
WaitForDeviceDatetimePreparer A ITargetPreparer that waits for datetime to be set on device

Optionally this preparer can force a TargetSetupError if datetime is not set within timeout, or force host datetime onto device,

WifiHelper Helper class for manipulating wifi services on device.
WifiPreparer A ITargetPreparer that configures wifi on the device if necessary.

X

XmlFormattedGeneratorReporter การใช้งาน FormattedGeneratorReporter ซึ่งจัดรูปแบบชุดผลลัพธ์ในรูปแบบ xml
XmlResultReporter เขียนผลลัพธ์ JUnit ไปยังไฟล์ XML ในรูปแบบที่สอดคล้องกับ XMLJUnitResultFormatter ของ Ant
XmlSuiteResultFormatter Utility class to save a suite run as an XML.
XmlSuiteResultFormatter.RunHistory Helper object for JSON conversion.

Y

YamlClassOptionsParser Helper to parse test runner information from the YAML Tradefed Configuration.

Z

ZipCompressionStrategy An ICompressionStrategy for creating zip archives.
ZipUtil A helper class for compression-related operations
ZipUtil2 A helper class for zip extraction that takes POSIX file permissions into account