谷歌致力於推進種族平等的黑人社區。 怎麼看。
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

類指數

這些API類。查看所有的API包

一個

AaptParser 類提取物的apk信息通過解析“AAPT轉儲徽章”的輸出。
阿比 表示ABI的類。
AbiFormatter 對於ABI的實用工具類。
AbiUtils 處理設備的ABI的實用工具類
AbstractHostMonitor 典型的類主機健康狀況監控。
AbstractTargetCleaner 一個ITargetCleaner類與存根setUp(ITestDevice, IBuildInfo)方法
AbstractXmlParser 助手基類解析XML文件
AbstractXmlParser.ParseException 如果XML輸入無法解析時拋出
AcloudConfigParser 助手類解析Acloud配置(用於啟動雲裝置實例)。
AcloudConfigParser.AcloudKeys 關鍵的設置可以從配置進行搜索。
ActivityStatusChecker 狀態檢查在模塊的運行結束遺留下來的活動。
AdbStopServerPreparer 目標報稅之前和執行adb測試後停止主機上的服務器ADB。
AdditionalFilesInstaller 一個ITargetPreparer是推動所有IBuildInfo#getFiles()在設備具體路徑。
AggregatePostProcessor 度量聚合器,使該最小值,最大值,平均值,用於在多迭代測試運行收集的數字度量方差和標準偏差,將它們視為雙打。
報警 其中等待一段時間,然後甲線程中斷特定其他線程。
AllTestAppsInstallSetup ITargetPreparer它安裝來自所有應用IDeviceBuildInfo#getTestsDir()到設備的文件夾。
AltDirBehavior 的枚舉定義各種測試工件安裝/推動器替代目錄行為

AndroidJUnitTest 一個測試,運行使用android.support.test.runner.AndroidJUnitRunner給定設備上的儀表測試包。
AndroidManifestWriter 助手類修改AndroidManifest。
AoaTargetPreparer ITargetPreparer執行使用Android打開附件(AOAv2)協議的一系列動作(例如點擊和劃動)。
AppBuildInfo IBuildInfo表示Android應用程序和它的測試包(一個或多個)。
AppDeviceBuildInfo 一個IDeviceBuildInfo也包含一個IAppBuildInfo
AppSetup 一個ITargetPreparer用於安裝的APK和它的測試。
AppVersionFetcher 實用類從設備獲得應用程序版本字符串。
AppVersionFetcher.AppVersionInfo 應用程序版本信息類型。
ArgsOptionParser 填充Option從解析的命令行參數字段。
ArrayUtil 數組的實用方法
AtestRunner 實施ITestSuite
AtraceCollector 一個IMetricCollector運行一個測試期間atrace並收集結果,並將它們記錄到調用。
AtraceRunMetricCollector 收集從測試設備的指定目錄下的所有test目錄下的痕跡,記錄測試目錄和後處理的跟踪文件test目錄下,並聚集指標。
AutoLogCollector 枚舉描述哪些收集器可以自動地由線束來處理。
AveragePostProcessor 後置處理器的實現,計算平均指標的清單。

BackgroundDeviceAction 運行給定的設備重複必要直到動作被取消的命令。
BaseDeviceMetricCollector 基本實現IMetricCollector ,允許啟動和停車時收集onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData)ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map))
BaseHostJUnit4Test 基礎測試類運行主機JUnit4風格的測試。
BaseLeveledLogOutput 對於基實現ILeveledLogOutput ,允許基於其名稱或組件篩選一些標籤。
BaseModuleController 基本實現IModuleController應該檢查如果一個模塊應該運行或無法執行。
BaseMultiTargetPreparer 基本實現IMultiTargetPreparer ,允許禁用對象。
BasePostProcessor 該基地IPostProcessor每個執行應該擴展。
BaseTargetPreparer 基本實現類ITargetPreparer ,使控制對象是否禁用。
BaseTestSuite 一個測試為新套件的系統上運行兼容性測試套件。
BatteryTemperature
BatteryUnavailableDeviceRecovery 恢復檢查將觸發的配置,如果電池電量不可用。
BinaryState 枚舉用於記錄開/關狀態與IGNORE無操作狀態。
BluetoothUtils 調用BluetoothInstrumentation設備上的實用功能

裝置側BluetoothInstrumentation代碼可以在AOSP在以下網址找到: frameworks/base/core/tests/bluetoothtests

BootstrapBuildProvider 一個IDeviceBuildProvider從測試設備白手起家構建信息

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

