类别索引

这些是 API 类。查看所有API 包

A

解析器通过解析“aapt dump badging”的输出从 apk 中提取信息的类。
AaptParser.Aapt版本用于解析 APK 文件的 AAPT 版本选项枚举。
阿比代表 ABI 的类。
Abi格式化程序abi 的实用程序类。
能力工具用于处理设备 ABI 的实用程序类
抽象连接抽象连接表示。
抽象主机监视器主机健康监控的典型类。
抽象Xml解析器用于解析 xml 文件的 Helper 基类
AbstractXmlParser.ParseException如果无法解析 XML 输入,则抛出此异常
AcloudConfigParser解析 Acloud 配置的帮助程序类(用于启动云设备实例)。
AcloudConfigParser.AcloudKeys可以从配置中搜索的键集。
行动进行中一般行动正在进行中。
主动跟踪主类帮助描述和管理活动跟踪。
活动状态检查器在模块末尾运行的剩余活动的状态检查器。
AdbRootElevator一个AutoCloseable ,可在需要时启用 adb root,并在完成时恢复 root 状态。
AdbSSH连接通过 ssh 桥的 Adb 连接。
AdbStopServerPreparer目标准备器在运行 adb 测试之前和之后停止主机上的 adb 服务器。
AdbTcp连接设备的默认连接表示,假定为设备的标准 adb 连接。
辅助工具用于 adb 操作的实用程序类。
课后信息AfterClass类似的保证,但带注释的方法必须需要TestInformation参数。
聚合后处理器一个度量聚合器,提供多次迭代测试运行期间收集的数字度量的最小值、最大值、平均值、方差、标准差、总计、计数和可选的百分位数,并将它们视为双精度。
AllTestApps安装设置一个ITargetPreparer ,用于将IDeviceBuildInfo#getTestsDir()文件夹中的所有应用程序安装到设备上。
AltDir行为用于定义各种测试工件安装程序/推送程序的替代目录行为的枚举

AndroidJUnit测试使用 android.support.test.runner.AndroidJUnitRunner 在给定设备上运行仪器测试包的测试。
Aoa目标准备器ITargetPreparer使用 Android Open Accessory (AOAv2) 协议执行一系列操作(例如单击和滑动)。
应用程序构建信息表示 Android 应用程序及其测试包的IBuildInfo
应用程序设备构建信息该类已被弃用。直接使用IDeviceBuildInfo
应用程序设置一个ITargetPreparer ,用于安装 apk 及其测试。
应用程序版本获取器用于从设备获取应用程序版本字符串的实用程序类。
AppVersionFetcher.AppVersionInfo应用程序版本信息类型。
ArchModule控制器模块控制器在与任何给定架构不匹配时不运行测试。
参数选项解析器从解析的命令行参数填充Option字段。
数组工具数组的实用方法
ArtChrootPreparer为 ART 测试创建 chroot 目录。
艺术G测试
神器详情这描述了 CAS 工具生成的内容结构及其描述符
ArtifactDetails.ArtifactFileDescriptor
工件分析器一个实用程序,可帮助分析构建工件以获得洞察力。
艺术运行测试用于运行 ART 运行测试的测试运行程序。
ArtRunTest.AdbShellCommandException一个异常类,用于报告执行 ADB shell 命令期间发生的错误。
ATestFileSystemLogSaver ATest 使用该 LogSaver 类将日志保存在特定路径中。
测试跑者ITestSuite的实现
Atrace收集器IMetricCollector在测试期间运行 atrace 并收集结果并将其记录到调用中。
AtraceRunMetricCollector从测试设备的给定目录下的所有测试目录收集跟踪,记录测试目录并对测试目录下的跟踪文件进行后处理并聚合指标。
自动日志收集器描述线束可以自动处理哪个收集器的枚举。
自动报告器定义来自 Tradefed 自动报告器的映射的类。
平均后处理器计算指标列表平均值的后处理器的实现。

背景设备动作在给定设备上运行命令,根据需要重复运行,直到操作被取消。
基础设备指标收集器IMetricCollector的基本实现,允许在onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData)ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map))上启动和停止收集。
基础仿真器准备器用于启动本地模拟器的通用准备器。
BaseHostJUnit4测试用于运行主机 JUnit4 样式测试的基测试类。
基本级别日志输出ILeveledLogOutput的基本实现,允许根据标签的名称或组件过滤某些标签。
基础模块控制器IModuleController的基本实现,应该实现它来检查模块是否应该运行。
基础多目标准备器IMultiTargetPreparer的基本实现,允许禁用该对象。
基础后处理器每个实现都应该扩展的基本IPostProcessor
基本重试决策IRetryDecision的基本实现。
BaseStreamLogger <OS 扩展 OutputStream> ILeveledLogOutput将日志消息定向到输出流和标准输出。
基础目标准备器ITargetPreparer的基本实现类,允许控制对象是否被禁用。
基础测试套件与新套件系统运行兼容性测试套件的测试。
电池控制器允许控制设备的电池充电状态的实用程序类。
电池充电设备恢复允许在设备的电池电量低于给定阈值时触发命令。
电池温度
电池不可用设备恢复如果电池电量不可用,恢复检查器将触发配置。
课前带信息BeforeClass类似的保证,但带注释的方法必须需要TestInformation参数。
二元状态用于记录 ON/OFF 状态和 IGNORE 无操作状态的枚举。
蓝牙连接延迟收集器收集器会将预定义的 statsd 持续时间指标配置推送到设备,并收集每个配置文件的蓝牙连接持续时间。
蓝牙连接状态收集器该收集器将收集BluetoothConnectionStateChanged 指标并记录每个配置文件的连接状态编号。
蓝牙连接成功率后处理器计算蓝牙配置文件成功率的后处理器的实现

使用“metric-key-match”指定包含数字数组示例中的蓝牙连接状态的指标 [0, 1, 2, 3, 0, 1, 2, 3]。

蓝牙HciSnoopLogCollector收集器,用于在 DUT 上启用蓝牙 HCI 监听日志记录并收集每个测试的日志。
蓝牙实用程序用于在设备上调用BluetoothInstrumentation的实用函数

设备端BluetoothInstrumentation代码可以在AOSP中找到: frameworks/base/core/tests/bluetoothtests

Bootstrap构建提供者从测试设备引导构建信息的IDeviceBuildProvider

这通常用于具有外部提供构建的设备,即

BootstrapService文件解析器加载器使用服务加载工具加载解析器。
错误报告保存错误报告文件引用的对象,与平面错误报告和压缩错误报告(bugreportz)兼容。
错误报告收集器一个直通ITestInvocationListener ,它在可配置事件发生时收集错误报告,然后在收集每个错误报告后在其子级上调用ITestInvocationListener#testLog
BugreportCollector.Filter
BugreportCollector.Freq
BugreportCollector.名词
BugreportCollector.Predicate描述何时捕获错误报告的完整谓词。
BugreportCollector.Relation
BugreportCollector.SubPredicate
BugreportzOnFailureCollector当测试用例失败时收集错误报告。
BugreportzOnTestCaseFailureCollector当运行中的测试用例失败时收集错误报告。
构建分析表示单个构建分析的结果。
构建错误如果提供的构建无法运行,则抛出该异常。
构建信息应与ITestDevice关联的IBuildInfo的通用实现。
构建信息键保存与构建信息查询相关的枚举的类。
BuildInfoKey.BuildInfoFileKey描述可通过IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey)查询的所有已知文件类型的枚举。
构建信息记录器将构建信息元数据写入指定文件的ITargetPreparer
构建信息工具帮助操作IBuildInfo util 类
构建检索错误检索构建进行测试时发生致命错误。
构建序列化版本包含所有IBuildInfo的当前序列化版本的类。
构建测试ZipUtils Android 构建系统生成的测试 zip 相关操作的辅助类
群发邮件程序电子邮件发送实用程序,允许进行以下配置:发送间隔、初始突发大小、收件人和消息总数。
捆绑工具工具使用bundletool命令行在设备上安装.apk的实用程序类。
字节数组输入流源
字节数组列表表示轻量级字节数组的类。
字节数组实用程序对字节数组进行操作的实用程序,例如将字节转换为整数。

C

汽车模块控制器该控制器阻止在非汽车设备上执行测试用例。
携带DNA错误通过 JUnit4 框架携带DeviceNotAvailableException内部RuntimeException
携带中断异常当触发测试阶段超时并且需要将 InterruptedException 从测试执行线程携带到调用执行线程时抛出。
CDMA设备闪存器在具有 CDMA 无线电的物理 Android 设备上闪烁图像的类。
CecControllerTokenProvider消费电子控制 (CEC) 相关代币的代币提供商。
中央目录信息CentralDirectoryInfo 是一个包含 zip 文件内文件/文件夹信息的类。
检查配对准备器CompanionAwarePreparer ,用于验证主设备和配套设备之间的 BT 绑定
循环AtraceUtil开发的 atrace 实用程序主要用于识别 Monkey 测试期间 ANR 的根本原因。
循环字节数组用于保存固定大小数组的数据结构,该数组作为循环缓冲区运行,并跟踪数组中所有值的总和。
ClangCodeCoverageCollector BaseDeviceMetricCollector将从设备中提取 Clang 覆盖率测量结果并将其记录为测试工件。
类未找到配置异常当未找到对象的类时会出现ConfigurationException
类路径扫描器查找类路径上的条目。
ClassPathScanner.ClassNameFilter过滤和转换 java 类名的IClassPathFilter
ClassPathScanner.ExternalClassNameFilter拒绝内部类的ClassNameFilter
ClassPathScanner.IClassPathFilter类路径入口路径的过滤器

FileFilter之后进行图案化

