Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 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