BuddyInfoMetricCollector 一個ScheduledDeviceMetricCollector以定期收集碎片。
錯誤報告 物體保持在錯誤報告文件的引用,平錯誤報告和壓縮的錯誤報告(bugreportz)兼容。
BugreportCollector 直通ITestInvocationListener收集bug報告時,可配置的事件發生,然後調用ITestInvocationListener#testLog每個錯誤報告被收集後,其子女。
BugreportCollector.Filter
BugreportCollector.Freq
BugreportCollector.Noun
BugreportCollector.Predicate 一個完整的謂語描述何時捕捉錯誤報告。
BugreportCollector.Relation
BugreportCollector.SubPredicate
BugreportzMetricCollector 一個ScheduledDeviceMetricCollector以定期收集壓縮的錯誤報告。
BugreportzOnFailureCollector 收集bugreportz當測試案例失敗。
BuildError 如果提供的編譯無法運行時拋出。
BuildInfo 通用實施的IBuildInfo應與相關ITestDevice
BuildInfoAttributePreparer 一個ITargetPreparer ,增加了任意屬性的IBuildInfo
BuildInfoKey 類控股枚舉有關構建信息查詢。
BuildInfoKey.BuildInfoFileKey 枚舉描述所有可通過查詢該已知文件類型IBuildInfo#getFile(BuildInfoFileKey)
BuildInfoRecorder 一個ITargetPreparer寫入構建信息元數據到一個指定的文件。
BuildRetrievalError 在檢索構建測試發生了致命錯誤。
BuildSerializedVersion 類,它包含所有的當前版本的序列化IBuildInfo
BuildTestsZipUtils 對於涉及到的測試操作的輔助類拉鍊通過Android編譯系統生成
BulkEmailer 甲電子郵件發件人工具,它允許進行以下配置:發送間隔,初始突發大小,收件人和總數的消息。
BundletoolUtil 工具類應用bundletool命令行上deivce安裝.apks。
ByteArrayInputStreamSource
ByteArrayList 一個類來表示一個輕量級字節數組。

C

CarModuleController 該控制器防止了測試例執行對非汽車設備。
CarryDnaeError 內部RuntimeException攜帶DeviceNotAvailableException通過JUnit4框架。
CdmaDeviceFlasher 與CDMA無線電物理Android裝置上閃爍的圖像的類。
CheckPairingPreparer CompanionAwarePreparer用於驗證初級和同伴設備之間的BT接合
CircularAtraceUtil 一個atrace效用主要開發了用於猴測試期間識別ANR次數的根源。
CircularByteArray 數據結構,用於保持其操作作為循環緩衝器,並跟踪在陣列中的所有值的總和的固定大小的數組。
ClassNotFoundConfigurationException ConfigurationException當找不到對象的類為。
ClassPathScanner 查找類路徑條目。
ClassPathScanner.ClassNameFilter 一個IClassPathFilter濾網和轉換的Java類的名稱。
ClassPathScanner.ExternalClassNameFilter ClassNameFilter排斥內部類
ClassPathScanner.IClassPathFilter 一種用於類路徑條目路徑濾波器

圖案後FileFilter

ClockworkUtils 用於共享多設備邏輯發條效用
CodeCoverageTest 一個測試,運行給定的設備上的儀表測試包,並生成代碼覆蓋率報告。
CollectingByteOutputReceiver IShellOutputReceiver其收集整個殼輸出到byte[]
CollectingOutputReceiver IShellOutputReceiver其收集整個殼輸出成一個String
CollectingTestListener 一個ITestInvocationListener將收集所有的測試結果。
CollectorHelper 助手做一些IMetricCollector在幾個地方所需的操作。
CommandFileParser 解析器文件,它包含的命令行設置。
CommandFileParser.CommandLine
CommandInterrupter 服務允許TradeFederation命令被打斷或標記為不可中斷。
CommandOptions 實施ICommandOptions
CommandResult 包含一個命令的結果。
CommandRunner 一個替代TradeFederation入口點,將運行在命令行參數指定的命令,然後退出。
CommandRunner.ExitCode 錯誤代碼是可能的退出。
CommandScheduler 一種用於運行TradeFederation調度跨越所有可用設備的命令。
CommandScheduler.HostState 主機的不同狀態枚舉
CommandStatus 表示一個定時操作的狀態。
CommonLogRemoteFileUtil 此實用工具允許避免代碼重複跨越不同的遠程設備表示為遠程日誌獲取的公共文件的邏輯。
CommonLogRemoteFileUtil.KnownLogFileEntry 遠程設備的已知日誌條目的表示。
CompanionAllocator 基類,它分配和釋放配套設備的護理

getCompanionDeviceSelectionOptions()應被實現來描述分配伴隨裝置所需要的標準

CompanionAwarePreparer 一個ITargetPreparer封裝得到一個已經分配的配套設備的邏輯。
CompanionAwareTest 測試基類,封裝boilerpate獲取和檢查配套設備的

子類可以調用getCompanion()來檢索分配的伴侶。

CompanionDeviceTracker 一種用於分配和釋放配套設備類
CompanionRunCommandTargetPreparer 一個ITargetPreparer是運行指定分配的配套設備上的命令
CompanionTestAppInstallSetup ITargetPreparer ,其從安裝了一個或更多的應用程序IDeviceBuildInfo#getTestsDir()夾到所分配的同伴設備。
ConditionPriorityBlockingQueue <T> 有一個線程安全類ERROR(/PriorityBlockingQueue)式的操作,可以檢索符合特定條件的對象。
ConditionPriorityBlockingQueue.AlwaysMatch <T> 一個ConditionPriorityBlockingQueue.IMatcher任何對象匹配。
ConditionPriorityBlockingQueue.IMatcher <T> 用於確定是否元素符合某種條件的接口。
ConfigCompletor 在實施Completor我們的TF配置。
組態 一個具體的IConfiguration實現,存儲裝載配置中的地圖對象。
ConfigurationDef 擁有的配置,其關聯的對象和他們的選擇的記錄。
ConfigurationDef.ConfigObjectDef 目的是為保持的className信息,並有出現次數(例如,如果一個配置具有相同的對象兩次,第一個將有首次亮相號)。
ConfigurationDef.OptionDef 持有期權的細節。
ConfigurationDescriptor 配置對象描述配置本身的某些方面。
ConfigurationDescriptor.LocalTestRunner 枚舉用於指示本地測試運行。
的ConfigurationException 如果配置無法加載拋出。
ConfigurationFactory 工廠創建IConfiguration
ConfigurationFactory.ConfigLoader 的實施IConfigDefLoader跟踪從一個根配置所包含的配置,並且拋出異常上圓形包括。
ConfigurationUtil 效用函數來處理配置文件。
的configutil 創建與互動,推動statsd配置文件的實用工具類。
ConnectionChecker 目標是製備者等待,直到一個IP地址asigned到任何指定的接口。
安慰 主要TradeFederation控制台提供用戶與界面進行交互