发条工具用于共享多设备逻辑的发条实用程序
CloseableTraceScope一个作用域类,允许通过 try-with-resources 报告跟踪部分
集群构建信息用于从 TFC 管道传输的构建的IBuildInfo类。
集群构建提供者用于下载 TFC 测试资源的IBuildProvider
集群客户端用于与 TFC 后端交互的IClusterClient实现。
集群命令表示从 TF Cluster 获取的任务的类。
ClusterCommand.RequestType
ClusterCommand.State TF 集群中命令的状态。
集群命令配置生成器为集群命令构建配置文件的类。
集群命令事件封装要上传的集群命令事件的类。
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
集群命令启动器一个IRemoteTest类,用于通过子进程 TF 从 TFC 启动命令。
集群命令调度器支持 TFC(Tradefed Cluster)的ICommandScheduler
集群命令状态表示来自 TF Cluster 的命令的状态和取消原因的类。
集群设备信息封装待上传集群设备信息的类。
ClusterDeviceInfo.Builder
集群设备监控向 Tradefed 集群服务报告结果的IDeviceMonitor实现。
ClusterEventUploader <T 扩展IClusterEvent > ClusterEventUploader类,将IClusterEvent上传到TFC。
集群主机事件封装要上传的集群主机事件的类。
ClusterHostEvent.Builder
ClusterHostEvent.HostEventType不同类型的主机事件的枚举。
集群主机工具TF Cluster 的静态 util 函数用于获取全局配置实例、主机信息等。
集群日志保存器用于将测试输出上传到 TFC 的ILogSaver类。
ClusterLogSaver.FilePickingStrategy文件选取策略。
集群选项
代码覆盖率测试在给定设备上运行仪器测试包并生成代码覆盖率报告的测试。
收集字节输出接收器一个IShellOutputReceiver将整个 shell 输出收集到一个byte[]中。
收集输出接收器一个IShellOutputReceiver ,它将整个 shell 输出收集到一个String中。
收集测试监听器将收集所有测试结果的ITestInvocationListener
收藏助手帮助程序在多个地方执行一些需要的IMetricCollector操作。
命令文件解析器包含命令行集的文件的解析器。
CommandFileParser.CommandLine
命令中断器允许 TradeFederation 命令被中断或标记为不可中断的服务。
命令行构建信息构建器实用程序旨在从命令行捕获常用的构建信息参数并从中创建IBuildInfo
命令选项ICommandOptions的实现。
命令选项Getter返回给定调用的命令选项值的服务实现。
命令结果包含命令的结果。
指挥跑者另一个 TradeFederation 入口点,将运行命令行参数中指定的命令,然后退出。
CommandRunner.退出代码可以退出的错误代码。
命令调度程序用于在所有可用设备上运行 TradeFederation 命令的调度程序。
CommandScheduler.HostState主机不同状态的枚举
命令状态表示定时操作的状态。
命令状态处理程序处理程序帮助监视和更新调用的状态。
通用日志远程文件实用程序该实用程序可以避免公共文件的远程日志获取逻辑在不同远程设备表示之间出现代码重复。
CommonLogRemoteFileUtil.KnownLogFileEntry远程设备的已知日志条目的表示。
同伴分配器负责分配和释放配套设备的基类

应实现getCompanionDeviceSelectionOptions()来描述分配配套设备所需的标准

CompanionAwarePreparer一个ITargetPreparer ,封装了获取已分配的配套设备的逻辑。
同伴感知测试封装获取和检查配套设备样板的基本测试类

子类可以调用getCompanion()来检索分配的同伴。

配套设备追踪器用于分配和释放配套设备的类
CompanionRunCommandTargetPreparer在分配的配套设备上运行指定命令的ITargetPreparer
CompanionTestApp安装设置一种ITargetPreparer ,用于将IDeviceBuildInfo#getTestsDir()文件夹中的一个或多个应用程序安装到分配的配套设备上。
CompileBootImageWithSpeedTargetPreparer使用编译器过滤器“speed”重新编译引导类路径和系统服务器。
状态故障监视器监视调用中是否有任何失败。
ConditionPriorityBlockingQueue <T>具有类似ERROR(/PriorityBlockingQueue)操作的线程安全类,可以检索与特定条件匹配的对象。
ConditionPriorityBlockingQueue.AlwaysMatch <T>与任何对象匹配的ConditionPriorityBlockingQueue.IMatcher
ConditionPriorityBlockingQueue.IMatcher <T>用于确定元素是否符合某种条件的接口。
配置完成器为我们的 TF 配置实现Completer
可配置GrpcDynamicShardingClient
配置一个具体的IConfiguration实现,它将加载的配置对象存储在映射中。
配置定义保存配置、其关联对象及其选项的记录。
配置Def.ConfigObjectDef保存类名信息及其外观编号的对象(例如,如果一个配置两次具有相同的对象,则第一个将具有第一个外观编号)。
配置描述符配置对象描述配置本身的某些方面。
ConfigurationDescriptor.LocalTestRunner枚举用于指示本地测试运行程序。
配置异常如果无法加载配置则抛出该异常。
配置工厂用于创建IConfiguration工厂。
配置工厂.ConfigLoader IConfigDefLoader 的实现,跟踪一个根配置中包含的配置,并在循环包含时引发异常。
ConfigurationFactory.ExceptionLoader
配置工具处理配置文件的实用函数。
配置XmlParser设置接受 ConfigurationXmlParser 设置的简单类

要将设置传递给此类,别名是必需的。

配置Yaml解析器YAML 风格 Tradefed 配置的解析器
配置工具用于创建、交互和推送 statsd 配置文件的实用程序类。
ConfigUtil.LogSource
安慰TradeFederation 主控制台为用户提供交互界面

目前支持以下操作

  • 添加一个命令来测试
  • 列出设备及其状态
  • 列出正在进行的调用
  • 列出队列中的命令
  • 将调用日志转储到文件/stdout
  • 关闭
Console.ArgRunnable <T>具有可以接受参数的run方法的Runnable
控制台.CaptureList List<List<String>>的便捷类型
控制台读取器输出流一个 OutputStream,可用于使System.out.print()与用户的LineReader unfinishedLine 配合良好。
控制台结果报告器结果报告器将测试结果打印到控制台。
内容分析上下文提供内容周围的上下文以正确分析它。
内容分析上下文.分析方法这描述了从内容结构中期望得到的内容以进行正确的分析。
内容分析结果内容分析摘要。
内容信息表示其基本版本和当前版本的给定构建目标的内容。
内容提供者处理程序抽象内容提供者交互并允许使用设备端内容提供者进行不同操作的处理程序。
计数测试结果监听器一个TestResultListener ,通过TestStatus跟踪测试总数
计数测试用例收集器计算并报告给定IRemoteTest测试用例数量。
覆盖测量转发器占位符测试,将覆盖率测量结果从构建提供者转发到记录器。
覆盖范围选项Tradefed 反对持有承保期权。
CoverageOptions.Toolchain
CPU节流等待者ITargetPreparer等待所有内核的最大频率恢复到可用的最高级别
创建AvdPreparer
创建用户准备器用于创建用户并在最后清理它的目标准备器。
当前调用一个类,用于跟踪并提供当前调用信息,该信息在调用内的任何位置都有用。
当前调用.调用信息我们将始终为调用填充一些特殊的命名键。
当前调用.隔离等级描述隔离级别

D

调试主机登录失败收集器当测试用例发生故障时,收集器将收集并记录主机端日志。
默认连接设备的默认连接表示,假定为设备的标准 adb 连接。
DefaultConnection.ConnectionBuilder Builder 用于描述连接。
默认远程AndroidTestRunner ddmlib RemoteAndroidTestRunner的扩展,用于为 Tradefed 用例设置一些默认值。
默认测试Zip安装程序测试 zip 安装程序的默认实现。
委托调用执行InvocationExecution将执行委托给另一个 Tradefed 二进制文件。
依赖解析器一种新型的提供程序,允许获取测试的所有依赖项。
设备操作目标准备器用于执行设备操作的ITargetPreparer
设备操作实用程序用于执行设备操作的实用程序类。
DeviceActionUtil.Command设备操作命令。
DeviceActionUtil.DeviceActionConfigError配置错误的异常。
设备分配结果表示命令分配尝试的结果。
设备分配状态从IDeviceManager角度表示设备的分配状态
设备可用检查器检查器以确保模块不会使设备处于离线状态。
设备基线检查器在每个模块之前设置设备基线设置。
设备基线设置器用于创建设备基线设置的抽象类。
设备电池电量检查器IRemoteTest检查最小电池电量,如果不存在最小电量,则等待电池达到第二个充电阈值。
设备电池资源度量收集器该收集器收集设备电池指标。
设备构建描述符IBuildInfo的包装类,包含用于检索设备平台构建信息的帮助器方法。
设备构建信息表示完整 Android 设备构建及其(可选)测试的IBuildInfo
DeviceBuildInfoBootStrapper ITargetPreparer ,用从设备读取的属性替换构建信息字段

