類別索引

這些是 API 類別。查看所有API 包

A

解析器透過解析「aapt dump badging」的輸出從 apk 中提取資訊的類別。
AaptParser.Aapt版本用於解析 APK 檔案的 AAPT 版本選項枚舉。
阿比代表 ABI 的類別。
Abi格式化程序abi 的實用程式類別。
能力工具用於處理設備 ABI 的實用程式類
抽象連接抽象連接表示。
抽象主機監視器主機健康監控的典型類別。
抽象Xml解析器用於解析 xml 檔案的 Helper 基類
AbstractXmlParser.ParseException如果無法解析 XML 輸入,則拋出此異常
AcloudConfigParser解析 Acloud 配置的幫助程式類別(用於啟動雲端設備實例)。
AcloudConfigParser.AcloudKeys可以從配置中搜尋的鍵集。
行動進行中一般行動正在進行中。
主動追蹤主類別幫助描述和管理活動追蹤。
活動狀態檢查器在模組末尾運行的剩餘活動的狀態檢查器。
AdbRootElevator一個AutoCloseable ,可在需要時啟用 adb root,並在完成時恢復 root 狀態。
AdbSSH連接透過 ssh 橋的 Adb 連接。
AdbStopServerPreparer目標準備器在執行 adb 測試之前和之後停止主機上的 adb 伺服器。
AdbTcp連接設備的預設連線表示,假定為設備的標準 adb 連線。
輔助工具用於 adb 操作的實用程式類別。
課後資訊AfterClass類似的保證,但註解的方法必須需要TestInformation參數。
聚合後處理器度量聚合器,提供多次迭代測試運行期間收集的數字度量的最小值、最大值、平均值、方差、標準差、總計、計數和可選的百分位數,並將它們視為雙精度。
AllTestApps安裝設置一個ITargetPreparer ,用於將IDeviceBuildInfo#getTestsDir()資料夾中的所有應用程式安裝到裝置上。
AltDir行為用於定義各種測試工件安裝程式/推送程式的替代目錄行為的枚舉

AndroidJUnit測試使用 android.support.test.runner.AndroidJUnitRunner 在給定裝置上執行儀器測試套件的測試。
Aoa目標準備器ITargetPreparer使用 Android Open Accessory (AOAv2) 協定執行一系列操作(例如點擊和滑動)。
應用程式建構訊息表示 Android 應用程式及其測試套件的IBuildInfo
應用程式設備建構訊息該類已被棄用。直接使用IDeviceBuildInfo
應用程式設定一個ITargetPreparer ,用於安裝 apk 及其測試。
應用程式版本取得器用於從裝置取得應用程式版本字串的實用程式類別。
AppVersionFetcher.AppVersionInfo應用程式版本資訊類型。
ArchModule控制器模組控制器在與任何給定架構不匹配時不運行測試。
參數選項解析器從解析的命令列參數填入Option欄位。
數組工具數組的實用方法
ArtChrootPreparer為 ART 測試建立 chroot 目錄。
藝術G測試
神器詳情這描述了 CAS 工具產生的內容結構及其描述符
ArtifactDetails.ArtifactFileDescriptor
工件分析器一個實用程序,可幫助分析建立工件以獲得洞察力。
藝術運行測試用於運行 ART 運行測試的測試運行程序。
ArtRunTest.AdbShellCommandException一個異常類,用於報告執行 ADB shell 命令期間發生的錯誤。
ATestFileSystemLogSaver ATest 使用該 LogSaver 類別將日誌保存在特定路徑中。
測試跑者ITestSuite的實現
Atrace收集器IMetricCollector在測試期間執行 atrace 並收集結果並將其記錄到呼叫中。
AtraceRunMetricCollector從測試設備的給定目錄下的所有測試目錄收集跟踪,記錄測試目錄並對測試目錄下的跟踪文件進行後處理並聚合指標。
自動日誌收集器描述線束可以自動處理哪個收集器的枚舉。
自動報告器定義來自 Tradefed 自動報告器的對應的類別。
平均後處理器計算指標清單平均值的後處理器的實現。

背景設備動作在給定設備上運行命令,根據需要重複運行,直到操作被取消。
基本設備指標收集器IMetricCollector的基本實現,允許在onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData)ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map))上啟動和停止收集。
基礎仿真器準備器用於啟動本機模擬器的通用準備器。
BaseHostJUnit4測試用於執行主機 JUnit4 樣式測試的基底測試類別。
基本等級日誌輸出ILeveledLogOutput的基本實現,允許根據標籤的名稱或元件過濾某些標籤。
基礎模組控制器IModuleController的基本實現,應該實現它來檢查模組是否應該運行。
基礎多目標準備器IMultiTargetPreparer的基本實現,允許停用該物件。
基礎後處理器每個實作都應該擴展的基本IPostProcessor
基本重試決策IRetryDecision的基本實作。
BaseStreamLogger <OS 擴充 OutputStream> ILeveledLogOutput將日誌訊息定向到輸出流和標準輸出。
基礎目標準備器ITargetPreparer的基本實作類,允許控制物件是否被停用。
基礎測試套件與新套件系統執行相容性測試套件的測試。
電池控制器允許控制設備的電池充電狀態的實用程式類別。
電池充電設備恢復允許在設備的電池電量低於給定閾值時觸發命令。
電池溫度
電池不可用裝置恢復如果電池電量不可用,恢復檢查器將觸發配置。
課前帶訊息BeforeClass類似的保證,但註解的方法必須需要TestInformation參數。
二元狀態用於記錄 ON/OFF 狀態和 IGNORE 無操作狀態的列舉。
藍牙連線延遲收集器收集器會將預先定義的 statsd 持續時間指標配置推送到設備,並收集每個設定檔的藍牙連接持續時間。
藍牙連線狀態收集器此收集器將收集BluetoothConnectionStateChanged 指標並記錄每個設定檔的連線狀態編號。
藍牙連線成功率後處理器計算藍牙設定檔成功率的後處理器的實現

使用「metric-key-match」指定包含數字數組範例中的藍牙連接狀態的指標 [0, 1, 2, 3, 0, 1, 2, 3]。

藍牙HciSnoopLogCollector收集器,用於在 DUT 上啟用藍牙 HCI 監聽日誌記錄並收集每個測試的日誌。
藍牙實用程式用於在裝置上呼叫BluetoothInstrumentation的實用函數

設備端BluetoothInstrumentation程式碼可以在AOSP中找到: frameworks/base/core/tests/bluetoothtests

Bootstrap建置提供者從測試設備引導建置資訊的IDeviceBuildProvider

這通常用於具有外部提供構建的設備,即

BootstrapService檔案解析器載入器使用服務載入工具載入解析器。
錯誤報告儲存錯誤報告檔案引用的對象,與平面錯誤報告和壓縮錯誤報告(bugreportz)相容。
錯誤報告收集器一個直通ITestInvocationListener ,它在可配置事件發生時收集錯誤報告,然後在收集每個錯誤報告後在其子級上呼叫ITestInvocationListener#testLog
BugreportCollector.Filter
BugreportCollector.Freq
BugreportCollector.名詞
BugreportCollector.Predicate描述何時捕獲錯誤報告的完整謂詞。
BugreportCollector.Relation
BugreportCollector.SubPredicate
BugreportzOnFailureCollector當測試用例失敗時收集錯誤報告。
BugreportzOnTestCaseFailureCollector當運行中的測試用例失敗時收集錯誤報告。
建構分析表示單一建構分析的結果。
建構錯誤如果提供的建置無法運行,則拋出該異常。
建構資訊應與ITestDevice關聯的IBuildInfo的通用實作。
建構資訊鍵保存與建構資訊查詢相關的枚舉的類別。
BuildInfoKey.BuildInfoFileKey描述所有可透過IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey)查詢的已知檔案類型的枚舉。
建構資訊記錄器將建構資訊元資料寫入指定檔案的ITargetPreparer
建構資訊工具幫助操作IBuildInfo util 類
建構檢索錯誤檢索建置進行測試時發生致命錯誤。
建構序列化版本包含所有IBuildInfo的目前序列化版本的類別。
建置測試ZipUtils Android 建置系統產生的測試 zip 相關操作的輔助類
群發郵件程式電子郵件發送實用程序,允許以下配置:發送間隔、初始突發大小、收件者和郵件總數。
捆綁工具工具使用bundletool命令列在裝置上安裝.apk的實用程式類別。
位元組數組輸入流來源
位元組數組列表表示輕量級位元組數組的類別。
位元組數組實用程式對位元組數組進行操作的實用程序,例如將位元組轉換為整數。