目前支持如操作

  • 添加一個命令測試
  • 列表中的設備和其狀態
  • 正在進行中的調用列表
  • 在隊列列表命令
  • 轉儲調用日誌文件/標準輸出
  • 關掉
Console.ArgRunnable <T> Runnablerun ,可以採取一個參數的方法
Console.CaptureList 一個方便的類型List<List<String>>
ConsoleReaderOutputStream 可以使用一個OutputStream做System.out.print()發揮好與用戶的ConsoleReader緩衝區。
ConsoleResultReporter 結果記者打印測試結果到控制台。
ContentProviderHandler 處理器抽象內容提供商的互動,並允許使用不同的操作設備方面的內容提供商。
CoverageMeasurementForwarder 一個虛擬測試fowards從生成提供記錄器覆蓋測量。
CpuStatsCollector 它運行Helper類cpustats不斷上ITestDevice並解析輸出。
CpuStatsCollector.CpuStats 類用於保持解析的輸出數據為單個cpustats輸出。
CpuStatsCollector.CpuStatsReceiver 接收器,其分析從輸出cpustats和任選記錄到文件中。
CpuThrottlingWaiter 一個ITargetPreparer是等待,直到最大頻率上的所有核心都將恢復到可用的最高水平
CrashCollector ITargetPreparer運行在設備上,其抑制和日誌測試執行期間崩潰崩潰集電極。
CreateUserPreparer 目標編制者創建用戶和清除它在最後。

d

DebugHostLogOnFailureCollector 收集器將收集和當測試案例失敗時記錄主機端日誌。
DefaultRemoteAndroidTestRunner 在ddmlib的擴展RemoteAndroidTestRunner設置一些默認Tradefed使用情況。
DefaultTestsZipInstaller 測試默認實現壓縮安裝程序。
DeviceBatteryLevelChecker 一個ITargetPreparer該檢查的最小電池充電,並且等待電池達到第二充電閾如果最小電荷不存在。
DeviceBuildDescriptor 包裝類的IBuildInfo ,包含輔助方法來檢索設備平台構建的信息。
DeviceBuildInfo IBuildInfo代表一個完整的Android裝置的構建和(任選地)其測試。
DeviceBuildInfoInjector ITargetPreparer進行的插入DeviceBuildDescriptor元數據插入到IBuildInfo
DeviceCleaner 執行重新引導或格式如試驗後清理動作,以及任選地接通屏幕關閉
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
DeviceConcurrentUtil 包含用於並發設備側命令執行實用程序的方法和類

