com.android.tradefed.util
อินเทอร์เฟซ
ClassPathScanner.IClassPathFilter |
ตัวกรองสำหรับเส้นทางรายการ classpath
มีลายหลังวันที่ |
ConditionPriorityBlockingQueue.IMatcher<T> | อินเทอร์เฟซสำหรับพิจารณาว่าองค์ประกอบตรงกับเงื่อนไขบางประเภทหรือไม่ |
ICompressionStrategy | อินเทอร์เฟซที่แสดงอัลกอริทึมการบีบอัดซึ่งสามารถเลือกได้เมื่อรันไทม์ |
IDisableable | อินเทอร์เฟซที่อธิบายออบเจ็กต์ Tradefed ที่ปิดใช้ได้ |
IRestApiHelper | อินเทอร์เฟซตัวช่วยสําหรับการเรียก REST API |
ชั้นเรียน
AaptParser | คลาสที่ดึงข้อมูลจาก APK โดยการแยกวิเคราะห์เอาต์พุตของ "aapt dump badging" |
AbiFormatter | คลาสยูทิลิตีสําหรับ abi |
AdbRootElevator |
AutoCloseable ที่เปิดใช้ adb root เมื่อสร้างหากจำเป็นและกู้คืนสถานะรูทเมื่อเสร็จสมบูรณ์
|
AppVersionFetcher | คลาสยูทิลิตีเพื่อรับสตริงเวอร์ชันแอปจากอุปกรณ์ |
BluetoothUtils |
ฟังก์ชันยูทิลิตีสําหรับการเรียก BluetoothInstrumentation ในอุปกรณ์
โค้ด BluetoothInstrumentation ฝั่งอุปกรณ์จะอยู่ใน AOSP ที่
|
BuildInfoUtil |
คลาสยูทิลิตีที่จะช่วยจัดการ IBuildInfo
|
BuildTestsZipUtils | คลาสตัวช่วยสำหรับการดำเนินการที่เกี่ยวข้องกับไฟล์ ZIP ทดสอบที่ระบบบิลด์ Android สร้างขึ้น |
BulkEmailer | ยูทิลิตีสำหรับส่งอีเมลที่อนุญาตให้กําหนดค่าต่อไปนี้ได้ ช่วงเวลาที่ส่ง ขนาดการส่งครั้งแรก ผู้รับ และจํานวนข้อความทั้งหมด |
BundletoolUtil | คลาสยูทิลิตีที่ใช้บรรทัดคำสั่งของ Bundletool เพื่อติดตั้ง .apk ในอุปกรณ์ |
CircularAtraceUtil | ยูทิลิตี atrace ที่พัฒนาขึ้นเพื่อระบุสาเหตุหลักของ ANR ระหว่างการทดสอบด้วย Monkey เป็นหลัก |
CircularByteArray | โครงสร้างข้อมูลสำหรับเก็บอาร์เรย์ขนาดคงที่ที่ทํางานเป็นบัฟเฟอร์แบบวน และติดตามผลรวมของค่าทั้งหมดในอาร์เรย์ |
ClassPathScanner | ค้นหารายการใน classpath |
ClassPathScanner.ClassNameFilter |
IClassPathFilter ที่กรองและเปลี่ยนรูปแบบชื่อคลาส Java
|
ClassPathScanner.ExternalClassNameFilter |
ClassNameFilter ที่ปฏิเสธคลาสภายใน
|
ConditionPriorityBlockingQueue<T> |
คลาสที่ปลอดภัยสำหรับเธรดซึ่งมีการดำเนินการแบบ ERROR(/PriorityBlockingQueue) ที่สามารถดึงข้อมูลออบเจ็กต์ที่ตรงกับเงื่อนไขหนึ่งๆ
|
ConditionPriorityBlockingQueue.AlwaysMatch<T> |
ConditionPriorityBlockingQueue.IMatcher
ที่ตรงกับออบเจ็กต์ใดก็ได้
|
DeviceConcurrentUtil |
มีเมธอดและคลาสยูทิลิตีสําหรับการดําเนินการคําสั่งฝั่งอุปกรณ์พร้อมกัน
ใช้ |
DeviceConcurrentUtil.ShellCommandCallable<V> |
ERROR(/Callable) ที่รวมรายละเอียดของการดำเนินการคำสั่งเชลล์ในITestDevice
|
DeviceRecoveryModeUtil | |
DirectedGraph<V> | การใช้งานกราฟมีทิศทางแบบไม่ถ่วงน้ำหนัก |
EmmaXmlConstants | ค่าคงที่ที่ใช้เมื่อแยกวิเคราะห์รายงาน XML ของ emma |
FakeTestsZipFolder | ฟิกซ์เจอร์การทดสอบที่สร้างโฟลเดอร์ทดสอบที่แตกไฟล์แล้วจำลองตามรายการเนื้อหา |
FileIdleMonitor | ตรวจสอบไฟล์และเรียกใช้การติดต่อกลับหากไม่มีการใช้งาน (เช่น |
FixedByteArrayOutputStream |
ERROR(/OutputStream) ในหน่วยความจําที่เก็บเฉพาะข้อมูลจํานวนสูงสุด
|
FlashingResourceUtil |
ยูทิลิตีนี้ช่วยในการตั้งค่าอาร์ติแฟกต์เวอร์ชันที่เหมาะสมเพื่อให้สามารถแฟลชผ่าน DeviceFlashPreparer ได้
|
GCSBucketUtil | เครื่องมือจัดการไฟล์สำหรับดาวน์โหลดและอัปโหลดไฟล์จาก Google Cloud Storage (GCS) |
GCSBucketUtil.GCSFileMetadata | Wrapper ง่ายๆ สำหรับข้อมูลไฟล์ใน GCS |
GCSCommon | คลาสพื้นฐานสําหรับการดําเนินการของ Gcs เช่น การดาวน์โหลดและการอัปโหลด |
GCSFileDownloader | เครื่องมือดาวน์โหลดไฟล์เพื่อดาวน์โหลดไฟล์จาก Google Cloud Storage (GCS) |
GCSFileUploader | โปรแกรมอัปโหลดไฟล์เพื่ออัปโหลดข้อมูลไฟล์ไปยัง Google Cloud Storage (GCS) |
GoogleApiClientUtil | ยูทิลิตีสําหรับสร้างไคลเอ็นต์ Google API |
HprofAllocSiteParser | คลาสตัวช่วยในการแยกวิเคราะห์ข้อมูลจากส่วน "Allocation Sites" ของรายงาน hprof |
JavaCodeCoverageFlusher | คลาสยูทิลิตีที่จะรีเซ็ตและบังคับให้ล้างการวัดการครอบคลุมโค้ด Java จากกระบวนการที่ทำงานอยู่ในอุปกรณ์ |
JUnit4TestFilter |
คลาสตัวช่วยที่กรองโปรแกรมรันไทม์ JUnit4 โดยการขยาย Filter
|
JUnitXmlParser | โปรแกรมแยกวิเคราะห์ที่ดึงข้อมูลผลลัพธ์การทดสอบจากผลลัพธ์ JUnit ที่เก็บไว้ใน XMLJUnitResultFormatter ของ ant และส่งต่อไปยัง ITestInvocationListener |
ListInstrumentationParser |
IShellOutputReceiver ที่แยกวิเคราะห์เอาต์พุตของคําค้นหา "pm list instrumentation"
|
ListInstrumentationParser.InstrumentationTarget | |
LocalRunInstructionBuilder | ยูทิลิตีสำหรับคอมไพล์คำสั่งเพื่อเรียกใช้การทดสอบในเครื่อง |
LogcatEventParser | |
MetricUtility | มีเมธอดยูทิลิตีทั่วไปสําหรับการจัดเก็บเมตริกการทดสอบ การรวมเมตริกในการทดสอบที่คล้ายกัน และการเขียนเมตริกลงในไฟล์ |
NativeCodeCoverageFlusher | คลาสยูทิลิตีที่ล้างการวัดความครอบคลุมของเครือข่ายเดิมและบังคับให้ล้างข้อมูลความครอบคลุมของเครือข่ายเดิมจากกระบวนการในอุปกรณ์ |
คู่<A, B> | กำหนดคลาส Pair ของเราเองซึ่งมีออบเจ็กต์ 2 รายการ |
PrettyPrintDelimiter | ยูทิลิตีตัวช่วยที่จะช่วยพิมพ์ข้อความที่คั่นไว้ซึ่งโดดเด่น |
PropertyChanger | คลาสยูทิลิตีสำหรับเปลี่ยน (หรือเพิ่ม) รายการในไฟล์พร็อพเพอร์ตี้ Android |
ProtoUtil | วิธีการยูทิลิตีสําหรับจัดการข้อความ protobuf โดยไม่คํานึงถึงประเภท |
PsParser | ยูทิลิตีที่ใช้แยกวิเคราะห์(USER,PID และ NAME) จากเอาต์พุตคำสั่ง "ps" |
QuotationAwareTokenizer | |
RegexTrie<V> |
RegexTrie คือไตรซึ่งแต่ละส่วนของคีย์ที่ERROR(/Pattern)
|
RemoteZip | ยูทิลิตีสำหรับแตกไฟล์แต่ละไฟล์ในไฟล์ ZIP ระยะไกล |
RestApiHelper | คลาสตัวช่วยสําหรับการเรียก REST API |
SerializationUtil |
ยูทิลิตีสำหรับจัดรูปแบบ/แยกรูปแบบออบเจ็กต์ที่ใช้ ERROR(/Serializable)
|
ShellOutputReceiverStream | ยูทิลิตีคลาสย่อยของ OutputStream ที่เขียนลงใน IShellOutputReceiver |
SimplePerfResult | ออบเจ็กต์สำหรับเก็บผลการทดสอบ simpleperf ทั้งหมด |
SimplePerfStatResultParser | คลาสยูทิลิตีสำหรับแยกวิเคราะห์ผลลัพธ์ของ simpleperf |
SimplePerfUtil | คลาสยูทิลิตีสำหรับส่งคําสั่งง่ายๆ และรวบรวมผลลัพธ์ |
SimpleStats | คลาสยูทิลิตีขนาดเล็กที่คำนวณการวัดทางสถิติบางอย่างจากชุดข้อมูลตัวเลข |
SizeLimitedOutputStream |
ERROR(/OutputStream) ที่สำรองข้อมูลแบบปลอดภัยสำหรับเธรดซึ่งจำกัดปริมาณข้อมูลสูงสุดที่เขียนได้
|
Sl4aBluetoothUtil | คลาสยูทิลิตีจะดำเนินการบลูทูธในอุปกรณ์ 1 หรือ 2 เครื่องโดยใช้ SL4A |
StringEscapeUtils | คลาสยูทิลิตีสำหรับการหลีกหนีสตริงสำหรับรูปแบบที่เฉพาะเจาะจง |
StringUtil | คลาสยูทิลิตีสำหรับการหลีกหนีสตริงสําหรับการจัดการสตริงทั่วไป |
SubprocessEventHelper | ตัวช่วยในการแปลงเป็นอนุกรม/แปลงอนุกรมเหตุการณ์ที่จะส่งไปยังบันทึก |
SubprocessEventHelper.BaseTestEventInfo | ตัวช่วยพื้นฐานสําหรับข้อมูล TestIgnored |
SubprocessEventHelper.FailedTestEventInfo | เครื่องมือสำหรับข้อมูล testFailed |
SubprocessEventHelper.InvocationEndedEventInfo | ตัวช่วยสำหรับข้อมูลการเรียกใช้ที่สิ้นสุด |
SubprocessEventHelper.InvocationFailedEventInfo | เครื่องมือสำหรับข้อมูล InvocationFailed |
SubprocessEventHelper.InvocationStartedEventInfo | ตัวช่วยสำหรับข้อมูลการเริ่มการเรียกใช้ |
SubprocessEventHelper.LogAssociationEventInfo | เครื่องมือสำหรับข้อมูล logAssociation |
SubprocessEventHelper.TestEndedEventInfo | ตัวช่วยสำหรับข้อมูล testEnded |
SubprocessEventHelper.TestLogEventInfo | ตัวช่วยสำหรับข้อมูล testLog |
SubprocessEventHelper.TestModuleStartedEventInfo | ตัวช่วยสำหรับข้อมูลการเริ่มโมดูลทดสอบ |
SubprocessEventHelper.TestRunEndedEventInfo | ตัวช่วยสำหรับข้อมูล testRunEnded |
SubprocessEventHelper.TestRunFailedEventInfo | ตัวช่วยสำหรับข้อมูล testRunFailed |
SubprocessEventHelper.TestRunStartedEventInfo | ตัวช่วยสำหรับข้อมูล testRunStarted |
SubprocessEventHelper.TestStartedEventInfo | เครื่องมือช่วยสำหรับข้อมูล testStarted |
SubprocessExceptionParser | ตัวช่วยจัดการเอาต์พุตข้อยกเว้นจากเครื่องมือเรียกใช้คำสั่ง Tradefed มาตรฐาน |
SubprocessTestResultsParser |
ขยาย ERROR(/FileOutputStream) เพื่อแยกวิเคราะห์เอาต์พุตก่อนที่จะเขียนลงในไฟล์เพื่อให้เราสร้างเหตุการณ์ทดสอบฝั่ง Launcher ได้
|
SubprocessTestResultsParser.StatusKeys | คีย์สถานะการทดสอบที่เกี่ยวข้อง |
SystemUtil | คลาสยูทิลิตีสําหรับการเรียกระบบ |
TableBuilder | คลาสตัวช่วยสำหรับแสดงเมทริกซ์ขององค์ประกอบสตริงในตาราง |
TableFormatter | คลาสตัวช่วยในการแสดงเมทริกซ์ขององค์ประกอบสตริงเพื่อให้คอลัมน์องค์ประกอบแต่ละคอลัมน์เรียงกัน |
TarUtil | ยูทิลิตีสำหรับจัดการไฟล์ tar |
TestFilterHelper | คลาสตัวช่วยสำหรับการกรองการทดสอบ |
TestRecordInterpreter |
ยูทิลิตีสำหรับแปลง TestRecord proto ให้เป็นรูปแบบที่จัดการได้ง่ายขึ้นใน Tradefed
|
TimeVal |
คลาสนี้เลิกใช้งานแล้ว
ให้ใช้ Duration แทน
|
ZipCompressionStrategy |
ICompressionStrategy สำหรับการสร้างไฟล์ ZIP
|
Enums
AaptParser.AaptVersion | Enum ของตัวเลือกสำหรับเวอร์ชัน AAPT ที่ใช้แยกวิเคราะห์ไฟล์ APK |
AppVersionFetcher.AppVersionInfo | ประเภทข้อมูลเวอร์ชันแอป |
BinaryState | Enum ที่ใช้บันทึกสถานะเปิด/ปิดที่มีสถานะ IGNORE ที่ไม่มีการดำเนินการ |
FakeTestsZipFolder.ItemType | |
LogcatEventType |
ประเภทกิจกรรมสําหรับ LogcatEventParser
|
SimplePerfUtil.SimplePerfType | Enum ของตัวเลือกคำสั่ง simpleperf |
Sl4aBluetoothUtil.BluetoothAccessLevel |
Enums สำหรับระดับการเข้าถึงอุปกรณ์บลูทูธซึ่งอิงตาม BluetoothDevice.java
|
Sl4aBluetoothUtil.BluetoothConnectionState |
Enums สำหรับสถานะการเชื่อมต่อบลูทูธซึ่งอิงตาม BluetoothProfile.java
|
Sl4aBluetoothUtil.BluetoothPriorityLevel |
Enums สำหรับระดับความสำคัญของโปรไฟล์บลูทูธซึ่งอิงตาม BluetoothProfile.java
|
Sl4aBluetoothUtil.BluetoothProfile |
Enums สำหรับโปรไฟล์บลูทูธที่อิงตาม BluetoothProfile.java
|
SystemUtil.EnvVariable |
อินเทอร์เฟซ
ชั้นเรียน
- AaptParser
- AbiFormatter
- AdbRootElevator
- AppVersionFetcher
- BluetoothUtils
- BuildInfoUtil
- BuildTestsZipUtils
- BulkEmailer
- BundletoolUtil
- CircularAtraceUtil
- CircularByteArray
- ClassPathScanner
- ClassPathScanner.ClassNameFilter
- ClassPathScanner.ExternalClassNameFilter
- ConditionPriorityBlockingQueue
- ConditionPriorityBlockingQueue.AlwaysMatch
- DeviceConcurrentUtil
- DeviceConcurrentUtil.ShellCommandCallable
- DeviceRecoveryModeUtil
- DirectedGraph
- EmmaXmlConstants
- FakeTestsZipFolder
- FileIdleMonitor
- FixedByteArrayOutputStream
- FlashingResourceUtil
- GCSBucketUtil
- GCSBucketUtil.GCSFileMetadata
- GCSCommon
- GCSFileDownloader
- GCSFileUploader
- GoogleApiClientUtil
- HprofAllocSiteParser
- JavaCodeCoverageFlusher
- JUnit4TestFilter
- JUnitXmlParser
- ListInstrumentationParser
- ListInstrumentationParser.InstrumentationTarget
- LocalRunInstructionBuilder
- LogcatEventParser
- MetricUtility
- NativeCodeCoverageFlusher
- จับคู่
- PrettyPrintDelimiter
- PropertyChanger
- ProtoUtil
- PsParser
- QuotationAwareTokenizer
- RegexTrie
- RemoteZip
- RestApiHelper
- SerializationUtil
- ShellOutputReceiverStream
- SimplePerfResult
- SimplePerfStatResultParser
- SimplePerfUtil
- SimpleStats
- SizeLimitedOutputStream
- Sl4aBluetoothUtil
- StringEscapeUtils
- StringUtil
- SubprocessEventHelper
- SubprocessEventHelper.BaseTestEventInfo
- SubprocessEventHelper.FailedTestEventInfo
- SubprocessEventHelper.InvocationEndedEventInfo
- SubprocessEventHelper.InvocationFailedEventInfo
- SubprocessEventHelper.InvocationStartedEventInfo
- SubprocessEventHelper.LogAssociationEventInfo
- SubprocessEventHelper.TestEndedEventInfo
- SubprocessEventHelper.TestLogEventInfo
- SubprocessEventHelper.TestModuleStartedEventInfo
- SubprocessEventHelper.TestRunEndedEventInfo
- SubprocessEventHelper.TestRunFailedEventInfo
- SubprocessEventHelper.TestRunStartedEventInfo
- SubprocessEventHelper.TestStartedEventInfo
- SubprocessExceptionParser
- SubprocessTestResultsParser
- SubprocessTestResultsParser.StatusKeys
- SystemUtil
- TableBuilder
- TableFormatter
- TarUtil
- TestFilterHelper
- TestRecordInterpreter
- TimeVal
- ZipCompressionStrategy
Enums
- AaptParser.AaptVersion
- AppVersionFetcher.AppVersionInfo
- BinaryState
- FakeTestsZipFolder.ItemType
- LogcatEventType
- SimplePerfUtil.SimplePerfType
- Sl4aBluetoothUtil.BluetoothAccessLevel
- Sl4aBluetoothUtil.BluetoothConnectionState
- Sl4aBluetoothUtil.BluetoothPriorityLevel
- Sl4aBluetoothUtil.BluetoothProfile
- SystemUtil.EnvVariable