C

汽車模組控制器此控制器阻止在非汽車設備上執行測試案例。
攜帶DNA錯誤透過 JUnit4 框架攜帶DeviceNotAvailableException內部RuntimeException
攜帶中斷異常當觸發測試階段逾時並且需要從測試執行緒向呼叫執行緒攜帶 InterruptedException 時拋出。
CDMA設備快閃記憶體在具有 CDMA 無線電的實體 Android 裝置上閃爍影像的類別。
CecControllerTokenProvider消費電子控制 (CEC) 相關代幣的代幣提供者。
中央目錄資訊CentralDirectoryInfo 是一個包含 zip 檔案內檔案/資料夾資訊的類別。
檢查配對準備器CompanionAwarePreparer ,用於驗證主設備和配套設備之間的 BT 綁定
循環AtraceUtil開發的 atrace 公用程式主要用於識別 Monkey 測試期間 ANR 的根本原因。
循環位元組數組用於保存固定大小數組的資料結構,該數組作為循環緩衝區運行,並追蹤數組中所有值的總和。
ClangCodeCoverageCollector BaseDeviceMetricCollector將從裝置中擷取 Clang 覆蓋率測量結果並將其記錄為測試工件。
類別未找到配置異常當未找到物件的類別時會出現ConfigurationException
類路徑掃描器尋找類路徑上的條目。
ClassPathScanner.ClassNameFilter過濾和轉換 java 類別名稱的IClassPathFilter
ClassPathScanner.ExternalClassNameFilter拒絕內部類別的ClassNameFilter
ClassPathScanner.IClassPathFilter類路徑入口路徑的篩選器

FileFilter之後進行圖案化

發條工具用於共享多設備邏輯的發條實用程序
CloseableTraceScope一個作用域類,允許透過 try-with-resources 報告追蹤部分
集群建構資訊用於從 TFC 管道傳輸的建置的IBuildInfo類別。
叢集建置提供者用於下載 TFC 測試資源的IBuildProvider
叢集客戶端用於與 TFC 後端互動的IClusterClient實作。
集群命令表示從 TF Cluster 取得的任務的類別。
ClusterCommand.RequestType
ClusterCommand.State TF 集群中命令的狀態。
叢集命令配置產生器為叢集命令建構設定檔的類別。
叢集命令事件封裝要上傳的叢集命令事件的類別。
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
叢集命令啟動器一個IRemoteTest類,用於透過子進程 TF 從 TFC 啟動命令。
叢集命令調度器ICommandScheduler的支援 TFC(Tradefed Cluster)。
集群命令狀態表示來自 TF Cluster 的命令的狀態和取消原因的類別。
集群設備資訊封裝待上傳群集設備資訊的類別。
ClusterDeviceInfo.Builder
叢集設備監控向 Tradefed 叢集服務報告結果的IDeviceMonitor實作。
ClusterEventUploader <T 擴充IClusterEvent > ClusterEventUploader類,將IClusterEvent上傳到TFC。
叢集主機事件封裝要上傳的群集主機事件的類別。
ClusterHostEvent.Builder
ClusterHostEvent.HostEventType不同類型的主機事件的枚舉。
叢集主機工具TF Cluster 的靜態 util 函數用於取得全域設定實例、主機資訊等。
叢集日誌保存器用於將測試輸出上傳到 TFC 的ILogSaver類別。
ClusterLogSaver.FilePickingStrategy文件選取策略。
叢集選項
程式碼覆蓋率測試在給定設備上運行儀器測試包並產生程式碼覆蓋率報告的測試。
收集位元組輸出接收器一個IShellOutputReceiver將整個 shell 輸出收集到一個byte[]
收集輸出接收器一個IShellOutputReceiver ,它將整個 shell 輸出收集到一個String中。
收集測試監聽器將收集所有測試結果的ITestInvocationListener
收藏助手幫助程式在多個地方執行一些需要的IMetricCollector操作。
命令檔案解析器包含命令列集的檔案的解析器。
CommandFileParser.CommandLine
命令中斷器允許 TradeFederation 指令被中斷或標記為不可中斷的服務。
命令列建置資訊建構器實用程式旨在從命令列捕獲常用的建置資訊參數並從中建立IBuildInfo
命令選項ICommandOptions的實作。
指令選項Getter傳回給定呼叫的命令選項值的服務實作。
命令結果包含命令的結果。
指揮跑者另一個 TradeFederation 入口點,將執行命令列參數中指定的命令,然後退出。
CommandRunner.退出程式碼可以退出的錯誤代碼。
命令調度程序用於在所有可用裝置上執行 TradeFederation 指令的排程器。
CommandScheduler.HostState主機不同狀態的枚舉
指令狀態表示定時操作的狀態。
命令狀態處理程序處理程序幫助監視和更新呼叫的狀態。
通用日誌遠端文件實用程式此實用程式可以避免公共文件的遠端日誌取得邏輯在不同遠端設備表示之間出現程式碼重複。
CommonLogRemoteFileUtil.KnownLogFileEntry遠端設備的已知日誌條目的表示。
同儕分配器負責分配及釋放配套設備的基類

應實作getCompanionDeviceSelectionOptions()來描述分配配套設備所需的標準

CompanionAwarePreparer一個ITargetPreparer ,封裝了獲取已分配的配套設備的邏輯。
同儕感知測試封裝取得和檢查配套設備樣板的基本測試類

子類別可以呼叫getCompanion()來檢索分配的同伴。

配套設備追蹤器用於分配和釋放配套設備的類
CompanionRunCommandTargetPreparer在分配的配套設備上執行指定命令的ITargetPreparer
CompanionTestApp安裝設置一種ITargetPreparer ,用於將IDeviceBuildInfo#getTestsDir()資料夾中的一個或多個應用程式安裝到已分配的配套設備上。
CompileBootImageWithSpeedTargetPreparer使用編譯器過濾器“speed”重新編譯引導類別路徑和系統伺服器。
狀態故障監視器監視呼叫中是否有任何失敗。
ConditionPriorityBlockingQueue <T>具有類似ERROR(/PriorityBlockingQueue)操作的線程安全類,可以檢索與特定條件相符的物件。
ConditionPriorityBlockingQueue.AlwaysMatch <T>與任何物件相符的ConditionPriorityBlockingQueue.IMatcher
ConditionPriorityBlockingQueue.IMatcher <T>用於確定元素是否符合某種條件的介面。
配置完成器為我們的 TF 配置實作Completer
可配置GrpcDynamicShardingClient
配置一個具體的IConfiguration實現,它將載入的配置物件儲存在映射中。
配置定義儲存配置、其關聯物件及其選項的記錄。
配置Def.ConfigObjectDef儲存類別名稱資訊及其外觀編號的物件(例如,如果一個配置有兩次相同的對象,則第一個將具有第一個外觀編號)。
配置描述符配置物件描述配置本身的某些方面。
ConfigurationDescriptor.LocalTestRunner枚舉用於指示本地測試運行程序。
配置異常如果無法載入組態則拋出該異常。
配置工廠用於創建IConfiguration工廠。
配置工廠.ConfigLoader IConfigDefLoader 的實現,追蹤一個根配置中包含的配置,並在循環包含時引發異常。
ConfigurationFactory.ExceptionLoader
配置工具處理設定檔的實用函數。
配置XmlParser設定接受 ConfigurationXmlParser 設定的簡單類