使用ERROR(/ExecutorService)來運行所實施的命令ShellCommandCallable ,和使用ERROR(/#joinFuture(String,Future,long))針對同步ERROR(/Future)作為返回由ERROR(/ExecutorService)該命令的執行。

DeviceConcurrentUtil.ShellCommandCallable <V> ERROR(/Callable)一個包裝上的執行外殼命令的細節ITestDevice
DeviceConfigurationHolder 一個具體IDeviceConfiguration實現,存儲在它的屬性加載的設備配置對象。
DeviceDiagTest 該診斷可用於運行測試設備的測試。
DeviceDisconnectedException 當設備通過它的傳輸類型不再可達拋出。
DeviceFailedToBootError 如果設備與構建閃現後無法開機時拋出。
DeviceFatalError 當設備發生了致命錯誤,它不應再用於測試扔了,。
DeviceFileReporter 一個工具類檢查文件的設備並將它們發送到ITestInvocationListener#testLog(String, LogDataType, InputStreamSource)如果找到。
DeviceFlashPreparer ITargetPreparer該閃爍上的實體Android硬件的圖像。
DeviceFlashPreparer.EncryptionOptions 選項枚舉處理用戶數據圖像的加密
DeviceFolderBuildInfo 一個IDeviceBuildInfo還包含有對本地文件系統的目錄等構建構件。
DeviceJUnit4ClassRunner JUnit4測試運行也適應IDeviceTest
DeviceJUnit4ClassRunner.LogAnnotation 假註釋意味著攜帶日誌記者。
DeviceJUnit4ClassRunner.MetricAnnotation 假註釋意味著攜帶指標向記者介紹。
DeviceJUnit4ClassRunner.TestLogData 實施ExternalResourceTestRule
DeviceJUnit4ClassRunner.TestMetrics 實施ExternalResourceTestRule
DeviceJUnit4ClassRunnerBuilder RunnerBuilder供給DeviceJUnit4ClassRunner S,具體用於對供給流道ERROR(LongevitySuite/android.host.test.longevity.LongevitySuite LongevitySuite)LongevityHostRunner
裝置經理
DeviceManager.FastbootDevice
DeviceMetricData 對象保存由度量收集器收集的所有數據。
DeviceMonitorMultiplexer 代理類傳播請求到多個IDeviceMonitor秒。
DeviceNotAvailableException 當一個設備不再可用於測試拋出。
DeviceParameterizedRunner JUnit4風格參數亞軍主機端驅動的參數測試。
DeviceProperties 對於設備側屬性名稱公共常量定義
DeviceRecoveryModeUtil
DeviceRuntimeException 當設備動作並沒有導致預期的結果拋出。
DeviceSelectionOptions 容器用於設備的選擇標準。
DeviceSelectionOptions.DeviceRequestedType 所支持的不同可能類型的佔位符的設備。
DeviceSettingChecker 檢查設備設置的模塊運行過程中發生了變化。
DeviceSetup ITargetPreparer用於配置用於測試基於所提供的設備Option秒。
DeviceSideCollectorSpecification Tradefed對象指定在所限定的設備集電極:

platform_testing /庫/設備收集器。

DeviceStateMonitor Helper類用於監視的狀態IDevice
DeviceStorageFiller 目標報稅填滿存儲這樣的自由空間量是可用的。
DeviceStringPusher 目標報稅寫一個字符串的文件。
DeviceSuite 擴展JUnit4容器Suite ,以提供一個ITestDevice給需要它的測試。
DeviceTestCase 助手JUnit測試的情況下,提供了IRemoteTestIDeviceTest服務。
DeviceTestResult 一個專業化TestResult時,將中止DeviceNotAvailableException發生
DeviceTestResult.RuntimeDeviceNotAvailableException
DeviceTestRunOptions 構建器類與通過BaseHostJUnit4Test運行設備測試選項。
DeviceTestSuite 助手JUnit測試套件,提供了IRemoteTestIDeviceTest服務。
DeviceUnavailEmailResultReporter 一個EmailResultReporter當調用失敗由於設備不可用的異常,將發送電子郵件。
DeviceUnresponsiveException 的專業化DeviceNotAvailableException指示設備是亞行可見的,但沒有響應(即,命令超時,無法啟動,等)
DeviceUtilStatsMonitor IDeviceMonitor計算設備利用率的統計。
DeviceUtilStatsMonitor.StubDeviceUtil 計算平均利用率主機枚舉時用於配置治療存根設備
DeviceUtilStatsMonitor.UtilizationDesc 容器利用統計信息。
DeviceWiper 一個ITargetPreparer該濕巾用戶數據
將DirectedGraph <V> 有向加權圖的實施。
DisableSELinuxTargetPreparer 目標報稅如果啟用禁用SELinux的。
DryRunKeyStore 一種幹式運行密鑰庫,其中的任何密鑰存儲值總是正確的更換和發現。
DumpHeapCollector 一個ScheduledDeviceMetricCollector收集內存轉儲的定期進程。
DynamicFileStubTest 這是一個tradefed測試,測試tradefed能正確解析動態文件。
DynamicRemoteFileResolver 類,有助於解決遠程文件路徑。

Ë

電子郵件 一個輔助類來發送電子郵件。
EmailHostHealthAgent 一個IHostHealthAgent實現發送電子郵件從主機監控報告
EmailResultReporter 一個簡單的結果,記者的基類發送電子郵件的測試結果。
EmmaXmlConstants 常量分析艾瑪XML報告時使用。
EnforcedSeLinuxChecker 狀態檢查,確保了SELinux的狀態。
EraseUserDataPreparer ITargetPreparer該擦拭裝置上的用戶數據。
ExecutableBaseTest 基類的測試可執行風格。
ExecutableHostTest 測試運行在主機上的可執行文件運行。
ExistingBuildProvider 一個IBuildProvider返回已構建IBuildInfo

F

FailureEmailResultReporter 一個EmailResultReporter如果任一測試失敗或調用故障發生的發送通知。
FakeTest 一個假的測試,其目的是可以很容易地生成可重複的測試結果。
FakeTestsZipFolder 創建一個假的一個測試夾具解壓測試基於文件夾的內容的列表上。
FakeTestsZipFolder.ItemType
FastbootCommandPreparer 目標準備者觸發FASTBOOT並發送FASTBOOT命令。
FastbootDeviceFlasher 依靠FASTBOOT類閃爍在實體Android硬件的圖像。
FastbootHelper 一個輔助類FASTBOOT操作。
FatalHostError 表示一個致命的不可恢復的錯誤例外發生運行TradeFederation在主機上,並且TradeFederation實例應該被關閉。
FileCleaner 一個ITargetCleaner ,消除文件系統上拆卸文件
FileDownloadCache 一個輔助類維護下載文件的本地文件系統緩存LRU。
FileDownloadCacheFactory 該工廠用於創建FileDownloadCache
FileDownloadCacheWrapper 包裝類,提供FileDownloadCache設施,同時實現IFileDownloader接口。
FileIdleMonitor 監控文件並執行,如果他們被閒置的回調(即
FileInputStreamSource 一個InputStreamSource ,其採用輸入文件。
FileLogger 一個ILeveledLogOutput引導日誌信息的文件,並到stdout。
FileProtoResultReporter 原記者轉儲TestRecord到文件中。
FilePullerDeviceMetricCollector 一個BaseDeviceMetricCollector用於偵聽關鍵指標來自設備和拉他們從設備中的文件。
FilePullerLogCollector 文件記錄器報告的設備端。
FileSystemLogSaver 將日誌保存到文件系統。
FileUtil 一個輔助類的文件相關操作
FileUtil.LowDiskSpaceException 如果可用磁盤空間是低於最小閾值拋出。
FilteredResultForwarder 的變異ResultForwarder ,只允許白名單TestDescription予以報導。
FixedByteArrayOutputStream 在內存中的ERROR(/OutputStream) ,僅保留的最大數據量。
FlashingResourcesParser 甲類解析出的輔助圖像文件所需要的版本需要閃光的裝置。
FlashingResourcesParser.AndroidInfo 一種用於typedef的Map&lt;String, MultiMap&lt;String, String&gt;&gt;
FlashingResourcesParser.Constraint 過濾接口,意在讓FlashingResourcesParser忽略一些資源,這否則可能會使用
FolderBuildInfo 具體實現的IFolderBuildInfo
FolderSaver 一個ITargetCleaner拉動目錄關閉裝置,把它壓縮並保存到記錄後端。
FormattedGeneratorReporter 記者看到,允許產生特定格式的報表。

G

GceAvdInfo 結構以保持給定的GCE AVD實例相關的數據。
GceAvdInfo.GceStatus
GceManager 管理該GCE來電助手啟動/停止收集日誌從GCE。
GceRemoteCmdFormatter 工具類格式的命令達到遠程設備GCE。
GceRemoteCmdFormatter.ScpMode SCP可用於推或拉文件取決於args來的結構。
GceSshTunnelMonitor 紗線監控的GCE SSH隧道。
GCSBucketUtil 文件管理器從谷歌雲存儲(GCS)下載和上傳文件。
GCSBucketUtil.GCSFileMetadata 簡單打包在GCS文件信息。
GCSCommon 基類,像下載和上傳GCS操作。
GCSConfigurationFactory 一個ConfigurationFactory負載從谷歌雲存儲CONFIGS。
GCSConfigurationFactory.GCSConfigLoader 的延伸ConfigurationFactory.ConfigLoader該載荷從GCS配置,從一個根配置跟踪包括配置和拋出異常上圓形包括。
GCSConfigurationServer 從谷歌雲存儲(GCS)配置服務器負載CONFIGS。
GCSDownloaderHelper 下載的GCS一桶需要緩存和解決全局配置的照顧。
GCSFileDownloader 文件下載從谷歌雲存儲(GCS)下載文件。
GCSFileUploader 文件上傳到上傳文件數據到Google雲存儲(GCS)。
GCSHostResourceManager 從GCS下載主機資源(谷歌雲存儲)。
GcsRemoteFileResolver 實施IRemoteFileResolver允許下載從GCS桶內。
GCSTestResourceProvider 從GCS下載測試資源。
GlobalConfiguration 一個IGlobalConfiguration實現,存儲在地圖加載的配置對象
GoogleApiClientUtil 對於utils的創建谷歌API客戶端。
GoogleBenchmarkResultParser 解析從shell中運行,並與所有的結果返回谷歌地圖基準的結果。
GoogleBenchmarkTest 一個測試,運行指定設備上的谷歌基準測試包。
GranularRetriableTestWrapper 在包裝類作品IRemoteTest造粒,IRemoteTest在測試用例水平。
GraphicsStatsMetricCollector 一個ScheduledDeviceMetricCollector以定期收集圖形統計。
GTEST 一個測試,運行指定設備上的本地測試包。
GTestBase 基類GTEST的
GTestListTestParser 一個結果解析器GTEST幹運行模式“--gtest_list_tests”參數。
GTestResultParser 解析的使用GTEST通知結果的ITestInvocationListener天然測試,從殼運行,而“原始輸出模式'的結果。
GTestXmlResultParser 解析的使用GTEST本地測試的“XML輸出模式'的結果,從殼,並通知其結果的一個ITestRunListener運行。

H

HeapHostMonitor AbstractHostMonitor實施監控主機上的堆內存,並定期記錄它的歷史記錄。
HelloWorldMultiTargetPreparer 一個例子實施的IMultiTargetPreparer
HistoryLogger TF歷史記錄器,特殊的日誌只包含一些特定的事件。
HostGTest 一個測試,運行原生測試包。
HostMetric 此類表示要報告主機的度量樣本。
HostOptions 主機選項holder類。
HostStatsdMetricCollector IMetricCollector收集statsd從主機側指標使用statsd實用程序命令。
HostTest 一個測試運行基於主機的JUnit測試。
HprofAllocSiteParser 輔助類來從HPROF報告的分配點的部分解析信息。
HttpHelper 包含輔助方法對HTTP請求
HttpHelper.RequestRunnable Runnable接口與發出請求IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)
HttpMultipartPost 助手製作多的HTTP POST請求的類。

一世

IAbi 接口被測表示ABI。
IAbiReceiver 需要被測ABI的測試。
IAndroidDebugBridge 接口定義為AndroidDebugBridge此包中使用的方法。
IAppBuildInfo * A IBuildInfo表示Android應用程序和它的測試包(一個或多個)。
IBatteryTemperature
IBuildInfo 持有約被測構建信息。
IBuildInfo.BuildInfoProperties 一個有些屬性IBuildInfo可能需要調整它的一些處理。
IBuildProvider 負責提供關於被測構建信息。
IBuildReceiver 需要提及的構建下測試的測試。
ICommandOptions 容器為命令執行選項。
ICommandScheduler 調度運行TradeFederation命令。
ICommandScheduler.IScheduledInvocationListener 監聽器調用事件時調用完成。
ICompressionStrategy 表示可以在運行時選擇的壓縮算法的接口。
IConfiguration 配置信息的TradeFederation調用。
IConfigurationFactory 工廠創建IConfiguration小號
IConfigurationReceiver 簡單的接口,以表示接受一個對象IConfiguration
IConfigurationServer 對於配置服務器的接口。
IDeviceBuildInfo IBuildInfo代表一個完整的Android裝置的構建和(任選地)其測試。
IDeviceBuildProvider 一個IBuildProvider使用信息從ITestDevice檢索構建。
IDeviceConfiguration 設備配置夾持件接口。
IDeviceFlasher 閃爍的設備上的設備的圖像。
IDeviceFlasher.UserDataFlashOption 選項枚舉用於處理用戶數據圖像
IDeviceManager 接口來管理一組可用設備的測試。
IDeviceManager.IFastbootListener 一個監聽FASTBOOT狀態變化。
IDeviceMonitor 接口,以便監視設備的狀態。
IDeviceMonitor.DeviceLister 一個Runnable狀類應返回已知的設備和它們的狀態。
IDeviceRecovery 接口用於恢復已經下線的設備。
IDeviceSelection 接口,用於設備的選擇標準。
IDeviceStateMonitor 提供一種用於監控的狀態設施IDevice
IDeviceTest 為對象接口,需要一個參考ITestDevice
IDisableable 接口描述,可以禁用該一個Tradefed對象。
IEmail 接口,用於發送電子郵件。
IEmail.Message 集裝箱的電子郵件數據。
IFileDownloader 接口,用於下載遠程文件。
IFileEntry 接口定義,可提供簡單,mockable合同FileEntry方法。
IFlashingResourcesParser 接口,用於提供到閃存器件所需輔助圖像文件所需要的版本。
IFlashingResourcesRetriever 接口用於檢索閃爍器件所需輔助圖像文件。
IFolderBuildInfo 一個簡單的抽象IBuildInfo其構建工件被包含在一個本地文件系統的目錄。
IFormatterGenerator 接口描述用於格式化SuiteResultHolder
IGlobalConfiguration 一類為涵蓋單個貿易聯合會實例(包括任意數量的實際配置的調用的)全局配置信息。
IHostCleaner 清理試運行後主機已完成。
IHostHealthAgent 發射主機或設備的度量的接口。
IHostMonitor 接口調度主機數據
IHostMonitor.HostDataPoint 上報數據的通用類。
IHostMonitor.HostMetricType
IHostOptions 主機選項夾持件接口。
IHostResourceManager 接口來管理主機資源。
IHttpHelper 助手方法來執行HTTP請求。
IHttpHelper.DataSizeException
IInvocationContext 如果需要保存有關調用的測試訪問信息。
IInvocationContext.TimingEvent
IInvocationContextReceiver 一個測試,需要參考調用的上下文。
IInvocationExecution 該接口描述該工作將作為調用的一部分行動。
IKeyStoreClient 接口訪問密鑰存儲密碼或敏感數據。
IKeyStoreFactory 工廠創建IKeyStoreClient
ILeveledLogOutput 它實現了這個接口提供的方法是處理輸出日誌消息類。
ILogcatReceiver 提供設備的的logcat的輸出作為A類InputStreamSource
ILogRegistry 對於接口ILogOutput單記錄儀,其复用和管理不同的記錄器。
ILogRegistry.EventType 要記錄事件是有用的
ILogSaver 這實現此接口類提供用於存儲日誌到一個中心位置的方法。
ILogSaverListener 允許ITestInvocationListener s到聽當日誌文件保存。
IManagedTestDevice A ITestDevice whose lifecycle is managed.
IManagedTestDevice.DeviceEventResponse Container for a response to a IManagedTestDevice#handleAllocationEvent(DeviceEvent) call
IManagedTestDeviceFactory Creator interface for IManagedTestDevice s
IMetricCollector This interface will be added as a decorator when reporting tests results in order to collect matching metrics.
IMetricCollectorReceiver Interface for IRemoteTest s to implement if they need to get the list of IMetricCollector s for the test run.
IModuleController Interface for controlling if a module should be executed or not.
IModuleController.RunStrategy Enum describing how the module should be executed.
IModuleParameter The interface for parameters of suites modules.
IMultiDeviceRecovery Interface for recovering multiple offline devices.
IMultiDeviceTest A test that needs reference to all the ITestDevice and their associated IBuildInfo

Most tests should not have a dependency on the build-under-test, and should rely on ITargetPreparer s to prepare the test environment.

IMultiTargetPreparer Prepares the test environment for several devices together.
INativeDevice Provides an reliable and slightly higher level API to a ddmlib IDevice .
INativeDeviceTest Interface for object that needs a reference to a INativeDevice .
IncidentReportCollector Pulls and processes incident reports that are reported device-side.
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 .
InvocationData Class holding all the data related to an invocation.
InvocationExecution Class that describes all the invocation steps: build download, target_prep, run tests, clean up.
InvocationFailureEmailResultReporter An EmailResultReporter that can also restrict notifications to just invocation failures.
InvocationScope Scopes a single Tradefed invocation.
InvocationScoped
InvocationScopeModule Guice module that can be used anywhere in a TF invocation to requests the Guice-Tradefed supported objects.
InvocationsMonitor A monitor associated with the Tradefed instance in progress.
InvocationStatus A helper enum to represent the invocation status
InvocationSummaryHelper Helper class for gathering and reporting TestSummary for set of listeners
InvocationToJUnitResultForwarder A class that listens to ITestInvocationListener events and forwards them to a TestListener .
InvocationTracker Information stored for a particular invocation (parent and all its shards).
IonHeapInfoMetricCollector A ScheduledDeviceMetricCollector to collect audio and system memory heaps at regular intervals.
IPostProcessor Post processors is a Trade Federation object meant to allow the processing of metrics and logs AFTER the tests and BEFORE result reporting.
IRemoteFileResolver Interface for objects that can resolve a remote file into a local one.
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.
IResumableTest An IRemoteTest that supports resuming a previous aborted test run from where it left off.
IRetriableTest A IRemoteTest that supports retrying if the test aborted before completion.
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.
ISetOptionReceiver Implementation of this interface should have an Option with a "set-option" name linked to HostTest#SET_OPTION_NAME .
IShardableListener A ITestInvocationListener that can be sharded.
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.
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 Cleans up the target device after the test run has finished.
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 Provides an reliable and slightly higher level API to a ddmlib IDevice .
ITestDevice.ApexInfo A simple struct class to store information about a single APEX
ITestDevice.MountPointInfo A simple struct class to store information about a single mountpoint
ITestDevice.RecoveryMode
ITestDeviceMutator An interface allowing manipulation of the IManagedTestDevice .
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.
ITestInvocation Handles one TradeFederation test invocation.
ITestInvocationListener Listener for test results from the test invocation.
ITestLifeCycleReceiver Receives event notifications during instrumentation test runs.
ITestLogger An entity that can perform logging of data streams of various types.
ITestLoggerReceiver An entity that can be injected with an ITestLogger instance so that it can be used for logging purposes.
ITestSuite Abstract class used to run Test Suite.
ITestSuite.RetryStrategy The Retry Strategy to be used when re-running some tests.
ITestSuiteResultLoader Interface describing an helper to load previous results in a way that can be re-run.
ITestSummaryListener Interface that allows ITestInvocationListener to exchange some limited information via summaries.
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

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 A result reporter that encode test metrics results and branch, device info into JSON and POST into an HTTP service endpoint
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(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.
KeyValueConfigPreparer A ITargetPreparer which creates and pushes a simple key/value config file to the device.

L

LargeOutputReceiver A class designed to help run long running commands collect output.
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 A class for freezed subprocess results reporter which is compatible with M & N version of CTS.
ListInstrumentationParser A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query
ListInstrumentationParser.InstrumentationTarget
LocalAppBuildProvider A IBuildProvider that constructs a IAppBuildInfo based on a provided local path
LocalDeviceBuildProvider A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path.
LocalFolderBuildProvider A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path
LocalHostResourceManager Manager host resource.
LocalRunInstructionBuilder Utility to compile the instruction to run test locally.
LogcatCrashResultForwarder Special listener: on failures (instrumentation process crashing) it will attempt to extract from the logcat the crash and adds it to the failure message associated with the test.
LogcatEventParser Parse logcat input for events.
LogcatEventParser.LogcatEvent Struct to hold a logcat event with the event type and triggering logcat message
LogcatEventType Event types for LogcatEventParser .
LogcatOnFailureCollector Collector that will capture and log a logcat when a test case fails.
LogcatReceiver Class that collects logcat in background.
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 A ResultForwarder for saving logs with the global file saver.
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
LongevityHostRunner A JUnit4-based Runner that composes tests run with DeviceJUnit4ClassRunner into a ERROR(LongevitySuite/android.host.test.longevity.LongevitySuite LongevitySuite) , which runs tests repeatedly to induce stress and randomness.

M

ManagedRemoteDevice A device running inside a virtual machine that we manage remotely via a Tradefed instance inside the VM.
ManagedTestDeviceFactory Factory to create the different kind of devices that can be monitored by Tf
MemInfoMetricCollector A ScheduledDeviceMetricCollector to collect memory dumps at regular intervals.
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.
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.
MetricsXMLResultReporter MetricsXMLResultReporter writes test metrics and run metrics to an XML file in a folder specified by metrics-folder parameter at the invocationEnded phase of the test.
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.
ModuleDefinition Container for the test run configuration.
ModuleListener Listener attached to each IRemoteTest of each module in order to collect the list of results.
ModuleMerger Helper class for operation related to merging ITestSuite and ModuleDefinition after a split.
ModuleParameters Special values associated with the suite "parameter" keys in the metadata of each module.
ModuleParametersHelper Helper to get the IModuleParameter associated with the parameter.
ModuleSplitter Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition .
MultiMap <K, V> A ERROR(/Map) that supports multiple values per key.
MultiUserSetupUtil Utility to create another user in Cuttlefish VM.

N

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.
NativeCodeCoverageListener A ResultForwarder that will pull native coverage measurements off of the device and log them as test artifacts.
NativeDevice Default implementation of a ITestDevice Non-full stack android devices.
NativeDevice.AdbAction A DeviceAction for running a OS 'adb ....' command.
NativeDevice.AdbShellAction
NativeDevice.RebootDeviceAction DeviceAction for rebooting a device.
NativeDeviceStateMonitor Helper class for monitoring the state of a IDevice with no framework support.
NativeLeakCollector A ITargetCleaner 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.
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
NullUtil A class with utility functions to help with dealing with null

O

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.
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.
OtaToolsDeviceBuildInfo An OtaDeviceBuildInfo that also contains an otatools directory.
OtaZipfileBuildProvider Provides a IBuildInfo based on a local OTA zip file.

P

PackageInfo Container for an application's package info parsed from device.
PagetypeInfoMetricCollector A ScheduledDeviceMetricCollector to collect free page counts at regular intervals.
Pair <A, B> Define our own Pair class which contains two objects.
ParentSandboxInvocationExecution Version of InvocationExecution for the parent invocation special actions when running a sandbox.
PerfettoPreparer Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access.
PerfettoPullerMetricCollector Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it.
PreloadedClassesPreparer A ITargetPreparer that replaces the preloaded classes file on a device.
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 and NAME) information.
ProcessMaxMemoryCollector A ScheduledDeviceMetricCollector to measure peak memory usage of specified processes.
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.
PsParser Utility used to parse(USER,PID and NAME) from the "ps" command output
PushFileInvoker A ITargetPreparer that pushes files from tests zip onto device, mark them as executable and invokes the binary or script on device.
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)
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.
PythonVirtualenvPreparer Sets up a Python virtualenv on the host and installs packages.