这对于测试具有从外部源生成的版本的设备非常有用(例如

设备构建信息注入器DeviceBuildDescriptor元数据插入IBuildInfo ITargetPreparer
设备清理器测试后执行重新启动或格式化作为清理操作,并可选择关闭屏幕
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
设备并发实用程序包含用于并发设备端命令执行的实用方法和类

使用ERROR(/ExecutorService)运行作为ShellCommandCallable实现的命令,并使用ERROR(/#joinFuture(String,Future,long))ERROR(/ExecutorService)返回的ERROR(/Future)进行同步以执行命令。

DeviceConcurrentUtil.ShellCommandCallable <V>一个ERROR(/Callable) ,包含在ITestDevice上执行 shell 命令的详细信息。
设备配置持有者一个具体的IDeviceConfiguration实现,将加载的设备配置对象存储在其属性中。
设备描述符包含描述被测设备信息的类。
设备断开异常当设备无法再通过其传输类型访问时抛出,例如,如果设备不再通过 USB 或 TCP/IP 连接可见
设备错误标识符来自设备错误和设备报告的错误的错误标识符。
设备启动失败错误如果设备在刷新构建后无法启动,则会抛出该错误。
设备功能标志
设备功能模块控制器模块控制器在不支持某些功能时不运行测试。
设备文件报告器一个实用程序类,用于检查设备中是否有文件,如果找到,则将它们发送到ITestInvocationListener#testLog(String, LogDataType, InputStreamSource)
设备闪存准备器一个ITargetPreparer ,可在物理 Android 硬件上闪烁图像。
设备可折叠状态“cmd device_state print-states”返回的设备可折叠状态的表示。
设备文件夹构建信息IDeviceBuildInfo还包含本地文件系统上的目录中包含的其他构建工件。
设备图像跟踪器对于一些增量设备更新,我们需要基线文件来计算差异。
DeviceImageTracker.FileCacheTracker缓存的设备映像及其元数据的跟踪信息
DeviceImageZipFlashingTargetPreparer目标准备器,使用通过特定格式提供的设备图像来刷新设备。
设备互联网可访问性资源度量收集器收集器 ping google.com 以检查设备是否可以访问互联网。
DeviceJUnit4ClassRunner JUnit4 测试运行器也容纳IDeviceTest
DeviceJUnit4ClassRunner.LogAnnotation虚假注释的目的是向记者携带日志。
DeviceJUnit4ClassRunner.MetricAnnotation虚假注释旨在向记者传达指标。
DeviceJUnit4ClassRunner.TestLogData ExternalResourceTestRule的实现。
DeviceJUnit4ClassRunner.TestMetrics ExternalResourceTestRule的实现。
设备管理Grpc服务器GRPC 服务器允许从 Tradefed 预留设备。
装置经理
设备管理器.FastbootDevice处于快速启动模式的设备的表示。
设备指标数据对象保存指标收集器收集的所有数据。
设备监控多路复用器用于将请求传播到多个IDeviceMonitor代理类。
设备不可用异常当设备不再可用于测试时抛出。
设备所有者目标准备者用于设置设备所有者组件的ITargetPreparer
设备参数化运行器JUnit4 风格的参数化运行器,用于主机端驱动的参数化测试。
设备属性设备端属性名称的通用常量定义
设备恢复模式实用程序
设备发布报告器设备释放报告器,用于处理与要释放的设备的父进程的通信。
设备重置功能服务器端实现设备重置。
设备重置处理程序一般处理设备重置的实用程序。
设备运行时异常当设备操作未产生预期结果时抛出。
设备选择选项设备选择标准的容器。
DeviceSelectionOptions.DeviceRequestedType支持的不同可能类型的占位符设备。
设备设置检查器检查模块运行期间设备设置是否已更改。
设备设置一个ITargetPreparer ,根据提供的Option配置设备进行测试。
设备快照功能设备快照的服务器端实现。
设备快照处理程序实用程序处理 Cuttlefish 快照。
设备状态监视器用于监视IDevice状态的帮助程序类。
DeviceStorageAgeResourceMetricCollector从 logcat 解析存储年龄。
设备存储填充器目标准备器填充存储空间,以便有一些可用空间。
设备存储状态检查器检查设备是否有足够的磁盘空间用于给定分区。
设备字符串推送器目标准备器将字符串写入文件。
设备套件扩展 JUnit4 容器Suite ,以便为需要它的测试提供ITestDevice
设备同步助手帮助将新设备映像同步到设备的助手。
设备测试用例提供IRemoteTestIDeviceTest服务的 Helper JUnit 测试用例。
设备测试结果TestResult的特化,当发生DeviceNotAvailableException时将中止
DeviceTestResult.RuntimeDeviceNotAvailableException
设备测试运行选项与通过 BaseHostJUnit4Test 运行设备测试相关的选项的构建器类。
设备测试套件Helper JUnit 测试套件提供IRemoteTestIDeviceTest服务。
设备跟踪收集器收集器将在测试运行开始时启动 perfetto 跟踪并在结束时记录跟踪文件。
设备不可用监视器此侦听器仅尝试捕获测试用例级别的 DNAE。
设备无响应异常DeviceNotAvailableException的特化,表示设备对 adb 可见,但无响应(即命令超时、无法启动等)
设备更新目标准备器一个抽象的ITargetPreparer ,负责使用外部源(而不是构建服务)的设备映像文件更新设备的常见步骤。
设备Wifi资源MetricCollector收集器收集当前连接的 WiFi 信号强度和链接速度指标。
设备擦拭器擦除用户数据的ITargetPreparer
有向图<V>有向未加权图实现。
禁用SELinuxTargetPreparer目标准备器将禁用 SELinux(如果已启用)。
DryRun密钥库用于空运行的密钥库,其中任何密钥库值始终都能正确替换和找到。
干跑者透明地进行测试而不是实际执行它们。
动态文件存根测试这是一个 tradefed 测试,用于测试 tradefed 能否正确解析动态文件。
动态远程文件解析器帮助解析远程文件路径的类。
DynamicRemoteFileResolver.FileResolverLoader加载IRemoteFileResolver的实现。
动态分片助手分片策略允许在多个 TF 实例之间进行远程工作排队
动态分片连接信息消息数据保存类,以便更轻松地通过功能服务器发送。
动态系统准备器ITargetPreparer ,通过动态系统更新在设备构建之上设置系统映像。

早期设备发布功能用于早期设备发布的功能服务器实现。
电子邮件发送电子邮件的辅助类。
电子邮件主机健康代理用于从主机监视器报告发送电子邮件的IHostHealthAgent实现
EmmaXml常量解析 emma xml 报告时使用的常量。
模拟器内存​​CPU捕获器
结束中央目录信息EndCentralDirectoryInfo 是一个包含 zip 文件整体信息的类。
强制SeLinux检查器确保 Selinux 状态的状态检查器。
擦除用户数据准备器一个ITargetPreparer ,用于擦除设备上的用户数据。
错误标识符该接口描述了特定的错误及其属性。
错误存储工具用于处理错误以与公共存储保持一致的帮助程序类。
事件记录监听器将接收到的所有事件记录到文件中的侦听器
异常ThrowingRunnerWrapper
可执行基础测试可执行测试风格的基类。
可执行主机测试测试运行程序以在主机上运行可执行文件。
可执行目标测试测试运行程序以在目标上运行可执行文件。
执行文件在执行测试或调用期间生成的文件依赖项,需要携带这些依赖项进行测试。
执行文件.FilesKey地图已知标准键的枚举。
执行属性在执行测试或调用期间生成的属性。
现有构建提供者返回已构造的IBuildInfo IBuildProvider
扩展文件标准文件的扩展,用于携带构建相关的元数据。
扩展原子注册中心ExtensionAtomsRegistry 用于本地使用 statsd。

F

故障描述描述 Trade Federation 中的故障信息的类。
假测试虚假测试,其目的是轻松生成可重复的测试结果。
假测试压缩文件夹一个测试装置,根据内容列表创建一个假的解压缩测试文件夹。
FakeTestsZipFolder.ItemType
FastbootCommandPreparer触发 fastboot 并发送 fastboot 命令的目标准备器。
FastbootDeviceFlasher依赖 fastboot 在物理 Android 硬件上刷新映像的类。
快速启动助手用于快速启动操作的辅助类。
FastbootUpdateBootstrapPreparer ITargetPreparer将指定文件(引导加载程序、无线电、设备映像 zip)暂存到IDeviceBuildInfo中,以获取使用FastbootDeviceFlasher刷新的设备,然后将启动后设备属性注入到构建信息中以用于结果报告目的。
致命主机错误指示运行 TradeFederation 的主机上发生致命的不可恢复错误的异常,并且应关闭 TradeFederation 实例。
功能标志目标准备器更新 DeviceConfig(由远程服务调整的功能标志)。
文件下载缓存维护下载文件的本地文件系统 LRU 缓存的帮助程序类。
文件下载缓存工厂用于创建FileDownloadCache工厂
文件下载缓存包装器一个包装类,在实现IFileDownloader接口的同时提供FileDownloadCache功能。
文件空闲监视器监视文件并在它们空闲时执行回调(即
文件输入流源接受输入文件的InputStreamSource
文件记录器将日志消息定向到文件和标准输出的ILeveledLogOutput
文件原型结果报告器TestRecord转储到文件中的原型报告器。
FilePullerDeviceMetricCollector一个BaseDeviceMetricCollector ,用于侦听来自设备的指标键并将它们作为文件从设备中提取。
文件拉取日志收集器设备端上报的文件记录器。
文件系统日志保存程序将日志保存到文件系统。
文件工具用于文件相关操作的辅助课程
fileutil.lowdiskspaceException如果可用的磁盘空间低于最小阈值,则将其投掷。
过滤Resultforwarder ResultForwarder的变体仅允许报告允许TestDescription的允许列表。
firceByTearRayOutputstream仅保留最大数据量的内存ERROR(/OutputStream)
闪烁的轨迹描述用于闪烁设备测试的方法的枚举
FlashingResourcesParser解析刷新设备所需的辅助图像文件所需版本的类。
flashingResourcesparser.androidinfo typedef,用于Map&lt;String, MultiMap&lt;String, String&gt;&gt;
flashingResourcesparser.constraint过滤界面,旨在允许FlashingResourcesParser忽略某些可能使用的资源
闪烁的Resourceutil该实用程序有助于设置适当版本的工件,以便可以通过DeviceFlashPreparer闪烁。
可折叠expandinghandler对于每种非主要可折叠配置, IModuleParameterHandler扩展到更多。
可折叠手通用可折叠处理程序,可以使用可折叠参数创建一个专用模块。
foldableModePreparer可以切换设备的可折叠状态的目标准备器。
folderbuildinfo IFolderBuildInfo的具体实现。
文件工具一款ITargetPreparer ,将目录从设备上取下,压缩并将其保存到记录后端。
formattedGeneratorReporter允许以特定格式生成报告的记者。
Freedevicestate
Fuseutil用于保险丝操作的辅助课程。

G

gceavdinfo为给定的GCE AVD实例保存相关数据的结构。
gceavdinfo.gcestatus
gceavdinfo.logfileentry
gcemanager管理GCE打电话开始/停止并从GCE收集日志的助手。
gceremotecmdformatter用于格式化命令的实用程序类以达到远程GCE设备。
gceremotecmdformatter.scpmode SCP可用于根据ARG的结构推送或拉出文件。
GCESSHTUNNENNENMONITOR GCE SSH隧道的线程监视器。
GCOVCODECOVERAGECOLLECOR一种BaseDeviceMetricCollector ,它将从设备上删除GCOV覆盖范围,并将其记录为测试工件。
GCOVKERNELCODECOVERAGECOLLECOR一种BaseDeviceMetricCollector ,将将GCOV内核覆盖范围测量从debugfs和设备上取下,然后最终将其作为测试工件记录。
GCSBucketutil文件管理器将从Google Cloud Storage(GCS)下载和上传文件。
gcsbucketutil.gcsfilemetadata简单包装器在GCS中获取文件信息。
GCSCOMMON GCS操作的基类,例如下载和上传。
GCSCONFIGURATIONFACTORY ConfigurationFactory从Google Cloud Storage中加载配置。
gcsconfigurationfactory.gcsconfigloader ConfigurationFactory.ConfigLoader的扩展程序,该configloader从GCS加载配置,跟踪一个root配置中随附的配置,并在coundular上引发异常。
GCSCONFIGURATIONSERVER配置服务器从Google Cloud Storage(GCS)加载配置。
GCSDownLoaderHelper GCS存储桶的下载器,该存储桶负责缓存和解决全局配置。
GCSfileDownLoader文件下载器以从Google Cloud Storage(GCS)下载文件。
GCSFileuPloader文件上传器将文件数据上传到Google Cloud Storage(GCS)。
gcshostresourcemanager从GCS(Google Cloud Storage)下载主机资源。
GCSREMOTEFILERESOLVER IRemoteFileResolver的实现,允许从GCS存储桶中下载。
GenericLogcateVentParser <LogcateVentType>解析事件的logcat输入。
genericlogcateventparser.logcatevent结构将logcat事件与事件类型和触发logcat消息保持
GetPreviousPassedHelper助手获取先前的通过测试过滤器。
gkideviceflashpreparer使用Android Common内核通用图像刷新设备的目标准备器。
全球配置一个将加载的配置对象存储在地图中的IGlobalConfiguration实现
GlobalFiltergetter返回给定调用过滤器的服务实现。
GlobalTestFilter应用于调用的过滤选项。
GoogleapicLientutil用于创建Google API客户端的UTIT。
GoogleBenchmarkResultParser解析从Shell运行的Google基准测试结果,并返回所有结果。
GoogleBenchmarktest在给定设备上运行Google基准测试包的测试。
粒状摄影师包装器类在IRemoteTest上工作,以测试柜级别将IREMOTETEST颗粒化。
粒度摄取wrapper.startendCollector班级助手抓住缺失的跑步开始和结束。
gsideviceflashpreparer使用Android通用系统图像刷新设备的目标准备器。
测试在给定设备上运行本机测试包的测试。
gtestbase Gtest的基类
gtestlisttestparser GTEST DRY RUN模式的结果解析器具有“ -gtest_list_tests”参数。
gtestresultparser使用从Shell运行的GTEST来解析本机测试的“原始输出模式”结果,并告知结果iTestInvocationListener。
gtestxmlresultparser使用来自Shell运行的GTEST的本机测试的“ XML输出模式”结果,并告知结果的iTestRistener。

H

harnessexception基础异常类别在安全带内抛出。
harnessioException线束异常,有助于携带文件问题。
HarnessruntimeException
HephostMonitor AbstractHostMonitor实现,可监视主机上的堆内存并定期将其记录到历史记录。
HelloworldmultitargetPreparer IMultiTargetPreparer的示例实现。
历史记录TF历史记录器,仅包含一些特定事件的特殊日志。
hostgtest运行本机测试包的测试。
宿主制度该类代表要报告的主机公制样本。
宿主主机选项支架类。
hoststatsdmetricCollector IMetricCollector使用StatsD实用程序命令从主机端收集StatsD指标。
hosttest基于JUNIT主机测试的测试跑步者。
招待会实现一些有用的实用程序方法来运行主机测试。
Hprofallocsiteparser从HPROF报告的分配站点部分解析信息的帮助课程。
httphelper包含用于制作HTTP请求的辅助方法
httphelper.requestrunnable可以使用IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult)提出要求。
httpmultipartpost用于制作多部分HTTP POST请求的助手类。
httpremotefilesolver IRemoteFileResolver的实现,允许通过http下载远程文件
httpsRemoteFileReSolver IRemoteFileResolver的实现,允许通过HTTPS下载远程文件

IABI代表正在测试的ABI的界面。
iabireceiver需要测试的ABI的测试。
Iandroiddebugbridge此软件包中使用的AndroidDebugBridge方法的接口定义。
iappbuildinfo此界面已弃用。直接使用IBuildInfo
iautortriabletest未实现ITestFilterReceiver但仍希望支持自动重新恢复的IRemoteTest的接口。
ibatteryinfo定义与设备电池相互作用的接口。
ibatteryinfo.batterystate描述当前的电池充电状态。
ibuildinfo保留有关正在测试的构建的信息。
ibuildinfo.buildinfoperties IBuildInfo的某些属性可能必须对其进行一些调整。
ibuildprovider负责提供有关正在测试的构建的信息。
IbuildReceiver一项需要参考正在测试的构建的测试。
iClusterClient与TFC后端交互的接口。
iClusterEvent任何要将群集事件上传到TFC的接口。
iClusterEventUploader <t扩展了iClusterEvent > lustereventuploader的接口
iClusterOptions获取与集群相关选项的接口。
ICommandOptions用于执行选项的容器。
Icommandscheduler运行TradeFederation命令的调度程序。
icommandscheduler.ischeduledinvocationListener调用完成时调用事件的侦听器。
iCompressionstrategy代表可以在运行时选择的压缩算法的接口。
IconFigoptionValueTransFormer操纵配置选项值的接口
IconfigurableVirtualDevice一个接口,以提供有关可能预先配置的虚拟设备信息(主机IP,主机用户,端口偏移等)的信息。
I配置贸易联邦调用的配置信息。
IconFigurationFactory创建IConfiguration s的工厂
IconfigurationReceiver简单的接口表示接受IConfiguration的对象。
IconFigurationServer配置服务器的接口。
icredentialFactory凭证工厂创建oauth2 Credential接口。
IdeFaultObjectLoader用于加载应成为我们YAML配置一部分的默认对象的接口。
idefaultObjectLoader.loaderConfiguration加载配置对象将信息传递给加载程序。
iDeviceactionReceiver提供接收设备事件的API。
IDEVICEBUILDINFO一个代表完整的Android设备构建和((可选))测试的IBuildInfo
IDEVICEBUILDPROVIDER使用ITestDevice的信息来检索构建的IBuildProvider
IDEViceConfiguration设备配置支架接口。
IDEVICEFLASHER在设备上闪烁设备图像。
IDEVICEFLASHER.USERDATAFLASHOPTION处理用户达塔图像的选项枚举
Idevicemanager用于管理用于测试的可用设备集的接口。
iDeviceManager.ifastBootListener FastBoot状态的听众更改。
Idevicemonitor用于监视设备状态的接口。
iDevicemonitor.devicelister一个可以返回已知设备及其状态的可Runnable类别。
IDEVICERECOVERY用于恢复离线设备的接口。
IDEVICESELECTION设备选择标准的接口。
IDEVICESELECTION.BASEDEVICETYPE
IDEVICESTATATEMOTON提供监视IDevice状态的设施。
iDevicetest需要引用ITestDevice的对象的接口。
可见的描述可以禁用的交易对象的接口。
iDnamicshardingclient碎片客户端的包装界面

存在这种情况,以便我们可以在http one中进行交换或在需要时测试一个。

iDnamicshardingConnectionInfo包含动态碎片连接信息的类的接口
Iemail发送电子邮件的接口。
iemail.message电子邮件数据的容器。
ifiledownOlader下载远程文件的接口。
ifileentry接口定义为FileEntry方法提供了更简单,可模拟的合同。
ifileReSolverLoader加载IRemoteFileResolver的实现。
ifileReSolverLoader.ResolverloadingException如果不能加载或初始化解析器,则会抛出异常。
iflashingResourcesparser用于提供刷新设备所需的辅助图像文件所需版本的接口。
iflashingResourcesRetriever用于检索刷新设备所需的辅助图像文件的接口。
ifolderbuildinfo一个简单的抽象IBuildInfo ,其构建工件包含在本地文件系统目录中。
iformattergenerator界面描述了SuiteResultHolder的格式化器。
iglobalconfiguration一个涵盖单个贸易联合实例的全局配置信息的类(包括实际配置的任何数量的调用)。
iharnessexception线束异常接口的描述将由线束异常实现。
iHostCleaner测试运行结束后清理主机。
iHoSthealthagent发射主机或设备指标的接口。
iHostMonitor调度主机数据的接口
iHostMonitor.hostDataPoint用于报告数据的通用类。
iHostMonitor.hostmetrictype
iHostoptions主机选项支架接口。
iHostoptions.permitimittype描述可能的许可证限制器的枚举
Ihostresourcemanager接口到管理器主机资源。
ihttphelper执行HTTP请求的帮助方法。
ihttphelper.datasizeexception
iinvocationContext持有有关调用测试的信息,请在需要时访问。
iinvocationContext.TimingEvent
iinvocation -contextreceiver需要参考调用上下文的测试。
iinvocationExecution界面描述将作为调用的一部分执行的操作。
IkeyStoreclient接口访问密钥存储以获取密码或敏感数据。
IkeystoreFactory创建IKeyStoreClient的工厂。
Ilabpreparer实验室准备者的标记接口

有关这些接口的意图,请参见ITargetPreparer

ileveledLogOutput实现此接口的类提供了处理输出日志消息的方法。
ilogcatreceiver将设备logcat输出的类作为InputStreamSource
ilogregistry ILogOutput单顿记录仪的接口,该接口多路复用和管理不同的记录仪。
iLogRegistry.EventType记录有用的活动
ilogsaver实现此接口的类提供了将日志存储到中心位置的方法。
ilogsaverlistener允许ITestInvocationListener s保存日志文件时聆听。
想象中心分析仪分析仪进行设备图像内容分析
ImanagedTestDevice一个生命周期的iTestdevice。
ImanagedTestDevice.DeviceEventResponse用于响应IManagedTestDevice#handleAllocationEvent(DeviceEvent)调用的容器
ImanagedTestDeviceFactory IManagedTestDevice的创建者界面
iMetricCollector在报告测试结果时,将添加该界面作为装饰器,以收集匹配指标。
iMetricCollectorceiver如果IRemoteTest s需要获得IMetricCollector s的列表,则可以实现IREMOTETEST s的接口。
Imoblyyamlresulthandler Mobly Yaml结果处理程序的接口。
Imoblyyamlresulthandler.itestresult Mobly Yaml结果的接口
Imodulecontroller用于控制模块是否应执行的接口。
imodulecontroller.runstrategy枚举描述应如何执行模块。
ImoduleparameterHandler套件模块参数的接口。
ImultideviceRecovery用于恢复多个离线设备的接口。
ImultideVicetest此界面已弃用。该界面暂时保存以用于兼容性,但实际上不再使用。请不要实施它。
ImultitargetPreparer一起为多个设备准备测试环境。
Inathivedevice为DDMLIB IDevice提供了可靠且稍高的API。
InateViceTest对象的接口需要引用INativeDevice
递增的幻象实用程序来利用增量图像和设备更新。
爆发器来自贸易联合会的错误标识符和依赖的下属(例如Build Instra)。
InputStreamSource该接口基本上包含一个ERROR(/InputStream)使其可插入。
安装alltestzipappssetup一个在测试zip中安装所有应用程序的ITargetPreparer
安装apexmoduletargetPreparer
installapksetup一个在文件系统上安装一个或多个APK的ITargetPreparer
安装buildenvapksetup一个从Android Platform Build Env中安装一个或多个测试APK的ITargetPreparer
安装InstrumentationStest运行在当前设备上找到的所有仪器。
InstantAppHandler用于ModuleParameters#INSTANT_APP
仪器备件运行仪器的ITargetPreparer
仪器测试在给定设备上运行仪器测试包的测试。
InvocationContext IInvocationContext的通用实现。
Invocation Execution描述所有调用步骤的类:构建下载,target_prep,运行测试,清理。
InvocationLocal <t>此类提供调用 - 委托变量。
InvocationMetricLogger一个实用程序类,用于调用一些指标。
InvocationMetricLogger.InvocationGroupMetricKey分组允许在同一密钥下记录几个组。
InvocationMetricLogger.InvocationMetrickey我们将始终为调用而填充的一些特殊命名密钥。
InvocationStatus一个用于存储调用状态的课程。
InvocationStatus助手枚举以表示调用状态
InvicationsummaryHelper用于收集和报告TestSummary的助手课程,用于一组听众
InvocationToJunitResultForwarder一类听取ITestInvocationListener事件并将其转发到TestListener课程。
iPostProcessor后处理器是贸易联合对象,旨在允许测试后和结果报告之前的指标和日志处理。
iremotefeature界面描述了可以根据请求执行的交易中的功能。
iremoteFileReSolver可以将远程文件解析为本地文件的对象的接口。
iremoteFileReSolver.RemoteFileReSolverargs ARGS传递给解析器
iremoteFileReSolver.resolvedFile持有有关已解决的文件和一些元数据的班级持有信息。
iremotescheduledlistenersfeature IRemoteFeature的扩展以支持通过IScheduledInvocationListener s的传递。
iremotetest报告直接导致ITestInvocationListener测试。
iReportNoteXected如果执行不完整,实现该接口的IRemoteTest可能会报告其未执行的测试以改进报告。
irescheduler用于重新安排配置以进行将来执行的接口。
iresourcemetriccollector用户实现自定义资源收集器的接口。
irestapihelper用于执行REST API调用的辅助接口。
iresumabletest此界面已弃用。不再需要这个
Iretrydecision界面推动重试决策并将过滤器应用于班级,以进行更多针对性的重试。
Iruntimehintprovider
irunutil用于运行定时操作和系统命令的接口。
irunutil.envpriority定义设置还是解开特定env的枚举。
irunutil.irunnableresult异步执行返回布尔态状态的操作的接口。
isandbox定义可用于运行调用的沙盒的接口。
isandboxFactory用于创建ISandbox工厂。
IsetoptionReceiver该接口的实现应具有一个Option ,该选项的“ set-option”名称链接到HostTest#SET_OPTION_NAME
IshardableListener可以碎片的ITestInvocationListener
ishardabletest一个可以分开可执行的子测试的IRemoteTest
Ishardhelper描述为配置采用的碎片策略的对象的接口。
孤立的托管实现了使用子进程在低依赖性环境中执行测试的交易跑步者,而不是在主过程中执行测试。
Isupportranularresults界面指定ITestInvocationListener是否支持接收颗粒状结果。
ISYSTEMSTATUSCHECKER执行系统状态检查并返回布尔值的检查器,以指示系统是否处于预期状态。
Isystemstatuscheckereceiver需要从配置中访问ISystemStatusChecker IRemoteTest
itargetClecleaner此界面已弃用。拆卸已移至基本的ItargetPreparer界面。
itargetPreparer为测试运行准备测试环境。
IterribleFailureHandlerLogUtil.CLog.wtf(String, Throwable)处理可怕故障的接口
iTestannotationFilterReceiver可以根据注释过滤哪些测试进行测试的跑步者。
iTestCollector为测试收集提供支持;设置后,测试跑步者必须执行干式跑步以收集测试用例,而无需实际执行。
iTestDevice为DDMLIB IDevice提供了可靠且稍高的API。
itestdevice.apexinfo一个简单的结构类,用于存储有关单个顶点的信息
itestdevice.mountpointinfo一个简单的结构类,用于存储有关单个山顶的信息
itestDevice.RecoveryMode
iTestFilefileFilterReceiver可以接收文件的跑步者,以指定要运行和/或不运行的测试。
iTestFilterReceiver可以过滤哪些测试进行运行的跑步者。
iTestinformationReceiver接口以接收某些类的TestInformation
iTestinvocation处理一项贸易支持测试调用。
iTestInvocation.exitinformation表示调用的一些退出信息。
iTestinvocationListener听众从测试调用中获得测试结果。
iTestLifecycleceiver在仪器测试运行期间接收事件通知。
iTestLogger可以执行各种类型的数据流来记录的实体。
iTestLoggerReceiver可以注入ITestLogger实例的实体,以便将其用于记录目的。
iTestSpool描述我们可以访问和运行的测试池的接口
iTestsuite用于运行测试套件的抽象类。
iTestSuite.MultideViceModulestrategy
iTestSuiterSultLoader界面描述了一个可以重新运行的方式加载先前结果的助手。
iTestSummaryListener允许ITestInvocationListener的接口可以通过摘要交换一些有限的信息。
iTestszipinstaller从设备上的测试ZIP文件(由构建系统输出)安装测试。
ItokenProvider描述可以提供特定设备令牌的对象的接口。
Itokenrequest接口IRemoteTest可以实现,以揭示其需要具有特殊令牌的设备的事实。

J

jarhosttest测试跑步者用于主机侧JUNIT测试。
jarhosttest.hosttestlistener包装器侦听器将除了TestRunStarted()和TestRuneding()()()向嵌入式侦听器转发所有事件。
Javacodecoveragecollector一种BaseDeviceMetricCollector ,将从设备上删除Java覆盖范围,并将其记录为测试工件。
Javacodecoverageflusher一个实用程序类,该类别重置并迫使设备上运行的流程的Java代码覆盖范围测量。
JSONFILEKEYSTORECLIENT本地JSON文件代表密钥存储的示例实现。
JSONFILEKEYSTOREFACTORY JSON密钥库工厂的实现,该工厂提供了用于访问JSON密钥存储文件的JSONFileKeyStoreClient
jsonhttptptestesultreporter编码测试指标结果和分支的结果记者,设备信息,然后发布到HTTP服务端点中
Junit4Resultforwarder Runit4 Runner的结果前锋。
Junit4TestFilter通过扩展Filter ,为Junit4 Runner提供过滤的助手类。
Junitrunutil用于指导IRemoteTest#run(TestInformation, ITestInvocationListener)助手类呼叫到Test#run(TestResult)调用。
JunittoInvocationResultForwarder倾听TestListener事件并将其转发到ITestInvocationListener课程。
junitxmlparser从ant的XMlJunitResultFormatter中提取测试结果的解析器,并将其转发到iTestinvocationListener中。

K

kerneltargetTest测试跑步者可在目标和解析内核测试的训练中运行。
kerneltestmodulecontoller模块控制器的基类在不匹配体系结构时不运行测试。
KeyguardControllerState关键守卫状态的容器。
KeyguardStatuschecker在执行模块后检查钥匙守卫状态。
KeyStoreException当致命的钥匙店错误发生时抛出。
killexistingemulatorpreparer一个关闭运行的模拟器的ITargetPreparer
已知FailurePreparer目标准备者跳过重试已知的失败。
ktapresultparser读取KTAP输出,因为Kunit测试模块生成的输出并将其放置在debugfs下的“结果”文件中。
ktapresultparser.parseresolution
kunitmoduletest用于在设备上运行Kunit测试模块的测试跑步者。

L

LabResourcedEviceMonitor实验室资源监视器初始化/管理labResourceservice的GRPC服务器。
大输出电源旨在帮助运行长期运行命令收集输出的类。
LastShardDetector在运行本地分片时,有时我们只想在最后一片invocationEnded(long)时执行一些操作。
LaunchCvDhelper实用程序助理以控制墨西哥鱼VM中的启动_cvd。
泄漏ThreadStatuschecker状态检查器以确保模块不会泄漏运行线程。
LegacySubProcessresultsreporter尽管超级类的变化,但子过程结果的冷冻实现应与早期版本的TF/CTS(例如8+)保持兼容。
ListInstrumentationParser IShellOutputReceiver解析“ PM列表”仪器的输出查询
ListInstrumentationParser.instrumentationTarget
localandroidvirtualdevice在交易的主机上运行的本地虚拟设备的类。
LocalAppBuildProvider一个基于提供的本地路径的IBuildInfo IBuildProvider
本地开发人员检测并返回这是否是经营交易的本地开发人员。
LocalDeviceBuildProvider一个基于提供的文件系统目录路径构建IDeviceBuildInfo IBuildProvider
LocalemulatorLaunch TargetPreparer从Android构建环境中本地启动模拟器。
localemulatorsNapshot旨在从Android构建/开发环境中生成清洁的仿真器快照的目标编制者
LocalFileHeader LocalFileHeader是包含ZIP文件中文件/文件夹信息的类。
LocalFileSolver允许链接本地文件的IRemoteFileResolver的实现
LocalFolderBuildProvider一个基于提供的本地路径IBuildProvider ,构建IFolderBuildInfo
Localhostresourcemanager管理器主机资源。
Localpool实施一系列本地测试
LocalRunInstructionBuilder实用程序以编译指令以在本地运行测试。
LocksettingsBaselineSetter拆卸屏幕锁定设置的设置器。
logcatcrashrashresultforwarder特殊侦听器:在故障(仪器过程崩溃)上,它将尝试从撞车事故中提取崩溃,并将其添加到与测试关联的失败消息中。
logcateventparser
logcateventtype LogcatEventParser的事件类型。
LogCatonFailUreCollector当测试用例失败时,将捕获并记录logcat的收集器。
logcatreceiver在背景中收集logcat的类。
LogCattimingMetricCollector在一个或多个重复测试期间,通过使用给定的正则表达式模式将事件的启动和结束信号从logcat行中解析,从而在一个或多个重复测试中从logcat中收集定时信息(例如用户切换时间)的公制收集器。
logDatatype表示日志数据的数据类型。
日志档案类以将元数据保存为保存的日志文件。
logfilesaver ITestInvocationListener的助手,将日志数据保存到文件
lemgreceiver
log Registry ILogRegistry的实现,该实现使用适当的日志记录器,基于呼叫线程的ThreadGroup ,使用适当的记录仪。
LogSaverResultForwarder用于使用全局文件避免日志保存日志的ResultForwarder
logutil伐木公用课程。
logutil.clog Log的垫片类,该类自动使用呼叫者的简单类名作为日志标签
Luciresultreporter结果记者将ResultDB和LUCI所需的测试结果保存到JSON格式(GO/Result-Sink)中,并记录控制台中的文件位置。

中号

MainlineModuleHandler一个简单的处理程序类,用于主机模块,该类别创建一个sterminapexmoduletargetPreparer,并根据给定的Mainline模块将动态链接注入其中,以自动检索这些模块。
MainLinetestModuleController模块控制器的基类可以根据测试设备上的预加载主线模块运行测试。
管理部门在虚拟机内运行的设备,我们通过VM内的交易实例远程管理。
托管测试范围工厂创建可以通过TF监视的不同类型的设备
maxsdkmodulecontroller用于模块控制器的基类,无法在指定的SDK版本号上方进行版本上运行测试。
合并ZipentryCollection将大型拉链文件中的单个拉链条目合并为块中,以最大程度地减少下载尝试。
MergemultibuildTargetPreparer IMultiTargetPreparer允许通过命名将信息从一个构建中传递给另一个构建,并将文件键复制到另一个构建中。
Mergentrategy描述在存在多次尝试时应如何汇总结果。
度量文件后处理器用于上传测试和运行级别期间收集的指标日志文件。
公制@Test注释的测试方法的注释,或者注释是TestDescription的注释列表的一部分,该列表允许指定一些额外的参数,可用于:调整收集器的行为并过滤一些方法。
MetricsXmlResultReporter Metricsxmlresultreporter在测试的调用阶段将测试指标写入测试指标并将指标运行到XML文件中。
Metrictestcase作为交易的一部分运行时允许记录指标的TestCase的扩展。
Metrictestcase.logholder结构保存要报告的日志文件。
metricutil从推送的StatsD配置中提取指标的实用程序类。
衡量重包含用于存储测试指标的常用实用方法,在类似测试中汇总了指标,并将指标写入文件。
MinapilevelModuleController模块控制器的基类在指定的API级别以下时不运行测试。
Minsdkmodulecontroller用于模块控制器的基类无法在指定的SDK版本号以下的版本上运行测试。
MixImageZippReparer在设备构建中混合系统构建的图像的IMultiTargetPreparer
MixkerneltargetPreparer允许将内核图像与设备图像混合的ITargetPreparer
MoblyBinary Hostest主机测试旨在从Android Build System(SOONG)运行Mobly Python二进制文件
MoblyyamlresultControllerInfoHandler Mobly yaml结果“控制器信息”元素处理程序。
moblyyamlresultControllerInfoHandler.ControllerInfo
moblyyamlresultControllerInfoHandler.controllerinfo.builder
MoblyyamlresulthandlerFactory Mobly Yaml结果处理程序工厂,该工厂根据结果类型生成适当的处理程序。
moblyyamlresulthandlerfactory.invalidresulttypeexception
moblyyamlresulthandlerfactory.type
Moblyyamlresultparser Mobly Yaml测试结果解析器。
Moblyyamlresultrecordhandler Mobly yaml结果“记录”元素处理程序。
moblyyamlresultrecordhandler.Record
moblyyamlresultrecordhandler.record.builder
moblyyamlresultrecordhandler.RecordResult
Moblyyamlresultsummaryhandler Mobly yaml结果“摘要”元素处理程序。
Moblyyamlresultsummaryhandler.Summary
moblyyamlresultsummaryhandler.summary.builder
Moblyyamlresulttestnamelisthandler Mobly Yaml结果“测试名称列表”元素处理程序。
Moblyyamlresulttestemelisthandler.testnamelist
moblyyamlresulttestemelisthandler.testnamelist.builder
Moblyyamlresultuserdatahandler Mobly yaml结果“用户数据”元素处理程序。
moblyyamlresultuserdatahandler.userdata
moblyyamlresultuserdatahandler.userdata.builder
模块化用于测试运行配置的容器。
调节列器为了收集结果列表,每个模块的每个IRemoteTest都附加了侦听器。
ModuleLogCatCollector LogCat收集器的版本,但用于模块。
Modulemerger分割后与ITestSuiteModuleDefinition合并的操作助手类。
ModuleoemtargetPreparer
模块培训器每个模块元数据中与套件“参数”键相关的特殊值。
模块摄影机助手以获取与参数关联的IModuleParameterHandler
模块使用
Modulepusherror主线模块推动期间的致命错误。
模块Plitter Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition .
ModuleTestTypeUtil Contains common utility methods for checking module.
MultiFailureDescription Collect multiple FailureDescription in one holder.
MultiMap <K, V> A ERROR(/Map) that supports multiple values per key.

NameMangleListener A proxy listener to translate test method, class, and package names as results are reported.
NativeBenchmarkTest A Test that runs a native benchmark test executable on given device.
NativeBenchmarkTestParser A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation.
NativeBridgeModuleController A module controller to check if a device support native bridge.
NativeCodeCoverageFlusher A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device.
NativeDevice Default implementation of a ITestDevice Non-full stack android devices.
NativeDevice.AdbAction A ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for running a OS 'adb ....' command.
NativeDevice.AdbShellAction
NativeDevice.RebootDeviceAction ERROR(DeviceAction/com.android.tradefed.device.NativeDevice.DeviceAction DeviceAction) for rebooting a device.
NativeDevice.RebootMode A mode of a reboot.
NativeDeviceStateMonitor Helper class for monitoring the state of a IDevice with no framework support.
NativeLeakCollector A ITargetPreparer that runs 'dumpsys meminfo --unreachable -a' to identify the unreachable native memory currently held by each process.
NativeStressTest A Test that runs a native stress test executable on given device.
NativeStressTestParser A IShellOutputReceiver that parses the stress test data output, collecting metrics on number of iterations complete and average time per iteration.
NegativeHandler Handler that specify that nothing should be done and the parameter should not create any extra module.
NestedDeviceStateMonitor Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment.
NestedRemoteDevice Representation of the device running inside a remote Cuttlefish VM.
NetworkNotAvailableException Thrown when a device is not able to connect to network for testing.
NoApkTestSkipper Special preparer that allows to skip an invocation completely (preparation and tests) if there are no apks to tests.
NoDeviceException Thrown when there's no device to execute a given command.
NoisyDryRunTest Run noisy dry run on a command file.
NoOpConfigOptionValueTransformer An no-op IConfigOptionValueTransformer
NotMultiAbiHandler Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module.
NullDevice A placeholder IDevice used by DeviceManager to allocate when IDeviceSelection#nullDeviceRequested() is true

OpenObjectLoader Loader for the default objects available in AOSP.
选项Annotates a field as representing a IConfiguration option.
Option.Importance
OptionClass Annotates a class as representing a IConfiguration object.
OptionCopier A helper class that can copy Option field values with same names from one object to another.
OptionDef Holds the details of an Option .
OptionFetcher Helper to get the test options from the parent process.
OptionNotAllowedException Specific ConfigurationException when an option is not allowed to be passed in the command line.
OptionSetter Populates Option fields.
OptionSetter.OptionFieldsForName Container for the list of option fields with given name.
OptionUpdateRule Controls the behavior when an option is specified multiple times.
OtaDeviceBuildInfo A IDeviceBuildInfo used for over-the-air update testing.
OtatoolsBuildInfo An IBuildInfo that contains otatools artifacts.
OtaZipfileBuildProvider Provides a IBuildInfo based on a local OTA zip file.
OxygenClient A class that manages the use of Oxygen client binary to lease or release Oxygen device.
OxygenUtil Utility to interact with Oxygen service.

封装信息Container for an application's package info parsed from device.
PackageInstalledModuleController Module controller to not run tests when the device has not got the given packages installed.
Pair <A, B> Define our own Pair class which contains two objects.
PairingMultiTargetPreparer A multi-target preparer helps make Bluetooth pairing (and connection) between two devices.
ParallelDeviceExecutor <V> Wrapper of ERROR(/ExecutorService) to execute a function in parallel.
ParentSandboxInvocationExecution Version of InvocationExecution for the parent invocation special actions when running a sandbox.
ParentShardReplicate Replicate a setup for one device to all other devices that will be part of sharding.
PartialZipDownloadCache Utility to cache partial download files based on their content.
PassingTestFileReporter A ITestInvocationListener that saves the list of passing test cases to a test file
完美通用后处理器后处理器,通过递归扩展原始消息和具有字符串值的字段,直到遇到具有数值的字段,将文本/二进制度量 perfetto 原始文件处理为键值对。
PerfettoGenericPostProcessor.AlternativeParseFormat
PerfettoGenericPostProcessor.METRIC_FILE_FORMAT
PerfettoPreparer Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to.
PerfettoPullerMetricCollector Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it.
PerfettoPullerMetricCollector.METRIC_FILE_FORMAT
PerfettoTraceRecorder A utility class for recording perfetto trace on a ITestDevice .
PrettyPrintDelimiter Helper utility that helps to print delimited message that stands out.
PrettyTestEventLogger Logger matching the events and logging them in order to make it easier to debug.
ProcessInfo Used to store process related(USER, PID, NAME, START TIME IN SECOND SINCE EPOCH) information.
ProfileParameterHandler Base parameter handler for any profile user.
ProfileTargetPreparer Base class for setting up target preparer for any profile user android.os.usertype.profile.XXX .
PropertyChanger A utility class for changing (or adding) items in an Android property file
ProtoResultParser Parser for the Tradefed results proto format.
ProtoResultParser.TestLevel Enumeration representing the current level of the proto being processed.
ProtoResultReporter Result reporter build a TestRecord protobuf with all the results inside.
ProtoUtil Utility methods for dealing with protobuf messages type-agnostically.
代理配置Object that allows pointing to a remote configuration to execute.
PsParser Utility used to parse(USER,PID and NAME) from the "ps" command output
PtsBotTest Run PTS-bot tests.
PushFileInvoker This class is deprecated. Use PushFilePreparer instead
PushFilePreparer A ITargetPreparer that attempts to push any number of files from any host path to any device path.
PythonBinaryHostTest Host test meant to run a python binary file from the Android Build system (Soong)

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

PythonBinaryHostTest.PythonForwarder Result forwarder to replace the run name by the binary name.
PythonUnitTestResultParser Interprets the output of tests run with Python's unittest framework and translates it into calls on a series of ITestInvocationListener s.
PythonUnitTestRunner This class is deprecated. Use PythonBinaryHostTest instead.
PythonVirtualenvHelper A helper class for activating Python 3 virtual environment.
PythonVirtualenvPreparer Sets up a Python virtualenv on the host and installs packages.

QuotationAwareTokenizer

RebootReasonCollector Collector that collects device reboot during the test run and report them by reason and counts.
RebootTargetPreparer Target preparer that reboots the device.
RecoveryLogPreparer A target preparer used to collect logs before recovery.
RegexTrie <V> The RegexTrie is a trie where each已存储segment of the key is a regex ERROR(/Pattern) .
RemoteAndroidDevice Implementation of a ITestDevice for a full stack android device connected via adb connect.
RemoteAndroidVirtualDevice Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce).
RemoteAvdIDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true
RemoteDynamicPool Implementation of a pool of remote work queued tests
RemoteFileResolver A simple class that allows one to load files from a variety of places using URIs and the service provider functionality.
RemoteFileUtil Utility class to handle file from a remote instance
RemoteInvocationExecution Implementation of InvocationExecution that drives a remote execution.
RemoteInvocationExecution.FileOptionValueTransformer
RemoteSshUtil Utility to execute ssh commands on remote instances.
RemoteTestTimeOutEnforcer Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout.
RemoteZip Utilities to unzip individual files inside a remote zip file.
RemoveSystemAppPreparer A ITargetPreparer for removing an apk from the system partition before a test run.
ReportPassedTests Report in a file possible filters to exclude passed test.
ResolvePartialDownload Resolve a partial download request.
ResourceMetricUtil Utility functions for composing metrics.
ResourceUtil Utility for reading configuration resources.
RestApiHelper A helper class for performing REST API calls.
RestartSystemServerTargetPreparer Target preparer that restarts the system server without rebooting the device.
ResultAggregator Special forwarder that aggregates the results when needed, based on the retry strategy that was taken.
ResultAndLogForwarder Forwarder for results and logs events.
ResultForwarder A ITestInvocationListener that forwards invocation results to a list of other listeners.
ResultsPlayer Special runner that replays the results given to it.
RetentionFileSaver Helper class for creating a .retention file in a directory.
RetryConfigurationFactory Factory that handles retrying a command.
RetryLogSaverResultForwarder Forwarder that also handles passing the current attempt we are at.
RetryPreparationDecision A Class to describe the decisions about whether or not to retry preparation and to fail the module run.
RetryRescheduler A special runner that allows to reschedule a previous run tests that failed or where not executed.
RetryRescheduler.RetryType The types of the tests that can be retried.
RetryResultForwarder An Extension of ResultForwarder that always push to a given attempt number.
RetryResultHelper Helper class to determine which module or test should run or not.
RetryStatistics Structure holding the statistics for a retry session of one IRemoteTest .
RetryStrategy The Retry Strategy to be used when re-running some tests.
RootcanalForwarderPreparer
RootTargetPreparer Target preparer that performs "adb root" or "adb unroot" based on option "force-root".
RunAftersWithInfo
RunBeforesWithInfo
RunCommandTargetPreparer
RunConfigDeviceRecovery Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step.
RunHostCommandTargetPreparer Target preparer to run arbitrary host commands before and after running the test.
RunHostScriptTargetPreparer Target preparer which executes a script before running a test.
RunInterruptedException Thrown when a run operation is interrupted by an external request.
RunNotifierWrapper Wrapper of RunNotifier so we can carry the DeviceNotAvailableException .
RunOnCloneProfileParameterHandler
RunOnCloneProfileTargetPreparer
RunOnSdkSandboxHandler Handler for ModuleParameters#RUN_ON_SDK_SANDBOX .
RunOnSdkSandboxTargetPreparer An ITargetPreparer to marks that tests should run in the sdk sandbox.
RunOnSecondaryUserParameterHandler
RunOnSecondaryUserTargetPreparer An ITargetPreparer that creates a secondary user in setup, and marks that tests should be run in that user.
RunOnSystemUserTargetPreparer An ITargetPreparer that marks that tests should be run on the user (rather than the current user).
RunOnWorkProfileParameterHandler
RunOnWorkProfileTargetPreparer An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user.
RuntimeRestartCollector Collector that collects timestamps of runtime restarts (system server crashes) during the test run, if any.
RunUtil A collection of helper methods for executing operations.
RustBenchmarkResultParser Interprets the output of tests run with Criterion benchmarking framework and translates it into calls on a series of ITestInvocationListener s.
RustBinaryHostTest Host test meant to run a rust binary file from the Android Build system (Soong)
RustBinaryTest A Test that runs a rust binary on given device.
RustTestBase Base class of RustBinaryHostTest and RustBinaryTest
RustTestBase.EnvPair
RustTestBase.Invocation
RustTestResultParser Interprets the output of tests run with Rust's unittest framework and translates it into calls on a series of ITestInvocationListener s.

S

SandboxConfigDump Runner class that creates a IConfiguration based on a command line and dump it to a file.
SandboxConfigDump.DumpCmd
SandboxConfigurationException Special Configuration Exception coming from the Sandbox setup.
SandboxConfigurationFactory Special Configuration factory to handle creation of configurations for Sandboxing purpose.
SandboxConfigUtil A utility class for managing IConfiguration when doing sandboxing.
SandboxedInvocationExecution Special sandbox execution of the invocation: This is the InvocationExection for when we are inside the sandbox running the command.
SandboxInvocationRunner Run the tests associated with the invocation in the sandbox.
SandboxOptions Class that can receive and provide options to a ISandbox .
ScreenshotOnFailureCollector Collector that will capture and log a screenshot when a test case fails.
Sdk28ModuleController A module controller to check if a device is on SDK 28 (Android 9) or above.
Sdk29ModuleController Only run tests if the device under test is SDK version 29 or above.
Sdk30ModuleController Only run tests if the device under test is SDK version 30 or above.
Sdk31ModuleController Only run tests if the device under test is SDK version 31 or above.
Sdk32ModuleController Only run tests if the device under test is SDK version 32 or above.
Sdk33ModuleController Only run tests if the device under test is SDK version 33 or above.
Sdk34ModuleController Only run tests if the device under test is SDK version 34 or above.
SecondaryUserHandler Handler for ModuleParameters#SECONDARY_USER .
SecondaryUserOnDefaultDisplayHandler Handler for ModuleParameters#SECONDARY_USER_ON_DEFAULT_DISPLAY .
SecondaryUserOnSecondaryDisplayHandler Handler for ModuleParameters#SECONDARY_USER_ON_SECONDARY_DISPLAY .
SemaphoreTokenTargetPreparer This is a preparer used to use token to serialize test excution in tradefed host.
SerializationUtil Utility to serialize/deserialize an object that implements ERROR(/Serializable) .
ServiceAccountKeyCredentialFactory A credential factory to create service account key based oauth Credential .
SettingsBaselineSetter A common setter to handle device baseline settings via ITestDevice.setSetting.
ShardBuildCloner Helper class that handles cloning a build info from the command line.
ShardHelper Helper class that handles creating the shards and scheduling them for an invocation.
ShardListener A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener.
ShardMainResultForwarder A ResultForwarder that combines the results of a sharded test invocations.
ShellOutputReceiverStream Utility subclass of OutputStream that writes into an IShellOutputReceiver.
ShellStatusChecker Check if the shell status is as expected before and after a module run.
ShippingApiLevelModuleController Run tests if the device meets the following conditions:
  • If min-api-level is defined:
    • The device shipped with the min-api-level or later.
ShowmapPullerMetricCollector Base implementation of FilePullerDeviceMetricCollector that allows pulling the showmap files from the device and collect the metrics from it.
SideloadOtaTargetPreparer A target preparer that performs sideload of a specified OTA package, applies the package, waits for device to boot up, and injects the device build properties to use as build info

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

SimpleFileLogger A ILeveledLogOutput that directs log messages to stdout and to a single log file.
SimplePerfResult Object to hold all simpleperf test results
SimplePerfStatResultParser A utility class to parse simpleperf result.
SimplePerfUtil Utility class to dispatch simple command and collect results
SimplePerfUtil.SimplePerfType Enum of simpleperf command options
SimpleStats A small utility class that calculates a few statistical measures given a numerical dataset.
SizeLimitedOutputStream A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written.
SkipHWASanModuleController Base class for a module controller to not run tests on HWASan builds.
SkipManager Based on a variety of criteria the skip manager helps to decide what should be skipped at different levels: invocation, modules and tests.
SkipReason Provide a reason and its metadata for skipping a test.
SkipReason.DemotionTrigger
Sl4aBluetoothUtil A utility class provides Bluetooth operations on one or two devices using SL4A
Sl4aBluetoothUtil.BluetoothAccessLevel Enums for Bluetooth device access level which are based on BluetoothDevice.java
Sl4aBluetoothUtil.BluetoothConnectionState Enums for Bluetooth connection states which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothPriorityLevel Enums for Bluetooth profile priority level which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothProfile Enums for Bluetooth profiles which are based on BluetoothProfile.java
Sl4aClient Sl4A client to interact via RPC with SL4A scripting layer.
Sl4aEventDispatcher Event dispatcher polls for event and queue them by name to be queried.
Sl4aEventDispatcher.EventSl4aObject Object returned by the event poller.
SnapshotInputStreamSource A File-backed InputStreamSource.
SparseImageUtil Utility to unsparse sparse images.
SparseImageUtil.SparseInputStream SparseInputStream read from upstream and detects the data format.
StatsdBeforeAfterGaugeMetricPostProcessor后处理器,处理以“之前/之后”方法收集的仪表指标,即
统计事件度量后处理器后处理器,使用处理器上指定的格式化程序将 statsd 报告中的事件指标处理为键值对。
统计通用后处理器后处理器,通过将报告扩展为树结构,将二进制原始 statsd 报告处理为键值对。
StatusCheckerResult Contains the result of a ISystemStatusChecker execution.
StatusCheckerResult.CheckStatus
StdoutLogger A ILeveledLogOutput that directs log messages to stdout.
StopServicesSetup A ITargetPreparer that stops services on the device.
StreamProtoReceiver A receiver that translates proto TestRecord received into Tradefed events.
StreamProtoResultReporter An implementation of ProtoResultReporter
StreamUtil Utility class for managing input streams.
StrictShardHelper Sharding strategy to create strict shards that do not report together,
字符串转义工具Utility class for escaping strings for specific formats.
字符串工具Utility class for escaping strings for common string manipulation.
StubBuildProvider No-op empty implementation of a IBuildProvider .
StubDevice Stub placeholder implementation of a IDevice .
StubKeyStoreClient Default stub implementation for KeyStore Client.
StubKeyStoreFactory Default stub implementation for KeyStore Factory
StubLocalAndroidVirtualDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.localVirtualDeviceRequested() is true
StubMultiTargetPreparer Placeholder empty implementation of a IMultiTargetPreparer .
StubTargetPreparer Placeholder empty implementation of a ITargetPreparer .
StubTest No-op empty test implementation.
StubTestRunListener Stub implementation of ITestRunListener
SubprocessCommandException A subprocess command failed to run.
SubprocessConfigBuilder Build a wrapper TF config XML for an existing TF config.
SubprocessEventHelper Helper to serialize/deserialize the events to be passed to the log.
SubprocessEventHelper.BaseTestEventInfo Base Helper for TestIgnored information.
SubprocessEventHelper.FailedTestEventInfo Helper for testFailed information.
SubprocessEventHelper.InvocationEndedEventInfo Helper for invocation ended information.
SubprocessEventHelper.InvocationFailedEventInfo Helper for InvocationFailed information.
SubprocessEventHelper.InvocationStartedEventInfo Helper for invocation started information.
SubprocessEventHelper.LogAssociationEventInfo Helper for logAssociation information.
SubprocessEventHelper.SkippedTestEventInfo
SubprocessEventHelper.TestEndedEventInfo Helper for testEnded information.
SubprocessEventHelper.TestLogEventInfo Helper for testLog information.
SubprocessEventHelper.TestModuleStartedEventInfo Helper for test module started information.
SubprocessEventHelper.TestRunEndedEventInfo Helper for testRunEnded Information.
SubprocessEventHelper.TestRunFailedEventInfo Helper for testRunFailed information
SubprocessEventHelper.TestRunStartedEventInfo Helper for testRunStarted information
SubprocessEventHelper.TestStartedEventInfo Helper for testStarted information
SubprocessExceptionParser Helper to handle the exception output from standard Tradefed command runners.
SubprocessReportingHelper A class to build a wrapper configuration file to use subprocess results reporter for a cluster command.
SubprocessResultsReporter Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations.
SubprocessTestResultsParser Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side.
SubprocessTestResultsParser.StatusKeys Relevant test status keys.
SubprocessTfLauncher A IRemoteTest for running tests against a separate TF installation.
SuiteApkInstaller Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info.
SuiteModuleLoader Retrieves Compatibility test module definitions from the repository.
SuiteModuleLoader.ConfigFilter A ERROR(/FilenameFilter) to find all the config files in a directory.
SuiteResultHolder Helper object to ease up serializing and deserializing the invocation results.
SuiteResultReporter Collect test results for an entire suite invocation and output the final results.
SuiteResultReporter.ModulePrepTimes Object holder for the preparation and tear down time of one module.
SuiteTestFilter Represents a filter for including and excluding tests.
SwitchUserTargetPreparer A ITargetPreparer that switches to the specified user kind in setUp.
SystemServerFileDescriptorChecker Checks if system server appears to be running out of FDs.
SystemServerStatusChecker Check if the pid of system_server has changed from before and after a module run.
SystemUpdaterDeviceFlasher A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package.
SystemUtil Utility class for making system calls.
SystemUtil.EnvVariable

时间

表格生成器Helper class to display a matrix of String elements in a table.
TableFormatter Helper class to display a matrix of String elements so each element column is lined up
TargetFileUtils
TargetFileUtils.FilePermission
TargetSetupError A fatal error occurred while preparing the target for testing.
TarUtil Utility to manipulate a tar file.
TcpDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.tcpDeviceRequested() is true
TearDownPassThroughPreparer Allows for running tearDown on preparers that are included in a config as an object.
TelephonyHelper A utility to use and get information related to the telephony.
TelephonyHelper.SimCardInformation An information holder for the sim card related information.
TelephonyTokenProvider Token provider for telephony related tokens.
TemperatureThrottlingWaiter An ITargetPreparer that waits until device's temperature gets down to target
TemplateResolutionError Class extending ConfigurationException for template related error during configuration parsing.
TerribleFailureEmailHandler A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance.
TestAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestContentAnalyzer The analyzer takes context for the analysis and determine what is interesting.
TestContext A class to model a TestContext message of TFC API.
TestDependencyResolver Helper to resolve dependencies if needed.
TestDescription Class representing information about a test case.
TestDescriptionsFile A utility class for marshalling and unmarshalling a list of TestDescriptions to a test file.
TestDevice Implementation of a ITestDevice for a full stack android device
TestDevice.MicrodroidBuilder A builder used to create a Microdroid TestDevice.
TestDeviceOptions Container for ITestDevice Option s
TestDeviceOptions.InstanceType
TestDeviceState A more fully featured representation of device state than DeviceState .
测试环境A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested.
TestFailureModuleController Controller for module that simply want to tune how the tests failures log collected are behaving.
TestFilePushSetup A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestFilterHelper Helper class for filtering tests
TestGroupStatus A class to store status of a test group.
测试信息Stores the test information set in a TEST_MAPPING file.
TestInformation Holder object that contains all the information and dependencies a test runner or test might need to execute properly.
TestInformation.Builder Builder to create a TestInformation instance.
TestInvocation Default implementation of ITestInvocation .
TestInvocation.RunMode The different mode an invocation can run into.
TestInvocation.Stage
TestInvocationManagementServer GRPC server helping to management test invocation and their lifecycle.
TestInvocationManagementServer.InvocationInformation
TestMapping A class for loading a TEST_MAPPING file.
TestMappingSuiteRunner Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite.
TestOption Stores the test option details set in a TEST_MAPPING file.
TestOutputUploader Uploads test output files to local file system, GCS, or an HTTP(S) endpoint.
TestRecordInterpreter Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed.
TestRecordProtoUtil Utility to read the TestRecord proto from a file.
TestResource A class to model a TestResource message returned by TFC API.
TestResourceDownloader A class to download test resource files from file system/GCS/HTTP.
测试结果Container for a result of a single test.
TestResultListener A simplification of ITestLifecycleListener for implementers that only care about individual test results.
TestRunnerUtil A utility class to help various test runners.
TestRunResult Holds results from a single test run.
TestRunToTestInvocationForwarder Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver .
TestsPoolPoller Tests wrapper that allow to execute all the tests of a pool of tests.
TestStatus Representation in Tradefed of possible statuses for test methods.
TestSuiteInfo A class that resolves loading of build related metadata for test suite

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

TestSummary A class to represent a test summary.
TestSummary.Type
TestSummary.TypedString
TestSystemAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device.
TestTimeoutEnforcer Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout.
TextResultReporter A test result reporter that forwards results to the JUnit text result printer.
TfMetricProtoUtil Utility class to help with the Map to Map过渡。
TfObjectTracker A utility to track the usage of the different Trade Fedederation objects.
TfSuiteRunner Implementation of ITestSuite which will load tests from TF jars res/config/suite/ folder.
TfTestLauncher A IRemoteTest for running unit or functional tests against a separate TF installation.
TimeStatusChecker Status checker to ensure that the device and host time are kept in sync.
时间工具Contains time related utility methods.
TimeVal This is a sentinel type which wraps a Long .
浪费时间的人A simple target preparer to waste time and potentially restart the device.
TokenProperty Supported token with dynamic sharding.
TokenProviderHelper Helper that gives the provider associated to a particular token, in order to find out if a device supports the token.
TraceCmdCollector A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation.
TracePropagatingExecutorService An executor service that forwards tasks to an underlying implementation while propagating the tracing context.
TracingLogger Class that helps to manage tracing for each test invocation.
TradefedConfigObject A class to model a TradefedConfigObject message of TFC API.
TradefedConfigObject.Type A list of configuration object types which can be injected to a cluster command config.
TradefedDelegator Objects that helps delegating the invocation to another Tradefed binary.
TradefedFeatureClient A grpc client to request feature execution from the server.
TradefedFeatureServer A server that responds to requests for triggering features.
TradefedSandbox Sandbox container that can run a Trade Federation invocation.
TradefedSandboxFactory Default implementation for SandboxFactory
TradefedSandboxRunner Runner associated with a TradefedSandbox that will allow executing the sandbox.
TradefedSandboxRunner.StubScheduledInvocationListener A stub IScheduledInvocationListener that does nothing.

U

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

V

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

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

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

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

X

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

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

Z

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