要將設定傳遞給此類,別名是必需的。

配置Yaml解析器YAML 風格 Tradefed 設定的解析器
配置工具用於建立、互動和推送 statsd 設定檔的實用程式類別。
ConfigUtil.LogSource
安慰TradeFederation 主控制台提供使用者互動介面

目前支援以下操作

  • 新增一個指令來測試
  • 列出設備及其狀態
  • 列出正在進行的調用
  • 列出隊列中的命令
  • 將呼叫日誌轉儲到檔案/stdout
  • 關閉
Console.ArgRunnable <T>具有可接受參數的run方法的Runnable
主控台.CaptureList List<List<String>>的便捷類型
控制台讀取器輸出流一個 OutputStream,可用於使System.out.print()與使用者的LineReader unfinishedLine 配合良好。
控制台結果報告器結果報告器將測試結果列印到控制台。
內容分析上下文提供內容周圍的上下文以正確分析它。
內容分析上下文.分析方法這描述了從內容結構中期望得到的內容以進行正確的分析。
內容分析結果內容分析摘要。
內容訊息表示其基本版本和當前版本的給定建置目標的內容。
內容提供者處理程序抽象內容提供者互動並允許使用裝置端內容提供者進行不同操作的處理程序。
計數測試結果監聽器一個TestResultListener ,透過TestStatus追蹤測試總數
計數測試用例收集器計算並報告給定IRemoteTest測試案例數量。
覆蓋測量轉發器佔位符測試,將覆蓋率測量結果從建置提供者轉送到記錄器。
覆蓋範圍選項Tradefed 反對持有承保選擇權。
CoverageOptions.Toolchain
CPU節流等待者ITargetPreparer等待所有核心的最大頻率恢復到可用的最高級別
創建AvdPreparer
建立使用者準備器用於創建用戶並在最後清理它的目標準備器。
當前調用一個類,用於追蹤並提供當前調用信息,該信息在調用內的任何位置都有用。
當前呼叫.呼叫訊息我們將始終為調用填充一些特殊的命名鍵。
當前調用.隔離等級描述隔離級別

D

調試主機登入失敗收集器當測試案例發生故障時,收集器將收集並記錄主機端日誌。
預設連線設備的預設連線表示,假定為設備的標準 adb 連線。
DefaultConnection.ConnectionBuilder Builder 用於描述連接。
預設遠端AndroidTestRunner ddmlib RemoteAndroidTestRunner的擴展,用於為 Tradefed 用例設定一些預設值。
預設測試Zip安裝程序測試 zip 安裝程式的預設實作。
委託呼叫執行InvocationExecution將執行委託給另一個 Tradefed 二進位。
依賴解析器一種新型的提供程序,允許獲取測試的所有依賴項。
設備操作目標準備器用於執行設備操作的ITargetPreparer
設備操作實用程式用於執行設備操作的實用程式類別。
DeviceActionUtil.Command設備操作命令。
DeviceActionUtil.DeviceActionConfigError配置錯誤的異常。
設備分配結果表示命令分配嘗試的結果。
設備分配狀態從IDeviceManager角度表示設備的分配狀態
設備可用檢查器檢查器以確保模組不會使設備處於離線狀態。
設備基線檢查器在每個模組之前設定設備基線設定。
裝置基線設定器用於建立裝置基線設定的抽象類別。
設備電池電量檢查器IRemoteTest檢查最小電池電量,如果不存在最小電量,則等待電池達到第二個充電閾值。
設備電池資源度量收集器此收集器收集設備電池指標。
設備建置描述符IBuildInfo的包裝類,包含用於檢索設備平台建置資訊的幫助器方法。
設備建置資訊表示完整 Android 裝置建置及其(可選)測試的IBuildInfo
DeviceBuildInfoBootStrapper ITargetPreparer ,以從設備讀取的屬性替換建置資訊字段