Q

QuotationAwareTokenizer

R

RebootReasonCollector Collector that collects device reboot during the test run and report them by reason and counts.
RebootTargetPreparer Target preparer that reboots the device.
ReconnectingRecovery Recovers a device by re-establishing a TCP connection via the adb server on the host.
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
RemoteFileUtil Utility class to handle file from a remote instance
RemoteInvocationExecution Implementation of InvocationExecution that drives a remote execution.
RemoteManager Class that receives RemoteOperation s via a socket.
RemoteSshUtil Utility to execute ssh commands on remote instances.
RemoveSystemAppPreparer A ITargetPreparer for removing an apk from the system partition before a test run.
RestartSystemServerTargetPreparer Target preparer that restarts the system server without rebooting the device.
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.
RetryingWaitDeviceRecovery A WaitDeviceRecovery which retries its recovery step either indefinitely or for a certain number of iterations.
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.
RootTargetPreparer Target preparer that performs "adb root".
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.
RunInterruptedException Thrown when a run operation is interrupted by an external request.
RunNotifierWrapper Wrapper of RunNotifier so we can carry the DeviceNotAvailableException .
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.

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 .
ScheduledDeviceMetricCollector A IMetricCollector that allows to run a collection task periodically at a set interval.
ScheduleMultipleDeviceMetricCollector A IMetricCollector that makes runs multiple metric collectors periodically.
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.
SecondaryUserHandler Handler for ModuleParameters#SECONDARY_USER .
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) .
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.
ShardMasterResultForwarder 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.
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.
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.
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
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
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
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

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
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.
TemperatureCollector A ScheduledDeviceMetricCollector to measure min and max device temperature.
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.
TestDescription Class representing information about a test case.
TestDevice Implementation of a ITestDevice for a full stack android device
TestDeviceMutator Default implementation of ITestDeviceMutator
TestDeviceOptions Container for ITestDevice Option s
TestDeviceOptions.InstanceType
TestDeviceState A more fully featured representation of device state than DeviceState .
TestFailureEmailResultReporter An EmailResultReporter that can also restrict notifications to just test failures.
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
TestInfo Stores the test information set in a TEST_MAPPING file.
TestInvocation Default implementation of ITestInvocation .
TestInvocation.RunMode The different mode an invocation can run into.
TestInvocation.Stage
TestLoader A class for loading all JUnit3 tests in a jar file
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.
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.
TestResult Container for a result of a single test.
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.
TextResultReporter A test result reporter that forwards results to the JUnit text result printer.
TfMetricProtoUtil Utility class to help with the Map to Map transition.
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.
TimeSetterTargetPreparer Target preparer to restore the correct time to the device on cleanup.
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.
TopHelper Helper class which runs top continuously on an ITestDevice and parses the output.
TopHelper.TopStats Class for holding the parsed output for a single top output.
TraceCmdCollector A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation.
TraceMetricCollector A ScheduledDeviceMetricCollector to collect kernel debug trace at regular intervals.
TradefedSandbox Sandbox container that can run a Trade Federation invocation.
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.
UserChecker Checks if users have changed during the test.
UserCleaner A ITargetCleaner that removes secondary users on teardown.
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
Verify Alternate Trade Federation entrypoint to validate command files
VersionedFile Data structure representing a file that has an associated version.
VersionedTfLauncher A IRemoteTest for running tests against a separate TF installation.
VersionParser Fetch the version of the running tradefed artifacts.
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

XmlDefsTest Runs a set of instrumentation test's defined in test_defs.xml files.
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.
XmlRpcHelper A mechanism to simplify writing XmlRpc.
XmlSuiteResultFormatter Utility class to save a suite run as an XML.
XmlSuiteResultFormatter.RunHistory Helper object for JSON conversion.

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