這對於測試具有從外部來源產生的版本的裝置非常有用(例如

設備建構資訊注入器DeviceBuildDescriptor元資料插入IBuildInfo ITargetPreparer
裝置清理器測試後執行重新啟動或格式化作為清理操作,並可選擇關閉螢幕
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
設備並發實用程式包含用於並發設備端命令執行的實用方法和類

使用ERROR(/ExecutorService)執行作為ShellCommandCallable實作的命令,並使用ERROR(/#joinFuture(String,Future,long))ERROR(/ExecutorService)傳回的ERROR(/Future)同步以執行指令。

DeviceConcurrentUtil.ShellCommandCallable <V>一個ERROR(/Callable) ,包含在ITestDevice上執行 shell 指令的詳細資訊。
設備配置持有者一個特定的IDeviceConfiguration實現,將載入的設備配置物件儲存在其屬性中。
裝置描述符包含描述被測設備資訊的類別。
設備斷開異常當裝置無法再透過其傳輸類型存取時拋出,例如,如果裝置不再透過 USB 或 TCP/IP 連線可見
裝置錯誤標識符來自裝置錯誤和裝置報告的錯誤的錯誤識別碼。
設備啟動失敗錯誤如果裝置在刷新建置後無法啟動,則會拋出該錯誤。
設備功能標誌
設備功能模組控制器模組控制器在不支援某些功能時不執行測試。
設備文件報告器一個實用程式類,用於檢查裝置中是否有文件,如果找到,則將它們傳送到ITestInvocationListener#testLog(String, LogDataType, InputStreamSource)
裝置快閃記憶體準備器一個ITargetPreparer ,可在實體 Android 硬體上閃爍圖像。
設備可折疊狀態“cmd device_state print-states”傳回的裝置可折疊狀態的表示。
設備資料夾建置資訊IDeviceBuildInfo也包含本機檔案系統上的目錄中所包含的其他建置工件。
裝置影像追蹤器對於一些增量設備更新,我們需要基線檔案來計算差異。
DeviceImageTracker.FileCacheTracker快取的設備鏡像及其元資料的追蹤訊息
DeviceImageZipFlashingTargetPreparer目標準備器,使用透過特定格式提供的設備影像來刷新設備。
設備互聯網可訪問性資源度量收集器收集器 ping google.com 以檢查設備是否可以存取互聯網。
DeviceJUnit4ClassRunner JUnit4 測試運行器也容納IDeviceTest
DeviceJUnit4ClassRunner.LogAnnotation虛假註釋的目的是向記者攜帶日誌。
DeviceJUnit4ClassRunner.MetricAnnotation虛假註釋旨在向記者傳達指標。
DeviceJUnit4ClassRunner.TestLogData ExternalResourceTestRule的實作。
DeviceJUnit4ClassRunner.TestMetrics ExternalResourceTestRule的實作。
設備管理Grpc伺服器GRPC 伺服器允許從 Tradefed 預留設備。
裝置經理
裝置管理員.FastbootDevice處於快速啟動模式的設備的表示。
設備指標數據物件保存指標收集器收集的所有資料。
設備監控多工器用於將請求傳播到多個IDeviceMonitor代理程式類別。
設備不可用異常當設備不再可用於測試時拋出。
設備所有者目標準備者用於設定設備擁有者組件的ITargetPreparer
設備參數化運行器JUnit4 風格的參數化運行器,用於主機端驅動的參數化測試。
設備屬性設備端屬性名稱的通用常數定義
設備恢復模式實用程式
設備發布報告器設備釋放報告器,用於處理與要釋放的設備的父進程的通訊。
設備重置功能伺服器端實現設備重置。
設備重置處理程序一般處理設備重置的實用程式。
設備運作時異常當設備操作未產生預期結果時拋出。
設備選擇選項設備選擇標準的容器。
DeviceSelectionOptions.DeviceRequestedType支援的不同可能類型的佔位符設備。
設備設定檢查器檢查模組運作期間設備設定是否已變更。
設備設定一個ITargetPreparer ,根據提供的Option配置設備進行測試。
設備快照功能設備快照的伺服器端實作。
設備快照處理程序實用程式處理 Cuttlefish 快照。
設備狀態監視器用於監視IDevice狀態的幫助程式類別。
DeviceStorageAgeResourceMetricCollector從 logcat 解析儲存年齡。
設備儲存填充器目標準備器填滿儲存空間,以便有一些可用空間。
設備儲存狀態檢查器檢查設備是否有足夠的磁碟空間用於給定分割區。
裝置字串推送器目標準備器將字串寫入檔案。
設備套件擴充 JUnit4 容器Suite ,以便為需要它的測試提供ITestDevice
設備同步助手幫助將新設備映像同步到設備的助手。
設備測試用例提供IRemoteTestIDeviceTest服務的 Helper JUnit 測試案例。
設備測試結果TestResult的特化,當發生DeviceNotAvailableException時將中止
DeviceTestResult.RuntimeDeviceNotAvailableException
設備測試運行選項與透過 BaseHostJUnit4Test 執行裝置測試相關的選項的建構器類別。
設備測試套件Helper JUnit 測試套件提供IRemoteTestIDeviceTest服務。
設備追蹤收集器收集器將在測試運行開始時啟動 perfetto 追蹤並在結束時記錄追蹤檔案。
設備不可用監視器此偵聽器僅嘗試擷取測試案例層級的 DNAE。
設備無響應異常DeviceNotAvailableException的特化,表示裝置對 adb 可見,但無回應(即指令逾時、無法啟動等)
設備更新目標準備器一個抽象的ITargetPreparer ,負責使用外部來源(而不是建置服務)的裝置映像檔更新裝置的常見步驟。
設備Wifi資源MetricCollector收集器收集目前連接的 WiFi 訊號強度和連結速度指標。
設備擦拭器擦除用戶資料的ITargetPreparer
有向圖<V>有向未加權圖實現。
停用SELinuxTargetPreparer目標準備器將停用 SELinux(如果已啟用)。
DryRun密鑰庫用於空運行的密鑰庫,其中任何密鑰庫值始終都能正確替換和找到。
乾跑者透明地進行測試而不是實際執行它們。
動態檔案存根測試這是一個 tradefed 測試,用於測試 tradefed 能否正確解析動態檔案。
動態遠端文件解析器幫助解析遠端檔案路徑的類別。
DynamicRemoteFileResolver.FileResolverLoader載入IRemoteFileResolver的實作。
動態分片助手分片策略允許在多個 TF 實例之間進行遠端工作排隊
動態分片連接資訊訊息資料保存類,以便更輕鬆地透過功能伺服器發送。
動態系統準備器ITargetPreparer ,透過動態系統更新在裝置建置之上設定係統映像。

早期設備發布功能用於早期設備發布的功能伺服器實作。
電子郵件發送電子郵件的輔助類別。
電子郵件主機健康代理用於從主機監視器報告發送電子郵件的IHostHealthAgent實現
EmmaXml常數解析 emma xml 報告時所使用的常數。
模擬器記憶體CPU捕獲器
結束中央目錄訊息EndCentralDirectoryInfo 是一個包含 zip 檔案整體資訊的類別。
強制SeLinux檢查器確保 Selinux 狀態的狀態檢查器。
清除使用者資料準備器一個ITargetPreparer ,用於擦除裝置上的使用者資料。
錯誤標識符此介面描述了特定的錯誤及其屬性。
錯誤儲存工具用於處理錯誤以與公共儲存保持一致的說明程式類別。
事件記錄監聽器將接收到的所有事件記錄到檔案中的偵聽器
異常ThrowingRunnerWrapper
可執行基礎測試可執行測試風格的基底類別。
可執行主機測試測試運行程式以在主機上執行可執行檔。
可執行目標測試測試運行程式以在目標上執行可執行檔。
執行檔在執行測試或呼叫期間產生的檔案依賴項,需要攜帶這些依賴項進行測試。
執行檔.FilesKey地圖已知標準鍵的枚舉。
執行屬性在執行測試或呼叫期間產生的屬性。
現有建置提供者傳回已建構的IBuildInfo IBuildProvider
擴充檔案標準文件的擴展,用於攜帶建立相關的元資料。
擴展原子註冊中心ExtensionAtomsRegistry 用於本地使用 statsd。

F

故障描述描述 Trade Federation 中的故障訊息的類別。
假測試虛假測試,其目的是輕鬆產生可重複的測試結果。
假測試壓縮資料夾一個測試裝置,根據內容清單建立一個假的解壓縮測試資料夾。
FakeTestsZipFolder.ItemType
FastbootCommandPreparer觸發 fastboot 並傳送 fastboot 指令的目標準備器。
FastbootDeviceFlasher依賴 fastboot 在實體 Android 硬體上刷新映像的類別。
快速啟動助手用於快速啟動操作的輔助類別。
FastbootUpdateBootstrapPreparer ITargetPreparer將指定檔案(引導程式、無線電、設備映像 zip)暫存到IDeviceBuildInfo中,以取得使用FastbootDeviceFlasher刷新的設備,然後將啟動後設備屬性注入到建置資訊中以用於結果報告目的。
致命主機錯誤指示執行 TradeFederation 的主機上發生致命的不可回復錯誤的異常,並且應關閉 TradeFederation 實例。
功能標誌目標準備器更新 DeviceConfig(由遠端服務調整的功能標誌)。
文件下載快取維護下載檔案的本機檔案系統 LRU 快取的幫助程式類別。
文件下載快取工廠用於建立FileDownloadCache工廠
文件下載快取包裝器一個包裝類,在實作IFileDownloader介面的同時提供FileDownloadCache功能。
文件空閒監視器監視檔案並執行回調(如果是空閒的)(即
FileInputStreamSource取得輸入檔的InputStreamSource
Filelogger一個將日誌訊息引向檔案和stdout的ILeveledLogOutput
FileProtoresultrePorterTestRecord轉載到文件中的Proto Reporter。
FilePullerDeviceMetricCollector一個BaseDeviceMetricCollector ,聆聽來自設備的指標鍵,並將其作為設備的文件拉動。
FilePullerLogCollector設備側報告的文件記錄器。
filesystemlogsaver將日誌儲存到檔案系統。
fileutil用於文件相關操作的輔助課程
fileutil.lowdiskspaceException如果可用的磁碟空間低於最小閾值,則將其投擲。
過濾Resultforwarder ResultForwarder的變體僅允許報告允許TestDescription的允許清單。
firceByTearRayOutputstream僅保留最大資料量的記憶體ERROR(/OutputStream)
閃爍的軌跡描述用於閃爍設備測試的方法的枚舉
FlashingResourcesParser解析刷新設備所需的輔助圖像檔案所需版本的類別。
flashingResourcesparser.androidinfo typedef,用於Map&lt;String, MultiMap&lt;String, String&gt;&gt;
flashingResourcesparser.constraint過濾介面,旨在允許FlashingResourcesParser忽略某些可能使用的資源
閃爍的Resourceutil此實用程式有助於設定適當版本的工件,以便可以透過DeviceFlashPreparer閃爍。
可折疊expandinghandler對於每種非主要可折疊配置, IModuleParameterHandler擴展到更多。
可折疊手通用可折疊處理程序,可以使用可折疊參數建立一個專用模組。
foldableModePreparer可以切換設備的可折疊狀態的目標準備器。
folderbuildinfo IFolderBuildInfo的具體實作。
文件工具一款ITargetPreparer ,將目錄從裝置上取下,壓縮並將其儲存到記錄後端。
formattedGeneratorReporter允許以特定格式產生報告的記者。
Freedevicestate
Fuseutil用於保險絲操作的輔助課程。

G

gceavdinfo為給定的GCE AVD實例保存相關資料的結構。
gceavdinfo.gcestatus
gceavdinfo.logfileentry
gcemanager管理GCE打電話開始/停止並從GCE收集日誌的助理。
gceremotecmdformatter用於格式化命令的實用程式類別以達到遠端GCE設備。
gceremotecmdformatter.scpmode SCP可用於根據ARG的結構推送或拉出檔案。
GCESSHTUNNENNENMONITOR GCE SSH隧道的線程監視器。
GCOVCODECOVERAGECOLLECOR一種BaseDeviceMetricCollector ,它將從設備上刪除GCOV覆蓋範圍,並將其記錄為測試工件。
GCOVKERNELCODECOVERAGECOLLECOR一種BaseDeviceMetricCollector ,將GCOV核心覆蓋範圍測量從debugfs和設備上取下,然後最終將其作為測試工件記錄。
GCSBucketutil檔案管理器將從Google Cloud Storage(GCS)下載和上傳檔案。
gcsbucketutil.gcsfilemetadata簡單包裝器在GCS中獲取文件資訊。
GCSCOMMON GCS操作的基類,例如下載和上傳。
GCSCONFIGURATIONFACTORY ConfigurationFactory從Google Cloud Storage中載入配置。
gcsconfigurationfactory.gcsconfigloader ConfigurationFactory.ConfigLoader的擴充程序,從GCS載入配置,追蹤一個root配置中隨附的配置,並在coundular上引發異常。
GCSCONFIGURATIONSERVER配置伺服器從Google Cloud Storage(GCS)載入配置。
GCSDownLoaderHelper GCS儲存桶的下載器,該儲存桶負責快取和解決全域配置。
GCSfileDownLoader檔案下載器以從Google Cloud Storage(GCS)下載檔案。
GCSFileuPloader文件上傳器將檔案資料上傳到Google Cloud Storage(GCS)。
gcshostresourcemanager從GCS(Google Cloud Storage)下載主機資源。
GCSREMOTEFILERESOLVER IRemoteFileResolver的實現,允許從GCS儲存桶中下載。
GenericLogcateVentParser <LogcateVentType>解析事件的logcat輸入。
genericlogcateventparser.logcatevent結構將logcat事件與事件類型和觸發logcat訊息保持
GetPreviousPassedHelper助手取得先前的通過測試過濾器。
gkideviceflashpreparer使用Android Common核心通用影像刷新裝置的目標準備器。
全球配置一個將載入的配置物件儲存在地圖中的IGlobalConfiguration實現
GlobalFiltergetter傳回給定呼叫過濾器的服務實作。
GlobalTestFilter應用於呼叫的過濾選項。
GoogleapicLientutil用於建立Google API客戶端的UTIT。
GoogleBenchmarkResultParser解析從Shell運行的Google基準測試結果,並傳回所有結果。
GoogleBenchmarktest在給定裝置上執行Google基準測試包的測試。
顆粒狀攝影師包裝器類別在IRemoteTest上工作,以測試櫃級別將IREMOTETEST顆粒化。
粒度攝取wrapper.startendCollector班級助手抓住缺失的跑步開始和結束。
gsideviceflashpreparer使用Android通用系統影像刷新設備的目標準備器。
gtest在給定設備上執行本機測試包的測試。
gtestbase Gtest的基底類
gtestlisttestparser GTEST DRY RUN模式的結果解析器具有「 -gtest_list_tests」參數。
gtestresultparser使用Shell運行的GTEST來解析本機測試的「原始輸出模式」結果,並告知結果iTestInvocationListener。
gtestxmlresultparser使用Shell運行的GTEST的本機測試的「 XML輸出模式」結果,並告知結果的iTestRistener。

H

harnessexception基礎異常類別在安全帶內拋出。
harnessioException線束異常,有助於攜帶文件問題。
HarnessruntimeException
HephostMonitor AbstractHostMonitor實現,可監視主機上的堆記憶體並定期記錄到歷史記錄。
HelloworldmultitargetPreparer IMultiTargetPreparer的範例實作。
歷史記錄TF歷史記錄器,僅包含一些特定事件的特殊日誌。
hostgtest執行本機測試包的測試。
宿主制度此類代表要報告的主機公制樣本。
宿主主機選項支架類別。
hoststatsdmetricCollector IMetricCollector使用StatsD實用程式指令從主機端收集StatsD指標。
hosttest基於JUNIT主機測試的測試跑步者。
招待會實作一些有用的實用程式方法來執行主機測試。
Hprofallocsiteparser從HPROF報告的分配站點部分解析資訊的幫助課程。
httphelper包含用於製作HTTP請求的輔助方法
httphelper.requestrunnable可以使用IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)提出要求。
httpmultipartpost用於製作多部分HTTP POST請求的助手類別。
httpremotefilesolver IRemoteFileResolver的實現,允許透過http下載遠端文件
httpsRemoteFileReSolver IRemoteFileResolver的實現,允許透過HTTPS下載遠端文件

IABI代表正在測試的ABI的介面。
iabireceiver需要測試的ABI的測試。
Iandroiddebugbridge此軟體包中使用的AndroidDebugBridge方法的介面定義。
iappbuildinfo此介面已棄用。直接使用IBuildInfo
iautortriabletest未實現ITestFilterReceiver但仍希望支援自動重新恢復的IRemoteTest的介面。
ibatteryinfo定義與設備電池相互作用的介面。
ibatteryinfo.batterystate描述當前的電池充電狀態。
ibuildinfo保留有關正在測試的建置的資訊。
ibuildinfo.buildinfoperties IBuildInfo的某些屬性可能必須對其進行一些調整。
ibuildprovider負責提供有關正在測試的建置的資訊。
IbuildReceiver一項需要參考正在測試的建置的測試。
iClusterClient與TFC後端互動的介面。
iClusterEvent任何要將群集事件上傳到TFC的介面。
iClusterEventUploader <t擴展了iClusterEvent > lustereventuploader的接口
iClusterOptions取得與叢集相關選項的介面。
ICommandOptions用於執行選項的容器。
Icommandscheduler執行TradeFederation指令的調度程序。
icommandscheduler.ischeduledinvocationListener呼叫完成時呼叫事件的偵聽器。
iCompressionstrategy代表可以在運行時選擇的壓縮演算法的介面。
IconFigoptionValueTransFormer操縱配置選項值的接口
IconfigurableVirtualDevice一個接口,以提供有關可能預先配置的虛擬設備資訊(主機IP,主機用戶,連接埠偏移等)的資訊。
偶像化貿易聯邦調用的配置資訊。
IconFigurationFactory創建IConfiguration s的工廠
IconfigurationReceiver簡單的介面表示接受IConfiguration的物件。
IconFigurationServer配置伺服器的介面。
icredentialFactory憑證工廠創建oauth2 Credential介面。
IdeFaultObjectLoader用於載入應成為我們YAML配置一部分的預設物件的介面。
idefaultObjectLoader.loaderConfiguration載入配置物件將資訊傳遞給載入程式。
iDeviceactionReceiver提供接收裝置事件的API。
IDEVICEBUILDINFO一個代表完整的Android設備建置和((可選))測試的IBuildInfo
IDEVICEBUILDPROVIDER使用ITestDevice的資訊來檢索建置的IBuildProvider
IDEViceConfiguration設備配置支架介面。
IDEVICEFLASHER在設備上閃爍設備影像。
IDEVICEFLASHER.USERDATAFLASHOPTION處理用戶達塔圖像的選項枚舉
Idevicemanager用於管理用於測試的可用設備集的介面。
iDeviceManager.ifastBootListener FastBoot狀態的聽眾變更。
Idevicemonitor用於監視設備狀態的介面。
iDevicemonitor.devicelister一個可以傳回已知設備及其狀態的可Runnable類別。
IDEVICERECOVERY用於恢復離線設備的介面。
IDEVICESELECTION設備選擇標準的介面。
IDEVICESELECTION.BASEDEVICETYPE
IDEVICESTATATEMOTON提供監視IDevice狀態的設施。
iDevicetest需要引用ITestDevice的物件的介面。
可見的描述可以禁用的交易對象的介面。
iDnamicshardingclient碎片客戶端的包裝介面

存在這種情況,以便我們可以在http one中進行交換或在需要時測試一個。

iDnamicshardingConnectionInfo包含動態碎片連接資訊的類別的接口
Iemail發送電子郵件的介面。
iemail.message電子郵件資料的容器。
ifiledownOlader下載遠端檔案的介面。
ifileentry介面定義為FileEntry方法提供了更簡單,可模擬的合約。
ifileReSolverLoader載入IRemoteFileResolver的實作。
ifileReSolverLoader.ResolverloadingException如果無法載入或初始化解析器,則會拋出例外。
iflashingResourcesparser用於提供刷新設備所需的輔助圖像檔案所需版本的介面。
iflashingResourcesRetriever用於檢索刷新設備所需的輔助影像檔案的介面。
ifolderbuildinfo一個簡單的抽象IBuildInfo ,其建置工件包含在本機檔案系統目錄中。
iformattergenerator介面描述了SuiteResultHolder的格式化器。
iglobalconfiguration一個涵蓋單一貿易聯合實例的全域配置資訊的類別(包括實際配置的任何數量的呼叫)。
iharnessexception線束異常介面的描述將由線束異常實現。
iHostCleaner測試運行結束後清理主機。
iHoSthealthagent發射主機或設備指標的介面。
iHostMonitor調度主機資料的介面
iHostMonitor.hostDataPoint用於報告資料的通用類別。
iHostMonitor.hostmetrictype
iHostoptions主機選項支架介面。
iHostoptions.permitimittype描述可能的許可證限制器的枚舉
Ihostresourcemanager介面到管理器主機資源。
ihttphelper執行HTTP請求的幫助方法。
ihttphelper.datasizeexception
iinvocationContext持有有關調用測試的信息,請在需要時訪問。
iinvocationContext.TimingEvent
iinvocation -contextreceiver需要參考呼叫上下文的測試。
iinvocationExecution介面描述將作為呼叫的一部分執行的操作。
IkeyStoreclient介面存取密鑰儲存以取得密碼或敏感資料。
IkeystoreFactory創建IKeyStoreClient的工廠。
Ilabpreparer實驗室準備者的標記接口

有關這些介面的意圖,請參閱ITargetPreparer

ileveledLogOutput實作此介面的類別提供了處理輸出日誌訊息的方法。
ilogcatreceiver將裝置logcat輸出的類別作為InputStreamSource
ilogregistry ILogOutput單頓記錄器的接口,該接口多路復用和管理不同的記錄器。
iLogRegistry.EventType記錄有用的活動
ilogsaver實作此介面的類別提供了將日誌儲存到中心位置的方法。
ilogsaverlistener允許ITestInvocationListener s儲存日誌檔案時聆聽。
想像中心分析儀分析儀進行設備影像內容分析
ImanagedTestDevice一個生命週期的iTestdevice。
ImanagedTestDevice.DeviceEventResponse用於回應IManagedTestDevice#handleAllocationEvent(DeviceEvent)呼叫的容器
ImanagedTestDeviceFactory IManagedTestDevice的創建者介面
iMetricCollector在報告測試結果時,將添加該介面作為裝飾器,以收集匹配指標。
iMetricCollectorceiver如果IRemoteTest s需要取得IMetricCollector s的列表,則可以實作IREMOTETEST s的介面。
Imoblyyamlresulthandler Mobly Yaml結果處理程序的介面。
Imoblyyamlresulthandler.itestresult Mobly Yaml結果的接口
Imodulecontroller用於控制模組是否應執行的介面。
imodulecontroller.runstrategy枚舉描述應如何執行模組。
ImoduleparameterHandler套件模組參數的介面。
ImultideviceRecovery用於恢復多個離線設備的介面。
ImultideVicetest此介面已棄用。該介面暫時保存以用於相容性,但實際上不再使用。請不要實施它。
ImultitargetPreparer一起為多個設備準備測試環境。
Inathivedevice為DDMLIB IDevice提供了可靠且稍微高一點的API。
InateViceTest物件的介面需要引用INativeDevice
增量圖像實用程式一個利用增量映像和裝置更新的實用程式。
爆發器來自貿易聯合會的錯誤識別碼和依賴的下屬(例如Build Instra)。
InputStreamSource該接口基本上包含一個ERROR(/InputStream)使其可插入。
安裝alltestzipappssetup一個在測試zip中安裝所有應用程式的ITargetPreparer
安裝apexmoduletargetPreparer
installapksetup一個在檔案系統上安裝一個或多個APK的ITargetPreparer
安裝buildenvapksetup一個從Android Platform Build Env中安裝一個或多個測試APK的ITargetPreparer
安裝InstrumentationStest運行在目前設備上找到的所有儀器。
InstantAppHandler用於ModuleParameters#INSTANT_APP
儀器備件運行儀器的ITargetPreparer
儀器測試在給定設備上執行儀器測試包的測試。
InvocationContext IInvocationContext的通用實作。
Invocation Execution描述所有呼叫步驟的類別:建置下載,target_prep,執行測試,清理。
InvocationLocal <t>此類別提供呼叫 - 委託變數。
InvocationMetricLogger一個實用程式類,用於呼叫一些指標。
InvocationMetricLogger.InvocationGroupMetricKey分組允許在同一密鑰下記錄幾個組。
InvocationMetricLogger.InvocationMetrickey我們將始終為調用而填充的一些特殊命名密鑰。
InvocationStatus一個用於儲存呼叫狀態的課程。
InvocationStatus助手枚舉以表示呼叫狀態
InvicationsummaryHelper用於收集和報告TestSummary的助手課程,用於一組聽眾
InvocationToJunitResultForwarder一類聽取ITestInvocationListener事件並將其轉發到TestListener課程。
iPostProcessor後處理器是貿易聯合對象,旨在允許測試後和結果報告先前的指標和日誌處理。
iremotefeature介面描述了可以根據請求執行的交易中的功能。
iremoteFileReSolver可以將遠端檔案解析為本機檔案的物件的介面。
iremoteFileReSolver.RemoteFileReSolverargs ARGS傳遞給解析器
iremoteFileReSolver.resolvedFile持有有關已解決的文件和一些元資料的班級持有資訊。
iremotescheduledlistenersfeature IRemoteFeature的擴展以支援透過IScheduledInvocationListener s的傳遞。
iremotetest報告直接導致ITestInvocationListener測試。
iReportNoteXected如果執行不完整,實現該介面的IRemoteTest可能會報告其未執行的測試以改善報告。
irescheduler用於重新安排配置以進行將來執行的介面。
iresourcemetriccollector使用者實作自訂資源收集器的介面。
irestapihelper用於執行REST API呼叫的輔助介面。
iresumabletest此介面已棄用。不再需要這個
Iretrydecision介面推動重試決策並將過濾器應用於班級,以進行更多針對性的重試。
Iruntimehintprovider
irunutil用於運行定時操作和系統命令的介面。
irunutil.envpriority定義設定還是解開特定env的枚舉。
irunutil.irunnableresult非同步執行傳回布林態狀態的操作的介面。
isandbox定義可用於執行呼叫的沙盒的介面。
isandboxFactory用於創建ISandbox工廠。
IsetoptionReceiver此介面的實作應具有一個Option ,該選項的「 set-option」名稱連結到HostTest#SET_OPTION_NAME
IshardableListener可以碎片的ITestInvocationListener
ishardabletest一個可以分開可執行的子測試的IRemoteTest
Ishardhelper描述為配置採用的碎片策略的物件的介面。
隔離主機測試實作 TradeFed 運行程序,該運行程序使用子進程在低依賴性環境中執行測試,而不是在主進程上執行測試。
Isupportranularresults界面指定ITestInvocationListener是否支援接收顆粒狀結果。
ISYSTEMSTATUSCHECKER執行系統狀態檢查並傳回布林值的檢查器,以指示系統是否處於預期狀態。
Isystemstatuscheckereceiver需要從配置中存取ISystemStatusChecker IRemoteTest
itargetClecleaner此介面已棄用。拆卸已移至基本的ItargetPreparer介面。
itargetPreparer為測試運行準備測試環境。
IterribleFailureHandlerLogUtil.CLog.wtf(String, Throwable)處理可怕故障的接口
iTestannotationFilterReceiver可以根據註釋過濾哪些測試進行測試的跑步者。
iTestCollector為測試收集提供支援;設定後,測試跑步者必須執行乾式跑步以收集測試案例,而無需實際執行。
iTestDevice為DDMLIB IDevice提供了可靠且稍微高一點的API。
itestdevice.apexinfo一個簡單的結構類,用於儲存有關單一頂點的信息
itestdevice.mountpointinfo一個簡單的結構類,用於儲存有關單個山頂的信息
itestDevice.RecoveryMode
iTestFilefileFilterReceiver可以接收文件的跑步者,以指定要運行和/或不運行的測試。
iTestFilterReceiver可以過濾哪些測試進行運行的跑步者。
iTestinformationReceiver介面以接收某些類別的TestInformation
iTestinvocation處理一項貿易支援測試調用。
iTestInvocation.exitinformation表示調用的一些退出資訊。
iTestinvocationListener聽眾從測試呼叫中獲得測試結果。
iTestLifecycleceiver在儀器測試運作期間接收事件通知。
iTestLogger可以執行各種類型的資料流來記錄的實體。
iTestLoggerReceiver可以注入ITestLogger實例的實體,以便將其用於記錄目的。
iTestSpool描述我們可以存取和運行的測試池的接口
iTestsuite用於運行測試套件的抽象類別。
iTestSuite.MultideViceModulestrategy
iTestSuiterSultLoader介面描述了一個可以重新運行的方式載入先前結果的助手。
iTestSummaryListener允許ITestInvocationListener的介面可以透過摘要交換一些有限的資訊。
iTestszipinstaller從設備上的測試ZIP檔案(由建置系統輸出)安裝測試。
ItokenProvider描述可以提供特定設備令牌的物件的介面。
Itokenrequest介面IRemoteTest可以實現,以揭示其需要具有特殊令牌的設備的事實。

J

jarhosttest測試跑步者用於主機側JUNIT測試。
jarhosttest.hosttestlistener包裝器偵聽器將除了TestRunStarted()和TestRuneding()()()向嵌入式偵聽器轉送所有事件。
Javacodecoveragecollector一種BaseDeviceMetricCollector ,將從裝置上刪除Java覆蓋範圍,並將其記錄為測試工件。
Javacodecoverageflusher一個實用程式類,該類別重置並迫使設備上運行的流程的Java程式碼覆蓋範圍測量。
JSONFILEKEYSTORECLIENT本機JSON檔案代表金鑰儲存的範例實作。
JSONFILEKEYSTOREFACTORY JSON金鑰庫工廠的實現,該工廠提供了用於存取JSON金鑰儲存檔案的JSONFileKeyStoreClient
jsonhttptptestesultreporter編碼測試指標結果和分支的結果記者,設備訊息,然後發佈到HTTP服務端點中
Junit4Resultforwarder Runit4 Runner的結果前鋒。
Junit4TestFilter透過擴充Filter ,為Junit4 Runner提供過濾的助手類別。
Junitrunutil用於指導IRemoteTest#run(TestInformation, ITestInvocationListener)助手類別呼叫到Test#run(TestResult)調用。
JunittoInvocationResultForwarder傾聽TestListener事件並將其轉發到ITestInvocationListener課程。
junitxmlparser從ant的XMlJunitResultFormatter中提取測試結果的解析器,並將其轉送到iTestinvocationListener中。

K

kerneltargetTest測試跑者可在目標和解析核心測試的訓練中運行。
kerneltestmodulecontoller模組控制器的基底類別在不符合體系結構時不執行測試。
KeyguardControllerState關鍵守衛狀態的容器。
KeyguardStatuschecker執行模組後檢查鑰匙守衛狀態。
KeyStoreException當致命的鑰匙店錯誤發生時拋出。
killexistingemulatorpreparer一個關閉運行的模擬器的ITargetPreparer
已知FailurePreparer目標準備者跳過重試已知的失敗。
KTap結果解析器讀取由 KUnit 測試模組產生的 KTAP 輸出,並將其放置在 debugfs 下的「結果」檔案中。
ktapresultparser.parseresolution
kunitmoduletest用於在設備上運行Kunit測試模組的測試跑步者。

L

LabResourcedEviceMonitor實驗室資源監視器初始化/管理labResourceservice的GRPC伺服器。
大輸出電源旨在幫助執行長期運行命令收集輸出的類別。
LastShardDetector在運行本地分片時,有時我們只想在最後一片invocationEnded(long)時執行一些操作。
LaunchCvDhelper實用程式助理以控制墨西哥魚VM中的啟動_cvd。
洩漏ThreadStatuschecker狀態檢查器以確保模組不會洩漏運行線程。
LegacySubProcessresultsreporter儘管超級類別的變化,但子過程結果的冷凍實現應與早期版本的TF/CTS(例如8+)保持相容。
ListInstrumentationParser IShellOutputReceiver解析「 PM清單」儀器的輸出查詢
ListInstrumentationParser.instrumentationTarget
localandroidvirtualdevice在交易的主機上執行的本機虛擬設備的類別。
LocalAppBuildProvider一個基於提供的本機路徑的IBuildInfo IBuildProvider
本地開發人員檢測並返回這是否是經營交易的本地開發人員。
LocalDeviceBuildProvider一個基於提供的檔案系統目錄路徑建構IDeviceBuildInfo IBuildProvider
LocalemulatorLaunch TargetPreparer從Android建置環境中本地啟動模擬器。
localemulatorsNapshot旨在從Android建置/開發環境中產生清潔的模擬器快照的目標編制者
LocalFileHeader LocalFileHeader是包含ZIP檔案中檔案/資料夾資訊的類別。
LocalFileSolver允許連結本機檔案的IRemoteFileResolver的實現
LocalFolderBuildProvider一個基於提供的本機路徑IBuildProvider ,建構IFolderBuildInfo
Localhostresourcemanager管理器主機資源。
Localpool實施一系列本地測試
LocalRunInstructionBuilder實用程式以編譯指令以在本地運行測試。
LocksettingsBaselineSetter拆卸螢幕鎖定設定的設定器。
logcatcrashrashresultforwarder特殊偵聽器:在故障(儀器過程崩潰)上,它將嘗試從撞車事故中提取崩潰,並將其添加到與測試關聯的失敗訊息中。
logcateventparser
logcateventtype LogcatEventParser的事件類型。
LogCatonFailUreCollector當測試用例失敗時,將捕獲並記錄logcat的收集器。
logcatreceiver在背景中收集logcat的類別。
LogCattimingMetricCollector在一個或多個重複測試期間,透過使用給定的正規表示式模式將事件的啟動和結束訊號從logcat行中解析,從而在一個或多個重複測試中從logcat中收集定時資訊(例如使用者切換時間)的公制收集器。
logDatatype表示日誌資料的資料類型。
記錄檔類別以將元資料儲存為已儲存的日誌檔案。
logfilesaver ITestInvocationListener的助手,將日誌資料儲存到文件
lemgreceiver
log Registry ILogRegistry的實現,該實作使用適當的日誌記錄器,基於呼叫線程的ThreadGroup ,使用適當的記錄器。
LogSaverResultForwarder用於使用全域檔案避免日誌保存日誌的ResultForwarder
logutil伐木公用課程。
logutil.clog Log的墊片類,該類別自動使用呼叫者的簡單類別名稱作為日誌標籤
Luciresultreporter結果記者將ResultDB和LUCI所需的測試結果儲存到JSON格式(GO/Result-Sink)中,並記錄控制台中的文件位置。

中號

MainlineModuleHandler一個簡單的處理程序類,用於主機模組,該類別創建一個sterminapexmoduletargetPreparer,並根據給定的Mainline模組將動態連結注入其中,以自動檢索這些模組。
MainLinetestModuleController模組控制器的基類可以根據測試設備上的預載主線模組來執行測試。
管理部門在虛擬機器內運行的設備,我們透過VM內的交易執行個體遠端管理。
託管測試範圍工廠創建可以透過TF監控的不同類型的設備
maxsdkmodulecontroller用於模組控制器的基類,無法在指定的SDK版本號上方進行版本上執行測試。
合併ZipentryCollection將大型拉鍊檔案中的單一拉鍊條目合併為區塊中,以最大程度地減少下載嘗試。
MergemultibuildTargetPreparer IMultiTargetPreparer允許透過命名將資訊從一個構建中傳遞給另一個構建,並將文件鍵複製到另一個構建中。
Mergentrategy描述在存在多次嘗試時應如何彙總結果。
metricfilepostprocessor用於上傳測試和運行等級期間收集的指標日誌檔案。
公制@Test註釋的測試方法的註釋,或者註釋是TestDescription的註釋列表的一部分,該列表允許指定一些額外的參數,可用於:調整收集器的行為並過濾一些方法。
MetricsXmlResultReporter Metricsxmlresultreporter在測試的呼叫階段將測試指標寫入測試指標並將指標執行到XML檔案中。
Metrictestcase作為交易的一部分運行時允許記錄指標的TestCase的擴展。
Metrictestcase.logholder結構保存要報告的日誌檔案。
metricutil從推送的StatsD配置中提取指標的實用程式類別。
衡量重包含用於儲存測試指標的常用實用方法,在類似測試中匯總了指標,並將指標寫入檔案。
MinapilevelModuleController模組控制器的基底類別在指定的API等級以下時不執行測試。
Minsdkmodulecontroller用於模組控制器的基類無法在指定的SDK版本號以下的版本上執行測試。
MixImageZippReparer在設備建構中混合系統所建構的圖像的IMultiTargetPreparer
MixkerneltargetPreparer允許將核心影像與裝置影像混合的ITargetPreparer
MoblyBinary Hostest主機測試旨在從Android Build System(SOONG)運行Mobly Python二進位檔案
MoblyyamlresultControllerInfoHandler Mobly yaml結果「控制器資訊」元素處理程序。
moblyyamlresultControllerInfoHandler.ControllerInfo
moblyyamlresultControllerInfoHandler.controllerinfo.builder
MoblyyamlresulthandlerFactory Mobly Yaml結果處理程序工廠,該工廠根據結果類型產生適當的處理程序。
moblyyamlresulthandlerfactory.invalidresulttypeexception
moblyyamlresulthandlerfactory.type
Moblyyamlresultparser Mobly Yaml測試結果解析器。
Moblyyamlresultrecordhandler Mobly yaml結果「記錄」元素處理程序。
moblyyamlresultrecordhandler.Record
moblyyamlresultrecordhandler.record.builder
moblyyamlresultrecordhandler.RecordResult
Moblyyamlresultsummaryhandler Mobly yaml結果「摘要」元素處理程序。
Moblyyamlresultsummaryhandler.Summary
moblyyamlresultsummaryhandler.summary.builder
Moblyyamlresulttestnamelisthandler Mobly Yaml結果「測試名稱清單」元素處理程序。
Moblyyamlresulttestemelisthandler.testnamelist
moblyyamlresulttestemelisthandler.testnamelist.builder
Moblyyamlresultuserdatahandler Mobly yaml結果「使用者資料」元素處理程序。
moblyyamlresultuserdatahandler.userdata
moblyyamlresultuserdatahandler.userdata.builder
模組化用於測試運行配置的容器。
模組監聽器偵聽器附加到每個模組的每個IRemoteTest以收集結果清單。
ModuleLogCatCollector LogCat收集器的版本,但用於模組。
Modulemerger分割後與ITestSuiteModuleDefinition合併的操作助手類別。
ModuleoemtargetPreparer
模組培訓器每個模組元資料中與套件“參數”鍵相關的特殊值。
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 .
ModuleTestTypeUtil Contains common utility methods for checking module.
MultiFailureDescription Collect multiple FailureDescription in one holder.
MultiMap <K, V> A ERROR(/Map) that supports multiple values per key.

NameMangleListener A proxy listener to translate test method, class, and package names as results are reported.
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.
NativeDevice Default implementation of a ITestDevice Non-full stack android devices.
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 Representation of the device running inside a remote 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

OpenObjectLoader Loader for the default objects available in AOSP.
選項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 Populates Option fields.
OptionSetter.OptionFieldsForName Container for the list of option fields with given name.
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.

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.
透過測試文件報告器將傳遞的測試案例清單儲存到測試檔案的ITestInvocationListener
PerfettoGenericPostProcessor A post processor that processes text/binary metric perfetto proto file into key-value pairs by recursively expanding the proto messages and fields with string values until the field with numeric value is encountered.
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 Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it.
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 Logger matching the events and logging them in order to make it easier to debug.
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 Result reporter build a TestRecord protobuf with all the results inside.
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 Result forwarder to replace the run name by the binary name.
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.

QuotationAwareTokenizer

RebootReasonCollector Collector that collects device reboot during the test run and report them by reason and counts.
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) .
RemoteAndroidDevice Implementation of a ITestDevice for a full stack android device connected via adb connect.
RemoteAndroidVirtualDevice Extends RemoteAndroidDevice behavior for a full stack android device running in the 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 Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout.
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.
ReportPassedTests Report in a file possible filters to exclude passed test.
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.
ResultAggregator Special forwarder that aggregates the results when needed, based on the retry strategy that was taken.
ResultAndLogForwarder Forwarder for results and logs events.
ResultForwarder A ITestInvocationListener that forwards invocation results to a list of other listeners.
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.
RetryLogSaverResultForwarder Forwarder that also handles passing the current attempt we are at.
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.
RetryResultForwarder An Extension of ResultForwarder that always push to a given attempt number.
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.
RootcanalForwarderPreparer
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 Collector that collects timestamps of runtime restarts (system server crashes) during the test run, if any.
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 .
ScreenshotOnFailureCollector Collector that will capture and log a screenshot when a test case fails.
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 A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener.
ShardMainResultForwarder A ResultForwarder that combines the results of a sharded test invocations.
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.
ShowmapPullerMetricCollector Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it.
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.
SkipManager Based on a variety of criteria the skip manager helps to decide what should be skipped at different levels: invocation, modules and tests.
SkipReason Provide a reason and its metadata for skipping a test.
SkipReason.DemotionTrigger
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.
StatsdBeforeAfterGaugeMetricPostProcessor A post processor that processes gauge metrics collected in a "before/after" approach, ie
StatsdEventMetricPostProcessor A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor.
StatsdGenericPostProcessor A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure.
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 An implementation of 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.SkippedTestEventInfo
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 Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations.
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 Collect test results for an entire suite invocation and output the final results.
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

時間

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.
TestContentAnalyzer The analyzer takes context for the analysis and determine what is interesting.
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.
TestDevice Implementation of a ITestDevice for a full stack android device
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 .
測試環境A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested.
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.
測試結果Container for a result of a single test.
測試結果監聽器ITestLifecycleListener 的簡化,適用於只關心單一測試結果的實施者。
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.
TestStatus Representation in Tradefed of possible statuses for test methods.
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 Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout.
TextResultReporter A test result reporter that forwards results to the JUnit text result printer.
TfMetricProtoUtil Utility class to help with the Map to Map過渡。
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 .
浪費時間的人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 A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation.
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 A stub IScheduledInvocationListener that does nothing.

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
使用者資訊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.

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,

WifiCommandUtil A utility class that can parse wifi command outputs.
WifiCommandUtil.ScanResult Represents a wifi network containing its related info.
WifiHelper Helper class for manipulating wifi services on device.
WifiPreparer A ITargetPreparer that configures wifi on the device if necessary.

X

XmlFormattedGeneratorReporter Implementation of the FormattedGeneratorReporter which format the suite results in an xml format.
XmlResultReporter Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter.
XmlSuiteResultFormatter Utility class to save a suite run as an XML.
XmlSuiteResultFormatter.RunHistory Helper object for JSON conversion.

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