类别索引
这些是 API 类。查看所有API 包。
A
解析器 | 通过解析“aapt dump badging”的输出从 apk 中提取信息的类。 |
AaptParser.Aapt版本 | 用于解析 APK 文件的 AAPT 版本选项枚举。 |
阿比 | 代表 ABI 的类。 |
Abi格式化程序 | abi 的实用程序类。 |
能力工具 | 用于处理设备 ABI 的实用程序类 |
抽象连接 | 抽象连接表示。 |
抽象主机监视器 | 主机健康监控的典型类。 |
抽象隧道监视器 | GCE AVD 的抽象隧道监视器。 |
抽象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 在给定设备上运行仪器测试包的测试。 |
AndroidTestOrchestratorRemoteTestRunner | 使用 adb 命令和 AndroidTestOrchestrator 运行已检测的 Android 测试。 |
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中找到: |
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命令行在设备上安装.apks的实用程序类。 |
字节数组输入流源 | |
字节数组列表 | 表示轻量级字节数组的类。 |
字节数组实用程序 | 对字节数组进行操作的实用程序,例如将字节转换为整数。 |
C
汽车模块控制器 | 该控制器阻止在非汽车设备上执行测试用例。 |
携带DNA错误 | 通过 JUnit4 框架携带DeviceNotAvailableException 的内部RuntimeException 。 |
携带中断异常 | 当触发测试阶段超时并且需要从测试执行线程向调用执行线程携带 InterruptedException 时抛出。 |
CDMA设备闪存器 | 在具有 CDMA 无线电的物理 Android 设备上闪烁图像的类。 |
CecControllerTokenProvider | 消费电子控制 (CEC) 相关代币的代币提供商。 |
中央目录信息 | CentralDirectoryInfo 是一个包含 zip 文件内文件/文件夹信息的类。 |
检查配对准备器 | CompanionAwarePreparer ,用于验证主设备和配套设备之间的 BT 绑定 |
循环AtraceUtil | 开发的 atrace 实用程序主要用于识别 Monkey 测试期间 ANR 的根本原因。 |
循环字节数组 | 用于保存固定大小数组的数据结构,该数组作为循环缓冲区运行,并跟踪数组中所有值的总和。 |
ClangCodeCoverageCollector | BaseDeviceMetricCollector 将从设备中提取 Clang 覆盖率测量结果并将其记录为测试工件。 |
Clang配置文件索引器 | 一个实用程序类,用于索引 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 | 主机不同状态的枚举 |
命令状态 | 表示定时操作的状态。 |
命令状态处理程序 | 处理程序帮助监视和更新调用的状态。 |
命令成功模块控制器 | 模块控制器的基类,用于根据 shell 命令失败跳过测试模块。 |
通用日志远程文件实用程序 | 该实用程序可以避免公共文件的远程日志获取逻辑在不同远程设备表示之间出现代码重复。 |
CommonLogRemoteFileUtil.KnownLogFileEntry | 远程设备的已知日志条目的表示。 |
同伴分配器 | 负责分配和释放配套设备的基类 应实现 |
CompanionAwarePreparer | 一个ITargetPreparer ,封装了获取已分配的配套设备的逻辑。 |
同伴感知测试 | 封装获取和检查配套设备样板的基本测试类 子类可以调用 |
配套设备追踪器 | 用于分配和释放配套设备的类 |
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 主控制台为用户提供交互界面 目前支持以下操作
|
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
乙
早期设备发布功能 | 用于早期设备发布的功能服务器实现。 |
电子邮件 | 发送电子邮件的辅助类。 |
电子邮件主机健康代理 | 用于从主机监视器报告发送电子邮件的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 的变体,仅允许报告TestDescription 的白名单。 |
固定字节数组输出流 | 仅保留最大数据量的内存中ERROR(/OutputStream) 。 |
闪烁方式 | 描述用于刷新被测设备的方法的枚举 |
闪烁资源解析器 | 一个类,用于解析刷新设备所需的辅助图像文件的所需版本。 |
FlashingResourcesParser.AndroidInfo | Map<String, MultiMap<String, String>> typedef 。 |
FlashingResourcesParser.Constraint | 过滤接口,旨在允许FlashingResourcesParser 忽略它可能使用的某些资源 |
闪烁资源工具 | 此实用程序有助于设置工件的适当版本,以便可以通过DeviceFlashPreparer 刷新它们。 |
可折叠扩展处理器 | IModuleParameterHandler 扩展到每个非主要可折叠配置的更多内容。 |
可折叠处理器 | 通用可折叠处理程序,可以采用可折叠参数来创建专用模块。 |
可折叠模式准备器 | 可以切换设备可折叠状态的目标准备器。 |
文件夹构建信息 | IFolderBuildInfo 的具体实现。 |
文件夹保护程序 | ITargetPreparer 从设备中提取目录,压缩并将其保存到日志记录后端。 |
格式化生成器报告器 | 允许生成特定格式报告的报告器。 |
自由设备状态 | |
保险丝工具 | FUSE 操作的辅助类。 |
G
GceAvd信息 | 用于保存给定 GCE AVD 实例的相关数据的结构。 |
GceAvdInfo.GceStatus | |
GceAvdInfo.LogFileEntry | |
GceLHP隧道监视器 | |
Gce管理器 | 管理 GCE 调用以启动/停止并从 GCE 收集日志的帮助程序。 |
GceRemoteCmdFormatter | 用于格式化命令以到达远程 gce 设备的实用程序类。 |
GceRemoteCmdFormatter.ScpMode | SCP 可用于推送或拉取文件,具体取决于参数的结构。 |
GceSsh隧道监视器 | Gce ssh 隧道的线程监视器。 |
GcovCodeCoverageCollector | 一个BaseDeviceMetricCollector ,将从设备中提取 gcov 覆盖率测量结果并将其记录为测试工件。 |
GcovKernelCodeCoverageCollector | 一个BaseDeviceMetricCollector ,它将从 debugfs 和设备中提取 gcov 内核覆盖率测量结果,然后最终将它们记录为测试工件。 |
GCSBucketUtil | 文件管理器用于从 Google Cloud Storage (GCS) 下载和上传文件。 |
GCSBucketUtil.GCSFileMetadata | GCS 中文件信息的简单包装。 |
GCS通用 | 下载和上传等 Gcs 操作的基类。 |
GCS配置工厂 | ConfigurationFactory 从 Google Cloud Storage 加载配置。 |
GCSConfigurationFactory.GCSConfigLoader | ConfigurationFactory.ConfigLoader 的扩展,用于从 GCS 加载配置,跟踪一个根配置中包含的配置,并在循环包含时引发异常。 |
GCS配置服务器 | 配置服务器从 Google Cloud Storage (GCS) 加载配置。 |
GCS下载助手 | GCS 存储桶的下载程序,负责缓存和解析全局配置。 |
GCS文件下载器 | 文件下载器用于从谷歌云存储(GCS)下载文件。 |
GCS文件上传器 | 文件上传器将文件数据上传到谷歌云存储(GCS)。 |
GCS主机资源管理器 | 从GCS(谷歌云存储)下载主机资源。 |
Gcs远程文件解析器 | 实现IRemoteFileResolver ,允许从 GCS 存储桶下载。 |
GenericLogcatEventParser <LogcatEventType> | 解析事件的 logcat 输入。 |
GenericLogcatEventParser.LogcatEvent | 用于保存 logcat 事件的结构,具有事件类型并触发 logcat 消息 |
获取上一个已通过的助手 | 助手获取先前的通过测试过滤器。 |
gkideviceflashpreparer | 使用Android Common内核通用图像刷新设备的目标准备器。 |
全球配置 | 一个将加载的配置对象存储在地图中的IGlobalConfiguration 实现 |
GlobalFiltergetter | 返回给定调用过滤器的服务实现。 |
GlobalTestFilter | 应用于调用的过滤选项。 |
GoogleApi客户端工具 | 用于创建 Google API 客户端的实用程序。 |
GoogleBenchmarkResultParser | 解析从Shell运行的Google基准测试结果,并返回所有结果。 |
GoogleBenchmarktest | 在给定设备上运行Google基准测试包的测试。 |
粒状摄影师 | 包装器类在IRemoteTest 上工作,以测试柜级别将IREMOTETEST颗粒化。 |
粒度摄取wrapper.startendCollector | 班级助手抓住缺失的跑步开始和结束。 |
gsideviceflashpreparer | 使用Android通用系统图像刷新设备的目标准备器。 |
gtest | 在给定设备上运行本机测试包的测试。 |
gtestbase | Gtest的基类 |
gtestlisttestparser | GTEST DRY RUN模式的结果解析器具有“ -gtest_list_tests”参数。 |
gtestresultparser | 使用从Shell运行的GTEST来解析本机测试的“原始输出模式”结果,并告知结果iTestInvocationListener。 |
gtestxmlresultparser | 使用来自Shell运行的GTEST的本机测试的“ XML输出模式”结果,并告知结果的iTestRistener。 |
H
harnessexception | 基础异常类别在安全带内抛出。 |
harnessioException | 线束异常,有助于携带文件问题。 |
HarnessruntimeException | |
HephostMonitor | AbstractHostMonitor 实现,可监视主机上的堆内存并定期将其记录到历史记录。 |
HelloworldmultitargetPreparer | IMultiTargetPreparer 的示例实现。 |
历史记录 | TF历史记录器,仅包含一些特定事件的特殊日志。 |
hostgtest | 运行本机测试包的测试。 |
宿主制度 | 该类代表要报告的主机公制样本。 |
宿主 | 主机选项支架类。 |
hoststatsdmetricCollector | IMetricCollector 使用StatsD实用程序命令从主机端收集StatsD指标。 |
hosttest | 基于JUNIT主机测试的测试跑步者。 |
招待会 | 实现一些有用的实用程序方法来运行主机测试。 |
HprofAllocSiteParser | 用于解析 hprof 报告的分配站点部分信息的帮助程序类。 |
httphelper | 包含用于制作HTTP请求的辅助方法 |
httphelper.requestrunnable | 可以使用IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) 提出要求。 |
httpmultipartpost | 用于制作多部分HTTP POST请求的助手类。 |
httpremotefilesolver | IRemoteFileResolver 的实现,允许通过http下载远程文件 |
httpsRemoteFileReSolver | IRemoteFileResolver 的实现,允许通过HTTPS下载远程文件 |
我
J
jarhosttest | 测试跑步者用于主机侧JUNIT测试。 |
jarhosttest.hosttestlistener | 包装器侦听器将除了TestRunStarted()和TestRuneding()()()向嵌入式侦听器转发所有事件。 |
Javacodecoveragecollector | 一种基于BaseDeviceMetricCollector ,将从设备上删除Java覆盖范围,并将其记录为测试工件。 |
Java代码覆盖Flusher | 一个实用程序类,用于重置并强制刷新设备上运行的进程的 Java 代码覆盖率测量值。 |
JSONFILEKEYSTORECLIENT | 本地JSON文件代表密钥存储的示例实现。 |
JSONFILEKEYSTOREFACTORY | JSON密钥库工厂的实现,该工厂提供了用于访问JSON密钥存储文件的JSONFileKeyStoreClient 。 |
jsonhttptptestesultreporter | 编码测试指标结果和分支的结果记者,设备信息,然后发布到HTTP服务端点中 |
Junit4Resultforwarder | Runit4 Runner的结果前锋。 |
JUnit4测试过滤器 | 通过扩展Filter 为 JUnit4 运行程序提供过滤的 Helper 类。 |
Junitrunutil | 用于指导IRemoteTest#run(TestInformation, ITestInvocationListener) 助手类呼叫到Test#run(TestResult) 调用。 |
JunittoInvocationResultForwarder | 倾听TestListener 事件并将其转发到ITestInvocationListener 的课程。 |
JUnitXml解析器 | 解析器从存储在 ant 的 XMLJUnitResultFormatter 中的 JUnit 结果中提取测试结果数据,并将其转发到 ITestInitationListener。 |
K
kerneltargetTest | 测试跑步者可在目标和解析内核测试的训练中运行。 |
kerneltestmodulecontoller | 模块控制器的基类在不匹配体系结构时不运行测试。 |
键盘锁控制器状态 | 键盘保护装置的容器。 |
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+)保持兼容。 |
列表分析器 | 一个IShellOutputReceiver ,用于解析“pm list Instrumentation”查询的输出 |
ListInstrumentationParser.InstrumentationTarget | |
localandroidvirtualdevice | 在交易的主机上运行的本地虚拟设备的类。 |
LocalAppBuildProvider | 一个基于提供的本地路径的IBuildInfo 的IBuildProvider |
本地开发人员 | 检测并返回这是否是经营交易的本地开发人员。 |
LocalDeviceBuildProvider | 一个基于提供的文件系统目录路径构建IDeviceBuildInfo 的IBuildProvider 。 |
LocalemulatorLaunch | TargetPreparer从Android构建环境中本地启动模拟器。 |
localemulatorsNapshot | 旨在从Android构建/开发环境中生成清洁的仿真器快照的目标编制者 |
LocalFileHeader | LocalFileHeader是包含ZIP文件中文件/文件夹信息的类。 |
LocalFileSolver | 允许链接本地文件的IRemoteFileResolver 的实现 |
LocalFolderBuildProvider | 一个基于提供的本地路径的IBuildProvider ,构建IFolderBuildInfo |
Localhostresourcemanager | 管理器主机资源。 |
Localpool | 实施一系列本地测试 |
本地运行指令生成器 | 用于编译指令以在本地运行测试的实用程序。 |
LocksettingsBaselineSetter | 拆卸屏幕锁定设置的设置器。 |
logcatcrashrashresultforwarder | 特殊侦听器:在故障(仪器过程崩溃)上,它将尝试从撞车事故中提取崩溃,并将其添加到与测试关联的失败消息中。 |
Logcat事件解析器 | |
Logcat事件类型 | 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)中,并记录控制台中的文件位置。 |
中号
氮
氧
OpenObjectloader | AOSP中可用的默认对象的加载程序。 |
选项 | 注释一个字段代表IConfiguration 选项。 |
选项 | |
选项类 | 注释一个代表IConfiguration 对象的类。 |
选项器 | 可以将带有相同名称的Option 字段值从一个对象复制到另一个对象的助手类。 |
OptionDef | 保留Option 的详细信息。 |
OptionFetcher | 助手从父进程获取测试选项。 |
OptionNotloweredException | 当不允许在命令行中传递选项时,特定的ConfigurationException 。 |
OptionsEtter | 填充Option 字段。 |
optionsetter.optionfieldsforname | 具有给定名称的选项字段列表的容器。 |
选项updaterule | 当多次指定选项时,控制行为。 |
Otadevicebuildinfo | 用于空中更新测试的IDeviceBuildInfo 。 |
Otatoolsbuildinfo | 一个包含otatools文物的IBuildInfo 。 |
OtazipfileBuildProvider | 基于本地OTA ZIP文件提供了IBuildInfo 。 |
氧化量 | 管理使用氧气客户二进制租赁或释放氧气设备的类。 |
oxygenclient.lhptunnelmode | |
氧气 | 与氧服务互动的实用程序。 |
磷
Packageinfo | 从设备解析的应用程序软件包信息的容器。 |
PackageinstalledModulecontoller | 当设备未安装给定的软件包时,模块控制器无法运行测试。 |
配对<A,B> | 定义我们自己的 Pair 类,其中包含两个对象。 |
配对MultitargetPreparer | 多目标准备器有助于在两个设备之间进行蓝牙配对(和连接)。 |
paralleldeviceexecutor <v> | ERROR(/ExecutorService) 并行执行函数。 |
父母和BoxInvocation Execution | 运行沙箱时,对父调用特殊操作的InvocationExecution 的版本。 |
父母的智力 | 将一个设备的设置复制到所有其他设备,这些设备将成为碎片的一部分。 |
partialzipdownloadcache | 实用程序基于其内容来缓存部分下载文件。 |
通过TastestFilereporter | ITestInvocationListener 将通过测试用例列表保存到测试文件 |
perfettogenericpostProcessor | 通过递归扩展具有字符串值的原始消息和字段,直到遇到具有数值值的字段,将文本/二进制公制proto proto文件处理为键值对的后处理器。 |
perfettogenericpostProcessor.AltertantiveParseFormat | |
perfettogenericpostProcessor.metric_file_format | |
Perfettopreparer | perfetto准备器将配置文件推入设备的标准位置,perfetto可以使用。 |
perfettopullermetriccollector | FilePullerDeviceMetricCollector 的基本实现,该collcolcolcolcolder允许从设备中提取Perfetto文件并从中收集指标。 |
perfettopullermetriccollector.metric_file_format | |
完美跟踪记录器 | 用于在ITestDevice 上记录 perfetto 跟踪的实用程序类。 |
漂亮的打印分隔符 | 帮助实用程序帮助打印突出的分隔消息。 |
PrettyTestEventLogger | Logger matching the events and logging them in order to make it easier to debug. |
进程信息 | 用于存储与进程相关的(用户、PID、名称、自纪元以来的第二个开始时间)信息。 |
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 . |
属性变换器 | 用于更改(或添加)Android 属性文件中的项目的实用程序类 |
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. |
原型工具 | 用于处理与类型无关的 protobuf 消息的实用方法。 |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
解析器 | 用于从“ps”命令输出中解析(USER、PID 和 NAME)的实用程序 |
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. |
Python虚拟环境助手 | 用于激活 Python 3 虚拟环境的辅助类。 |
PythonVirtualenvPreparer | Sets up a Python virtualenv on the host and installs packages. |
问
QuoteAwareTokenizer |
右
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. |
正则表达式Trie <V> | RegexTrie 是一个 trie,其中每个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. |
远程压缩 | 用于解压缩远程 zip 文件中的单个文件的实用程序。 |
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. |
资源工具 | 用于读取配置资源的实用程序。 |
RestApi助手 | 用于执行 REST API 调用的帮助程序类。 |
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. |
运行中断异常 | 当运行操作被外部请求中断时抛出。 |
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. |
运行工具 | 用于执行操作的辅助方法的集合。 |
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. |
序列化工具 | 用于序列化/反序列化实现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 | OutputStream 的实用程序子类,用于写入 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:
|
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. |
简单性能结果 | 对象保存所有 simpleperf 测试结果 |
SimplePerfStatResultParser | 用于解析 simpleperf 结果的实用程序类。 |
简单性能工具 | 用于调度简单命令并收集结果的实用程序类 |
SimplePerfUtil.SimplePerfType | simpleperf 命令选项的枚举 |
简单统计 | 一个小型实用程序类,用于根据给定的数值数据集计算一些统计度量。 |
大小受限的输出流 | 线程安全文件支持ERROR(/OutputStream) ,限制可写入的最大数据量。 |
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 | |
Sl4a蓝牙实用程序 | 实用程序类使用 SL4A 在一个或两个设备上提供蓝牙操作 |
Sl4aBluetoothUtil.BluetoothAccessLevel | 基于BluetoothDevice.java 的蓝牙设备访问级别的枚举 |
Sl4aBluetoothUtil.BluetoothConnectionState | 基于BluetoothProfile.java 的蓝牙连接状态枚举 |
Sl4aBluetoothUtil.BluetoothPriorityLevel | 基于BluetoothProfile.java 的蓝牙配置文件优先级枚举 |
Sl4aBluetoothUtil.BluetoothProfile | 基于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. |
SnapuserdWaitPhase | Enum representation of when to join/block for the snapuserd update to finish. |
稀疏图像工具 | 用于解稀疏稀疏图像的实用程序。 |
SparseImageUtil.SparseInputStream | SparseInputStream 从上游读取并检测数据格式。 |
StatsdBeforeAfterGaugeMetricPostProcessor | A post processor that processes gauge metrics collected in a "before/after" approach, ie |
StatsdEventMetricPostProcessor | A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor. |
StatsdGenericPostProcessor | A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StopServicesSetup | A ITargetPreparer that stops services on the device. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
流工具 | 用于管理输入流的实用程序类。 |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
字符串转义工具 | 用于转义特定格式字符串的实用程序类。 |
字符串工具 | 用于转义字符串以进行常见字符串操作的实用程序类。 |
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.BaseTestEventInfo | TestIgnored 信息的基本助手。 |
SubprocessEventHelper.FailedTestEventInfo | 测试失败信息的帮助程序。 |
SubprocessEventHelper.InitationEndedEventInfo | 调用结束信息的帮助程序。 |
SubprocessEventHelper.InitationFailedEventInfo | 调用失败信息的帮助程序。 |
SubprocessEventHelper.InitationStartedEventInfo | 调用启动信息的帮助程序。 |
SubprocessEventHelper.LogAssociationEventInfo | log关联信息的助手。 |
SubprocessEventHelper.SkippedTestEventInfo | |
SubprocessEventHelper.TestEndedEventInfo | testEnded 信息的帮助程序。 |
SubprocessEventHelper.TestLogEventInfo | testLog 信息的帮助程序。 |
SubprocessEventHelper.TestModuleStartedEventInfo | 测试模块启动信息的帮助程序。 |
SubprocessEventHelper.TestRunEndedEventInfo | testRunEnded 信息的帮助程序。 |
SubprocessEventHelper.TestRunFailedEventInfo | testRunFailed 信息的帮助程序 |
SubprocessEventHelper.TestRunStartedEventInfo | testRunStarted 信息的帮助程序 |
SubprocessEventHelper.TestStartedEventInfo | testStarted 信息的帮助程序 |
子进程异常解析器 | 用于处理标准 Tradefed 命令运行程序的异常输出的帮助程序。 |
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. |
子流程测试结果解析器 | 扩展ERROR(/FileOutputStream) 以在写入文件之前解析输出,以便我们可以在启动器端生成测试事件。 |
SubprocessTestResultsParser.StatusKeys | 相关测试状态键。 |
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.EnvVariable |
时间
表格生成器 | 用于在表中显示字符串元素矩阵的帮助程序类。 |
表格格式化程序 | 用于显示 String 元素矩阵的帮助程序类,以便每个元素列都对齐 |
目标文件实用程序 | |
TargetFileUtils.FilePermission | |
TargetSetupError | A fatal error occurred while preparing the target for testing. |
塔尔工具 | 操作 tar 文件的实用程序。 |
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. |
测试过滤助手 | 用于过滤测试的辅助类 |
TestGroupStatus | A class to store status of a test group. |
TestInfo | Stores the test information set in a TEST_MAPPING file. |
TestInformation | Holder object that contains all the information and dependencies a test runner or test might need to execute properly. |
TestInformation.Builder | Builder to create a TestInformation instance. |
TestInvocation | Default implementation of ITestInvocation . |
TestInvocation.RunMode | The different mode an invocation can run into. |
TestInvocation.Stage | |
TestInvocationManagementServer | GRPC server helping to management test invocation and their lifecycle. |
TestInvocationManagementServer.InvocationInformation | |
TestMapping | A class for loading a TEST_MAPPING file. |
TestMappingSuiteRunner | Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. |
TestOption | Stores the test option details set in a TEST_MAPPING file. |
TestOutputUploader | Uploads test output files to local file system, GCS, or an HTTP(S) endpoint. |
测试记录解释器 | 用于将TestRecord 原型转换为 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. |
测试运行工具 | 帮助各种测试运行者的实用程序类。 |
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 |
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 |
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. |
时间工具 | 包含与时间相关的实用方法。 |
时间值 | 这是包装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> | 确保每个键值唯一的MultiMap 。 |
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. |
版本解析器 | 获取正在运行的 tradefed 工件的版本。 |
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 |
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
Zip压缩策略 | 用于创建 zip 存档的ICompressionStrategy 。 |
压缩工具 | 用于压缩相关操作的辅助类 |
ZipUtil2 | 用于 zip 提取的帮助程序类,考虑 POSIX 文件权限 |
类别索引
These are the API classes. See all API packages .
A
解析器 | 通过解析“aapt dump badging”的输出从 apk 中提取信息的类。 |
AaptParser.Aapt版本 | 用于解析 APK 文件的 AAPT 版本选项枚举。 |
阿比 | A class representing an ABI. |
Abi格式化程序 | abi 的实用程序类。 |
能力工具 | 用于处理设备 ABI 的实用程序类 |
AbstractConnection | Abstract connection representation. |
AbstractHostMonitor | Typical class for Host Health Monitoring. |
AbstractTunnelMonitor | Abstract tunnel monitor for GCE AVD. |
AbstractXmlParser | Helper base class for parsing xml files |
AbstractXmlParser.ParseException | Thrown if XML input could not be parsed |
AcloudConfigParser | Helper class that parse an Acloud config (used to start a Cloud device instance). |
AcloudConfigParser.AcloudKeys | Sets of key that can be searched from the configuration. |
ActionInProgress | The general action in progress. |
ActiveTrace | Main class helping to describe and manage an active trace. |
ActivityStatusChecker | Status checker for left over activities running at the end of a module. |
AdbRootElevator | 一个AutoCloseable ,可在需要时启用 adb root,并在完成时恢复 root 状态。 |
AdbSshConnection | Adb connection over an ssh bridge. |
AdbStopServerPreparer | Target preparer to stop adb server on the host before and after running adb tests. |
AdbTcpConnection | Default connection representation of a device, assumed to be a standard adb connection of the device. |
辅助工具 | 用于 adb 操作的实用程序类。 |
AfterClassWithInfo | Similar guarantees as AfterClass but method annotated must require a TestInformation parameter. |
AggregatePostProcessor | A metric aggregator that gives the min, max, mean, variance, standard deviation, total, count and optionally percentiles for numeric metrics collected during multiple-iteration test runs, treating them as doubles. |
AllTestAppsInstallSetup | A ITargetPreparer that installs all apps from a IDeviceBuildInfo#getTestsDir() folder onto device. |
AltDirBehavior | An enum to define alternative directory behaviors for various test artifact installers/pushers |
AndroidJUnitTest | A Test that runs an instrumentation test package on given device using the android.support.test.runner.AndroidJUnitRunner. |
AndroidTestOrchestratorRemoteTestRunner | Runs an instrumented Android test using the adb command and AndroidTestOrchestrator. |
AoaTargetPreparer | ITargetPreparer that executes a series of actions (eg clicks and swipes) using the Android Open Accessory (AOAv2) protocol. |
AppBuildInfo | A IBuildInfo that represents an Android application and its test package(s). |
AppDeviceBuildInfo | This class is deprecated. Use IDeviceBuildInfo directly. |
AppSetup | A ITargetPreparer that installs an apk and its tests. |
应用程序版本获取器 | 用于从设备获取应用程序版本字符串的实用程序类。 |
AppVersionFetcher.AppVersionInfo | 应用程序版本信息类型。 |
ArchModuleController | Module controller to not run tests when it doesn't match any given architectures. |
ArgsOptionParser | Populates Option fields from parsed command line arguments. |
数组工具 | 数组的实用方法 |
ArtChrootPreparer | Create chroot directory for ART tests. |
ArtGTest | |
ArtifactDetails | This describes the structure of the content and its descriptor as generated by the CAS tool |
ArtifactDetails.ArtifactFileDescriptor | |
ArtifactsAnalyzer | A utility that helps analyze the build artifacts for insight. |
ArtRunTest | A test runner to run ART run-tests. |
ArtRunTest.AdbShellCommandException | An exception class to report an error that occurred during the execution of an ADB shell command. |
ATestFileSystemLogSaver | This LogSaver class is used by ATest to save logs in a specific path. |
AtestRunner | Implementation of ITestSuite |
AtraceCollector | A IMetricCollector that runs atrace during a test and collects the result and log them to the invocation. |
AtraceRunMetricCollector | Collects the traces from all the test directory under the given directory from the test device, log the test directory and post process the trace files under the test directory and aggregate the metrics. |
AutoLogCollector | Enumeration describing which collector can automatically be handled by the harness. |
AutomatedReporters | Class that defines the mapping from Tradefed automated reporters. |
AveragePostProcessor | Implementation of post processor that calculate the average of the list of metrics. |
乙
BackgroundDeviceAction | Runs a command on a given device repeating as necessary until the action is canceled. |
BaseDeviceMetricCollector | Base implementation of IMetricCollector that allows to start and stop collection on onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData) and ERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map)) . |
BaseEmulatorPreparer | Common preparer for launching a local emulator. |
BaseHostJUnit4Test | Base test class for running host JUnit4 style tests. |
BaseLeveledLogOutput | A base implementation for ILeveledLogOutput that allows to filtering some tags based on their name or components. |
BaseModuleController | Basic implementation of IModuleController that should be implemented for checking if a module should run or not. |
BaseMultiTargetPreparer | Base implementation of IMultiTargetPreparer that allows to disable the object. |
BasePostProcessor | The base IPostProcessor that every implementation should extend. |
BaseRetryDecision | Base implementation of IRetryDecision . |
BaseStreamLogger <OS extends OutputStream> | A ILeveledLogOutput that directs log messages to an output stream and to stdout. |
BaseTargetPreparer | Base implementation class for ITargetPreparer that allows to control whether the object is disabled or not. |
BaseTestSuite | A Test for running Compatibility Test Suite with new suite system. |
BatteryController | Utility class that allows to control the battery charging state of a device. |
BatteryRechargeDeviceRecovery | Allow to trigger a command when the battery level of the device goes under a given threshold. |
BatteryTemperature | |
BatteryUnavailableDeviceRecovery | Recovery checker that will trigger a configuration if the battery level is not available. |
BeforeClassWithInfo | Similar guarantees as BeforeClass but method annotated must require a TestInformation parameter. |
二元状态 | 用于记录 ON/OFF 状态和 IGNORE 无操作状态的枚举。 |
BluetoothConnectionLatencyCollector | The collector will push a pre-defined statsd duration metric config to devices and collect Bluetooth connection duration for each profile. |
BluetoothConnectionStateCollector | This collector will collect BluetoothConnectionStateChanged metrics and record connection state number for each profile. |
BluetoothConnectionSuccessRatePostProcessor | Implementation of postprocessor which calculates success rate for a bluetooth profile Use "metric-key-match" to specify metrics which contain bluetooth connection states in numeric array Example [0, 1, 2, 3, 0, 1, 2, 3]. |
BluetoothHciSnoopLogCollector | Collector to enable Bluetooth HCI snoop logging on the DUT and to collect the log for each test. |
蓝牙实用程序 | 用于在设备上调用BluetoothInstrumentation的实用函数 设备端BluetoothInstrumentation代码可以在AOSP中找到: |
BootstrapBuildProvider | A IDeviceBuildProvider that bootstraps build info from the test deviceThis is typically used for devices with an externally supplied build, ie |
BootstrapServiceFileResolverLoader | Loads resolvers using the service loading facility. |
错误报告 | 保存错误报告文件引用的对象,与平面错误报告和压缩错误报告(bugreportz)兼容。 |
BugreportCollector | A pass-through ITestInvocationListener that collects bugreports when configurable events occur and then calls ITestInvocationListener#testLog on its children after each bugreport is collected. |
BugreportCollector.Filter | |
BugreportCollector.Freq | |
BugreportCollector.Noun | |
BugreportCollector.Predicate | A full predicate describing when to capture a bugreport. |
BugreportCollector.Relation | |
BugreportCollector.SubPredicate | |
BugreportzOnFailureCollector | Collect a bugreportz when a test case fails. |
BugreportzOnTestCaseFailureCollector | Collect a bugreportz when a test case in a run fails. |
BuildAnalysis | Represents the results of a single build analysis. |
BuildError | Thrown if the provided build fails to run. |
构建信息 | Generic implementation of a IBuildInfo that should be associated with a ITestDevice . |
BuildInfoKey | Class holding enumeration related to build information queries. |
BuildInfoKey.BuildInfoFileKey | Enum describing all the known file types that can be queried through IBuildInfo.getFile(com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey) . |
BuildInfoRecorder | An ITargetPreparer that writes build info meta data into a specified file. |
构建信息工具 | 帮助操作IBuildInfo util 类 |
BuildRetrievalError | A fatal error occurred while retrieving the build for testing. |
BuildSerializedVersion | Class that contains the current serialization version of all IBuildInfo . |
构建测试ZipUtils | Android 构建系统生成的测试 zip 相关操作的辅助类 |
群发邮件程序 | 电子邮件发送实用程序,允许进行以下配置:发送间隔、初始突发大小、收件人和邮件总数。 |
捆绑工具工具 | 使用bundletool命令行在设备上安装.apks的实用程序类。 |
ByteArrayInputStreamSource | |
字节数组列表 | 表示轻量级字节数组的类。 |
字节数组实用程序 | 对字节数组进行操作的实用程序,例如将字节转换为整数。 |
C
CarModuleController | This controller prevents execution of tests cases on non-automotive devices. |
CarryDnaeError | Internal RuntimeException to carry DeviceNotAvailableException through the JUnit4 framework. |
CarryInterruptedException | Thrown when test phase timeout is triggered and an InterruptedException needs to be carried from test execution thread to invocation execution thread. |
CdmaDeviceFlasher | A class that flashes an image on a physical Android device with a CDMA radio. |
CecControllerTokenProvider | Token provider for Consumer Electronics Control (CEC) related tokens. |
CentralDirectoryInfo | CentralDirectoryInfo is a class containing the information of a file/folder inside a zip file. |
CheckPairingPreparer | A CompanionAwarePreparer that verifies BT bonding between primary and companion devices |
循环AtraceUtil | 开发的 atrace 实用程序主要用于识别 Monkey 测试期间 ANR 的根本原因。 |
循环字节数组 | 用于保存固定大小数组的数据结构,该数组作为循环缓冲区运行,并跟踪数组中所有值的总和。 |
ClangCodeCoverageCollector | A BaseDeviceMetricCollector that will pull Clang coverage measurements off of the device and log them as test artifacts. |
Clang配置文件索引器 | 一个实用程序类,用于索引 Clang 代码覆盖率测量。 |
ClassNotFoundConfigurationException | ConfigurationException for when the class of an object is not found. |
类路径扫描器 | 查找类路径上的条目。 |
ClassPathScanner.ClassNameFilter | 过滤和转换 java 类名的IClassPathFilter 。 |
ClassPathScanner.ExternalClassNameFilter | 拒绝内部类的ClassNameFilter |
ClassPathScanner.IClassPathFilter | 类路径入口路径的过滤器在FileFilter 之后进行图案化 |
ClockworkUtils | A clockwork utility for sharing multi-device logic |
CloseableTraceScope | A scoped class that allows to report tracing section via try-with-resources |
ClusterBuildInfo | A IBuildInfo class for builds piped from TFC. |
ClusterBuildProvider | A IBuildProvider to download TFC test resources. |
ClusterClient | A IClusterClient implementation for interacting with the TFC backend. |
ClusterCommand | A class that represents a task fetched from TF Cluster. |
ClusterCommand.RequestType | |
ClusterCommand.State | Command's status in the TF cluster. |
ClusterCommandConfigBuilder | A class to build a configuration file for a cluster command. |
ClusterCommandEvent | A class to encapsulate cluster command events to be uploaded. |
ClusterCommandEvent.Builder | |
ClusterCommandEvent.Type | |
ClusterCommandLauncher | A IRemoteTest class to launch a command from TFC via a subprocess TF. |
ClusterCommandScheduler | A ICommandScheduler to support TFC (Tradefed Cluster). |
ClusterCommandStatus | A class that represents the state and the cancel reason for a command from TF Cluster. |
ClusterDeviceInfo | A class to encapsulate cluster device info to be uploaded. |
ClusterDeviceInfo.Builder | |
ClusterDeviceMonitor | An IDeviceMonitor implementation that reports results to the Tradefed Cluster service. |
ClusterEventUploader <T extends IClusterEvent > | ClusterEventUploader class, which uploads IClusterEvent to TFC. |
ClusterHostEvent | A class to encapsulate cluster host events to be uploaded. |
ClusterHostEvent.Builder | |
ClusterHostEvent.HostEventType | Enums of the different types of host events. |
ClusterHostUtil | Static util functions for TF Cluster to get global config instances, host information, etc. |
ClusterLogSaver | A ILogSaver class to upload test outputs to TFC. |
ClusterLogSaver.FilePickingStrategy | File picking strategies. |
ClusterOptions | |
CodeCoverageTest | A Test that runs an instrumentation test package on a given device and generates the code coverage report. |
CollectingByteOutputReceiver | A IShellOutputReceiver which collects the whole shell output into a byte[] . |
CollectingOutputReceiver | A IShellOutputReceiver which collects the whole shell output into one String . |
CollectingTestListener | A ITestInvocationListener that will collect all test results. |
CollectorHelper | Helper to do some IMetricCollector operations needed in several places. |
CommandFileParser | Parser for file that contains set of command lines. |
CommandFileParser.CommandLine | |
CommandInterrupter | Service allowing TradeFederation commands to be interrupted or marked as uninterruptible. |
CommandLineBuildInfoBuilder | Utility meant to capture the usual build information arguments from a command line and create a IBuildInfo from them. |
CommandOptions | Implementation of ICommandOptions . |
CommandOptionsGetter | Service implementation that returns the command options value of a given invocation. |
命令结果 | 包含命令的结果。 |
CommandRunner | An alternate TradeFederation entry point that will run command specified in command line arguments and then quit. |
CommandRunner.ExitCode | Error codes that are possible to exit with. |
CommandScheduler | A scheduler for running TradeFederation commands across all available devices. |
CommandScheduler.HostState | Enums of different status of host |
命令状态 | 表示定时操作的状态。 |
CommandStatusHandler | Handler helping to monitor and update the status of an invocation. |
CommandSuccessModuleController | Base class for a module controller to skip test module based on shell command failure. |
CommonLogRemoteFileUtil | This utility allows to avoid code duplication across the different remote device representation for the remote log fetching logic of common files. |
CommonLogRemoteFileUtil.KnownLogFileEntry | A representation of a known log entry for remote devices. |
CompanionAllocator | Base class that takes care of allocating and freeing companion device |
CompanionAwarePreparer | An ITargetPreparer that encapsulates the logic of getting an already allocated companion device. |
CompanionAwareTest | Base test class that encapsulates boilerpate of getting and checking companion device Subclass may call |
CompanionDeviceTracker | A class for allocating and freeing companion devices |
CompanionRunCommandTargetPreparer | A ITargetPreparer that runs specified commands on the allocated companion device |
CompanionTestAppInstallSetup | A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo#getTestsDir() folder onto an allocated companion device. |
CompileBootImageWithSpeedTargetPreparer | Recompiles the boot classpath and system server with the compiler filter 'speed'. |
ConditionFailureMonitor | Monitor for any failures from the invocation. |
ConditionPriorityBlockingQueue <T> | 具有类似ERROR(/PriorityBlockingQueue) 操作的线程安全类,可以检索与特定条件匹配的对象。 |
ConditionPriorityBlockingQueue.AlwaysMatch <T> | 与任何对象匹配的ConditionPriorityBlockingQueue.IMatcher 。 |
ConditionPriorityBlockingQueue.IMatcher <T> | 用于确定元素是否符合某种条件的接口。 |
ConfigCompleter | Implementation of the Completer for our TF configurations. |
ConfigurableGrpcDynamicShardingClient | |
配置 | A concrete IConfiguration implementation that stores the loaded config objects in a map. |
ConfigurationDef | Holds a record of a configuration, its associated objects and their options. |
ConfigurationDef.ConfigObjectDef | Object to hold info for a className and the appearance number it has (eg if a config has the same object twice, the first one will have the first appearance number). |
ConfigurationDescriptor | Configuration Object that describes some aspect of the configuration itself. |
ConfigurationDescriptor.LocalTestRunner | Enum used to indicate local test runner. |
ConfigurationException | Thrown if configuration could not be loaded. |
ConfigurationFactory | Factory for creating IConfiguration . |
ConfigurationFactory.ConfigLoader | Implementation of IConfigDefLoader that tracks the included configurations from one root config, and throws an exception on circular includes. |
ConfigurationFactory.ExceptionLoader | |
ConfigurationUtil | Utility functions to handle configuration files. |
ConfigurationXmlParserSettings | A simple class to accept settings for the ConfigurationXmlParser To pass settings to this class, the alias is mandatory. |
ConfigurationYamlParser | Parser for YAML style Tradefed configurations |
ConfigUtil | Utility class for creating, interacting with, and pushing statsd configuration files. |
ConfigUtil.LogSource | |
安慰 | Main TradeFederation console providing user with the interface to interact Currently supports operations such as
|
Console.ArgRunnable <T> | A Runnable with a run method that can take an argument |
Console.CaptureList | A convenience type for List<List<String>> |
ConsoleReaderOutputStream | An OutputStream that can be used to make System.out.print() play nice with the user's LineReader unfinishedLine. |
ConsoleResultReporter | Result reporter to print the test results to the console. |
ContentAnalysisContext | Provide the context surrounding a content to analyze it properly. |
ContentAnalysisContext.AnalysisMethod | This describes what to expect from the content structure for proper analysis. |
ContentAnalysisResults | Summary of the content analysis. |
ContentInformation | Represents the content for a given build target of its base and current version. |
ContentProviderHandler | Handler that abstract the content provider interactions and allow to use the device side content provider for different operations. |
CountingTestResultListener | A TestResultListener that tracks the total number of tests by TestStatus |
CountTestCasesCollector | Count and report the number of test cases for a given IRemoteTest . |
CoverageMeasurementForwarder | A placeholder test that forwards coverage measurements from the build provider to the logger. |
覆盖范围选项 | Tradefed 反对持有承保期权。 |
CoverageOptions.Toolchain | |
CpuThrottlingWaiter | An ITargetPreparer that waits until max frequency on all cores are restored to highest level available |
CreateAvdPreparer | |
CreateUserPreparer | Target preparer for creating user and cleaning it up at the end. |
CurrentInvocation | A class that tracks and provides the current invocation information useful anywhere inside the invocation. |
CurrentInvocation.InvocationInfo | Some special named key that we will always populate for the invocation. |
CurrentInvocation.IsolationGrade | Describes the level of isolation |
D
DebugHostLogOnFailureCollector | Collector that will gather and log the host-side logs when a test case failure occurs. |
DefaultConnection | Default connection representation of a device, assumed to be a standard adb connection of the device. |
DefaultConnection.ConnectionBuilder | Builder used to described the connection. |
DefaultRemoteAndroidTestRunner | Extension of the ddmlib RemoteAndroidTestRunner to set some default for Tradefed use cases. |
DefaultTestsZipInstaller | A default implementation of tests zip installer. |
DelegatedInvocationExecution | InvocationExecution which delegate the execution to another Tradefed binary. |
DependenciesResolver | A new type of provider that allows to get all the dependencies for a test. |
DeviceActionTargetPreparer | A ITargetPreparer to perform device actions. |
设备操作实用程序 | 用于执行设备操作的实用程序类。 |
DeviceActionUtil.Command | 设备操作命令。 |
DeviceActionUtil.DeviceActionConfigError | 配置错误的异常。 |
DeviceAllocationResult | Represents the results of an allocation attempt for a command. |
DeviceAllocationState | Represents the allocation state of the device from the IDeviceManager perspective |
DeviceAvailableChecker | Checker to ensure a module doesn't leave the device in an offline state. |
DeviceBaselineChecker | Set device baseline settings before each module. |
DeviceBaselineSetter | Abstract class used to create a device baseline setting. |
DeviceBatteryLevelChecker | An IRemoteTest that checks for a minimum battery charge, and waits for the battery to reach a second charging threshold if the minimum charge isn't present. |
DeviceBatteryResourceMetricCollector | This collector collects device battery metrics. |
DeviceBuildDescriptor | A wrapper class for a IBuildInfo , that contains helper methods to retrieve device platform build information. |
DeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
DeviceBuildInfoBootStrapper | A ITargetPreparer that replaces build info fields with attributes read from deviceThis is useful for testing devices with builds generated from an external source (eg |
DeviceBuildInfoInjector | A ITargetPreparer that inserts DeviceBuildDescriptor metadata into the IBuildInfo . |
DeviceCleaner | Performs reboot or format as cleanup action after test, and optionally turns screen off |
DeviceCleaner.CleanupAction | |
DeviceCleaner.PostCleanupAction | |
设备并发实用程序 | 包含用于并发设备端命令执行的实用方法和类 使用 |
DeviceConcurrentUtil.ShellCommandCallable <V> | 一个ERROR(/Callable) ,包含在ITestDevice 上执行 shell 命令的详细信息。 |
DeviceConfigurationHolder | A concrete IDeviceConfiguration implementation that stores the loaded device configuration objects in its attributes. |
DeviceDescriptor | A class containing information describing a device under test. |
DeviceDisconnectedException | Thrown when a device is no longer reachable via it's transport type, eg if the device is no longer visible via USB, or TCP/IP connection |
DeviceErrorIdentifier | Error Identifiers from Device errors and device reported errors. |
DeviceFailedToBootError | Thrown if a device fails to boot after being flashed with a build. |
DeviceFeatureFlag | |
DeviceFeatureModuleController | A module controller to not run tests when it doesn't support certain feature. |
DeviceFileReporter | A utility class that checks the device for files and sends them to ITestInvocationListener#testLog(String, LogDataType, InputStreamSource) if found. |
DeviceFlashPreparer | A ITargetPreparer that flashes an image on physical Android hardware. |
DeviceFoldableState | Representation of device foldable state as returned by "cmd device_state print-states". |
DeviceFolderBuildInfo | A IDeviceBuildInfo that also contains other build artifacts contained in a directory on the local filesystem. |
DeviceImageTracker | For some of the incremental device update, we need the baseline files to compute diffs. |
DeviceImageTracker.FileCacheTracker | Track information of the device image cached and its metadata |
DeviceImageZipFlashingTargetPreparer | A target preparer that flashes the device with device images provided via a specific format. |
DeviceInternetAccessibilityResourceMetricCollector | The collector pings google.com to check if the device has internet accessibility or not. |
DeviceJUnit4ClassRunner | JUnit4 test runner that also accommodates IDeviceTest . |
DeviceJUnit4ClassRunner.LogAnnotation | Fake annotation meant to carry logs to the reporters. |
DeviceJUnit4ClassRunner.MetricAnnotation | Fake annotation meant to carry metrics to the reporters. |
DeviceJUnit4ClassRunner.TestLogData | Implementation of ExternalResource and TestRule . |
DeviceJUnit4ClassRunner.TestMetrics | Implementation of ExternalResource and TestRule . |
DeviceManagementGrpcServer | GRPC server allowing to reserve a device from Tradefed. |
装置经理 | |
DeviceManager.FastbootDevice | Representation of a device in Fastboot mode. |
DeviceMetricData | Object to hold all the data collected by metric collectors. |
DeviceMonitorMultiplexer | A proxy class to propagate requests to multiple IDeviceMonitor s. |
DeviceNotAvailableException | Thrown when a device is no longer available for testing. |
DeviceOwnerTargetPreparer | An ITargetPreparer that sets up a device owner component. |
DeviceParameterizedRunner | JUnit4 style parameterized runner for host-side driven parameterized tests. |
设备属性 | Common constant definitions for device side property names |
设备恢复模式实用程序 | |
DeviceReleaseReporter | Device release reporter that handles communicating with the parent process the device(s) to be released. |
DeviceResetFeature | Server side implementation of device reset. |
DeviceResetHandler | Utility handling generically device resetting. |
DeviceRuntimeException | Thrown when a device action did not results in the expected results. |
DeviceSelectionOptions | Container for for device selection criteria. |
DeviceSelectionOptions.DeviceRequestedType | The different possible types of placeholder devices supported. |
DeviceSettingChecker | Check if device settings have changed during a module run. |
DeviceSetup | A ITargetPreparer that configures a device for testing based on provided Option s. |
DeviceSnapshotFeature | Server side implementation of device snapshot. |
DeviceSnapshotHandler | Utility handling Cuttlefish snapshot. |
DeviceStateMonitor | Helper class for monitoring the state of a IDevice . |
DeviceStorageAgeResourceMetricCollector | Parse storage age from logcat. |
DeviceStorageFiller | Target preparer to fill up storage so some amount of free space is available. |
DeviceStorageStatusChecker | Check if device has enough disk space for the given partitions. |
DeviceStringPusher | Target preparer to write a string to a file. |
DeviceSuite | Extends the JUnit4 container Suite in order to provide a ITestDevice to the tests that requires it. |
DeviceSyncHelper | Helper that helps syncing a new device image to the device. |
DeviceTestCase | Helper JUnit test case that provides the IRemoteTest and IDeviceTest services. |
DeviceTestResult | An specialization of TestResult that will abort when a DeviceNotAvailableException occurs |
DeviceTestResult.RuntimeDeviceNotAvailableException | |
DeviceTestRunOptions | A builder class for options related to running device tests through BaseHostJUnit4Test. |
DeviceTestSuite | Helper JUnit test suite that provides the IRemoteTest and IDeviceTest services. |
DeviceTraceCollector | Collector that will start perfetto trace when a test run starts and log trace file at the end. |
DeviceUnavailableMonitor | This listener attempts to capture a test case level DNAE only. |
DeviceUnresponsiveException | A specialization of DeviceNotAvailableException that indicates device is visible to adb, but is unresponsive (ie, commands timing out, won't boot, etc) |
DeviceUpdateTargetPreparer | An abstract ITargetPreparer that takes care of common steps around updating devices with a device image file from an external source (as opposed to a build service). |
DeviceWifiResourceMetricCollector | The collector collects current connected wifi signal strength and link speed metrics. |
DeviceWiper | A ITargetPreparer that wipes userdata |
有向图<V> | 有向未加权图实现。 |
DisableSELinuxTargetPreparer | Target preparer that disables SELinux if enabled. |
DryRunKeyStore | A keystore for dry-run where any keystore value is always properly replaced and found. |
DryRunner | Transparently dry runs tests instead of actually executing them. |
DynamicFileStubTest | This is a tradefed test to test tradefed can resolve dynamic file correctly. |
DynamicRemoteFileResolver | Class that helps resolving path to remote files. |
DynamicRemoteFileResolver.FileResolverLoader | Loads implementations of IRemoteFileResolver . |
DynamicShardHelper | Sharding strategy to allow work remote work queueing between multiple TF instances |
DynamicShardingConnectionInfoMessage | Data-holding class in order to make sending via the feature server easier. |
DynamicSystemPreparer | An ITargetPreparer that sets up a system image on top of a device build with the Dynamic System Update. |
乙
EarlyDeviceReleaseFeature | Feature server implementation for early device release. |
电子邮件 | 发送电子邮件的辅助类。 |
EmailHostHealthAgent | A IHostHealthAgent implementation to send email from Host monitor reports |
EmmaXml常量 | 解析 emma xml 报告时使用的常量。 |
EmulatorMemoryCpuCapturer | |
EndCentralDirectoryInfo | EndCentralDirectoryInfo is a class containing the overall information of a zip file. |
EnforcedSeLinuxChecker | Status checker that ensures the status of Selinux. |
EraseUserDataPreparer | A ITargetPreparer that wipes user data on the device. |
ErrorIdentifier | This interface describes a specific error and its properties. |
ErrorStorageUtil | Helper class for manipulating the errors to align with the common storage. |
EventsLoggerListener | Listener that logs all the events it receives into a file |
ExceptionThrowingRunnerWrapper | |
ExecutableBaseTest | Base class for executable style of tests. |
ExecutableHostTest | Test runner for executable running on the host. |
ExecutableTargetTest | Test runner for executable running on the target. |
ExecutionFiles | Files dependencies generated during the execution of a test or invocation that need to be carried for testing. |
ExecutionFiles.FilesKey | Enumeration of known standard key for the map. |
ExecutionProperties | Properties generated during the execution of a test or invocation. |
ExistingBuildProvider | A IBuildProvider that returns an already constructed IBuildInfo . |
ExtendedFile | A extension of standard file to carry a build related metadata. |
扩展原子注册中心 | ExtensionAtomsRegistry 用于本地使用 statsd。 |
F
FailureDescription | The class describing a failure information in Trade Federation. |
FakeTest | A fake test whose purpose is to make it easy to generate repeatable test results. |
假测试压缩文件夹 | 一个测试装置,根据内容列表创建一个假的解压缩测试文件夹。 |
FakeTestsZipFolder.ItemType | |
FastbootCommandPreparer | Target preparer that triggers fastboot and sends fastboot commands. |
FastbootDeviceFlasher | A class that relies on fastboot to flash an image on physical Android hardware. |
FastbootHelper | A helper class for fastboot operations. |
FastbootUpdateBootstrapPreparer | An ITargetPreparer that stages specified files (bootloader, radio, device image zip) into IDeviceBuildInfo to get devices flashed with FastbootDeviceFlasher , then injects post-boot device attributes into the build info for result reporting purposes. |
FatalHostError | An exception that indicates a fatal unrecoverable error has occurred on the host machine running TradeFederation, and that the TradeFederation instance should be shut down. |
FeatureFlagTargetPreparer | Updates the DeviceConfig (feature flags tuned by a remote service). |
FileDownloadCache | A helper class that maintains a local filesystem LRU cache of downloaded files. |
FileDownloadCacheFactory | A factory for creating FileDownloadCache |
FileDownloadCacheWrapper | A wrapper class that provides FileDownloadCache facilities while implementing the IFileDownloader interface. |
文件空闲监视器 | 监视文件并在它们空闲时执行回调(即 |
FileInputStreamSource | A InputStreamSource that takes an input file. |
FileLogger | A ILeveledLogOutput that directs log messages to a file and to stdout. |
FileProtoResultReporter | Proto reporter that dumps the TestRecord into a file. |
FilePullerDeviceMetricCollector | A BaseDeviceMetricCollector that listen for metrics key coming from the device and pull them as a file from the device. |
FilePullerLogCollector | Logger of the file reported by the device-side. |
FileSystemLogSaver | Save logs to a file system. |
FilesystemRootChecker | |
文件工具 | 文件相关操作的辅助类 |
FileUtil.LowDiskSpaceException | 如果可用磁盘空间低于最小阈值,则抛出此异常。 |
FilteredResultForwarder | Variant of ResultForwarder that only allows an allowlist of TestDescription to be reported. |
固定字节数组输出流 | 仅保留最大数据量的内存中ERROR(/OutputStream) 。 |
FlashingMethod | An enum to describe the method used to flash device under test |
FlashingResourcesParser | A class that parses out required versions of auxiliary image files needed to flash a device. |
FlashingResourcesParser.AndroidInfo | A typedef for Map<String, MultiMap<String, String>> 。 |
FlashingResourcesParser.Constraint | A filtering interface, intended to allow FlashingResourcesParser to ignore some resources that it otherwise might use |
闪烁资源工具 | 此实用程序有助于设置工件的适当版本,以便可以通过DeviceFlashPreparer 刷新它们。 |
FoldableExpandingHandler | A IModuleParameterHandler expanding into more for each non-primary foldable configuration. |
FoldableHandler | Generic foldable handler that can take the foldable parameters to create a specialized module. |
FoldableModePreparer | A target preparer that can switch the foldable state of a device. |
FolderBuildInfo | Concrete implementation of a IFolderBuildInfo . |
FolderSaver | A ITargetPreparer that pulls directories off device, compresses and saves it into logging backend. |
FormattedGeneratorReporter | Reporter that allows to generate reports in a particular format. |
FreeDeviceState | |
保险丝工具 | FUSE 操作的辅助类。 |
G
GceAvdInfo | Structure to hold relevant data for a given GCE AVD instance. |
GceAvdInfo.GceStatus | |
GceAvdInfo.LogFileEntry | |
GceLHPTunnelMonitor | |
GceManager | Helper that manages the GCE calls to start/stop and collect logs from GCE. |
GceRemoteCmdFormatter | Utility class to format commands to reach a remote gce device. |
GceRemoteCmdFormatter.ScpMode | SCP can be used to push or pull file depending of the structure of the args. |
GceSshTunnelMonitor | Thread Monitor for the Gce ssh tunnel. |
GcovCodeCoverageCollector | A BaseDeviceMetricCollector that will pull gcov coverage measurements off of the device and log them as test artifacts. |
GcovKernelCodeCoverageCollector | A BaseDeviceMetricCollector that will pull gcov kernel coverage measurements out of debugfs and off of the device and then finally logs them as test artifacts. |
GCSBucketUtil | 文件管理器用于从 Google Cloud Storage (GCS) 下载和上传文件。 |
GCSBucketUtil.GCSFileMetadata | GCS 中文件信息的简单包装。 |
GCS通用 | 下载和上传等 Gcs 操作的基类。 |
GCSConfigurationFactory | A ConfigurationFactory loads configs from Google Cloud Storage. |
GCSConfigurationFactory.GCSConfigLoader | Extension of ConfigurationFactory.ConfigLoader that loads config from GCS, tracks the included configurations from one root config, and throws an exception on circular includes. |
GCSConfigurationServer | Config server loads configs from Google Cloud Storage (GCS). |
GCSDownloaderHelper | Downloader for GCS bucket that takes care of caching and resolving the global config. |
GCS文件下载器 | 文件下载器用于从谷歌云存储(GCS)下载文件。 |
GCS文件上传器 | 文件上传器将文件数据上传到谷歌云存储(GCS)。 |
GCSHostResourceManager | Download host resource from GCS (Google cloud storage). |
GcsRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading from a GCS bucket. |
GenericLogcatEventParser <LogcatEventType> | 解析事件的 logcat 输入。 |
GenericLogcatEventParser.LogcatEvent | 用于保存 logcat 事件的结构,具有事件类型并触发 logcat 消息 |
GetPreviousPassedHelper | Helper to get the previous passed test filters. |
GkiDeviceFlashPreparer | A target preparer that flash the device with android common kernel generic image. |
GlobalConfiguration | An IGlobalConfiguration implementation that stores the loaded config objects in a map |
GlobalFilterGetter | Service implementation that returns the filters of a given invocation. |
GlobalTestFilter | Filter options applied to the invocation. |
GoogleApi客户端工具 | 用于创建 Google API 客户端的实用程序。 |
GoogleBenchmarkResultParser | Parses the results of Google Benchmark that run from shell, and return a map with all the results. |
GoogleBenchmarkTest | A Test that runs a Google benchmark test package on given device. |
GranularRetriableTestWrapper | A wrapper class works on the IRemoteTest to granulate the IRemoteTest in testcase level. |
GranularRetriableTestWrapper.StartEndCollector | Class helper to catch missing run start and end. |
GsiDeviceFlashPreparer | A target preparer that flashes the device with android generic system image. |
GTest | A Test that runs a native test package on given device. |
GTestBase | The base class of gTest |
GTestListTestParser | A result parser for gtest dry run mode with "--gtest_list_tests" parameter. |
GTestResultParser | Parses the 'raw output mode' results of native tests using GTest that run from shell, and informs a ITestInvocationListener of the results. |
GTestXmlResultParser | Parses the 'xml output mode' results of native tests using GTest that run from shell, and informs a ITestRunListener of the results. |
H
HarnessException | Base exception class for exception thrown within the harness. |
HarnessIOException | Harness exception that helps carrying file issues. |
HarnessRuntimeException | |
HeapHostMonitor | AbstractHostMonitor implementation that monitors the heap memory on the host and log it periodically to the history log. |
HelloWorldMultiTargetPreparer | An example implementation of a IMultiTargetPreparer . |
HistoryLogger | TF History Logger, special log that contains only some specific events. |
HostGTest | A Test that runs a native test package. |
HostMetric | This class represents a host metric sample to be reported. |
HostOptions | Host options holder class. |
HostStatsdMetricCollector | A IMetricCollector that collects statsd metrics from host side using statsd utility commands. |
HostTest | A test runner for JUnit host based tests. |
HostUtils | Implements some useful utility methods for running host tests. |
HprofAllocSiteParser | 用于解析 hprof 报告的分配站点部分信息的帮助程序类。 |
HttpHelper | Contains helper methods for making http requests |
HttpHelper.RequestRunnable | Runnable for making requests with IRunUtil#runEscalatingTimedRetry(long, long, long, long, IRunnableResult) . |
HttpMultipartPost | Helper class for making multipart HTTP post requests. |
HttpRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading remote file via http |
HttpsRemoteFileResolver | Implementation of IRemoteFileResolver that allows downloading remote file via https |
我
IAbi | Interface representing the ABI under test. |
IAbiReceiver | A test that needs the ABI under test. |
IAndroidDebugBridge | Interface definition for AndroidDebugBridge methods used in this package. |
IAppBuildInfo | 该接口已被弃用。 Use IBuildInfo directly. |
IAutoRetriableTest | Interface for an IRemoteTest that doesn't implement ITestFilterReceiver but still wishes to support auto-retry. |
IBatteryInfo | The interface defining the interaction with a battery of a device. |
IBatteryInfo.BatteryState | Describes the current battery charging state. |
IBuildInfo | Holds information about the build under test. |
IBuildInfo.BuildInfoProperties | Some properties that a IBuildInfo can have to tweak some handling of it. |
IBuildProvider | Responsible for providing info regarding the build under test. |
IBuildReceiver | A test that needs reference to the build under test. |
IClusterClient | An interface for interacting with the TFC backend. |
IClusterEvent | Interface for any cluster event to be uploaded to TFC. |
IClusterEventUploader <T extends IClusterEvent > | Interface for ClusterEventUploader |
IClusterOptions | An interface for getting cluster-related options. |
ICommandOptions | Container for execution options for commands. |
ICommandScheduler | A scheduler for running TradeFederation commands. |
ICommandScheduler.IScheduledInvocationListener | Listener for invocation events when invocation completes. |
压缩策略 | 表示可以在运行时选择的压缩算法的接口。 |
IConfigOptionValueTransformer | An interface for manipulating config option value |
IConfigurableVirtualDevice | An interface to provide information about a possibly preconfigured virtual device info (host ip, host user, ports offset and etc.). |
IConfiguration | Configuration information for a TradeFederation invocation. |
IConfigurationFactory | Factory for creating IConfiguration s |
IConfigurationReceiver | Simple interface to represent object that accepts an IConfiguration . |
IConfigurationServer | An interface for config server. |
ICredentialFactory | An interface for credential factory to create oauth2 Credential . |
IDefaultObjectLoader | Interface for loading the default objects that should be part of our YAML configuration. |
IDefaultObjectLoader.LoaderConfiguration | The loading configuration object to pass information to the loader. |
IDeviceActionReceiver | Provides an API to receive device events. |
IDeviceBuildInfo | A IBuildInfo that represents a complete Android device build and (optionally) its tests. |
IDeviceBuildProvider | A IBuildProvider that uses information from a ITestDevice to retrieve a build. |
IDeviceConfiguration | Device Configuration Holder Interface. |
IDeviceFlasher | Flashes a device image on a device. |
IDeviceFlasher.UserDataFlashOption | Enum of options for handling the userdata image |
IDeviceManager | Interface for managing the set of available devices for testing. |
IDeviceManager.IFastbootListener | A listener for fastboot state changes. |
IDeviceMonitor | Interface for monitoring state of devices. |
IDeviceMonitor.DeviceLister | A Runnable -like class that should return the known devices and their states. |
IDeviceRecovery | Interface for recovering a device that has gone offline. |
IDeviceSelection | Interface for device selection criteria. |
IDeviceSelection.BaseDeviceType | |
IDeviceStateMonitor | Provides facilities for monitoring the state of a IDevice . |
IDeviceTest | Interface for object that needs a reference to a ITestDevice . |
禁用 | 描述可禁用的 Tradefed 对象的接口。 |
IDynamicShardingClient | Wrapper interface for the sharding client This exists so that we can swap in an HTTP one or testing one if needed. |
IDynamicShardingConnectionInfo | Interface for classes that contain dynamic sharding connection info |
电子邮箱 | 发送电子邮件的接口。 |
IEmail.消息 | 电子邮件数据的容器。 |
IFileDownloader | Interface for downloading a remote file. |
IFileEntry | Interface definition that provides simpler, mockable contract to FileEntry methods. |
IFileResolverLoader | Loads implementations of IRemoteFileResolver . |
IFileResolverLoader.ResolverLoadingException | Exception thrown if a resolver cannot be loaded or initialized. |
IFlashingResourcesParser | Interface for providing required versions of auxiliary image files needed to flash a device. |
IFlashingResourcesRetriever | Interface for retrieving auxiliary image files needed to flash a device. |
IFolderBuildInfo | A simple abstract IBuildInfo whose build artifacts are containing in a local filesystem directory. |
IFormatterGenerator | Interface describing a formatter for SuiteResultHolder . |
IGlobalConfiguration | A class to encompass global configuration information for a single Trade Federation instance (encompassing any number of invocations of actual configurations). |
IHarnessException | Description of the harness exception interface that will be implemented by harness exceptions. |
IHostCleaner | Cleans up the host after the test run has finished. |
IHostHealthAgent | An interface to emit host or device metrics. |
IHostMonitor | Interface to dispatch host data |
IHostMonitor.HostDataPoint | Generic class for data to be reported. |
IHostMonitor.HostMetricType | |
IHostOptions | Host options holder interface. |
IHostOptions.PermitLimitType | Enum describing the possible permit limiters |
IHostResourceManager | Interface to manager host resource. |
IHttpHelper | Helper methods for performing http requests. |
IHttpHelper.DataSizeException | |
IInvocationContext | Holds information about the Invocation for the tests to access if needed. |
IInvocationContext.TimingEvent | |
IInvocationContextReceiver | A test that needs reference to the context of the invocation. |
IInvocationExecution | Interface describing the actions that will be done as part of an invocation. |
IKeyStoreClient | Interface to access a key store for password or sensitive data. |
IKeyStoreFactory | Factory for creating IKeyStoreClient . |
ILabPreparer | Marker interface for lab preparers See |
ILeveledLogOutput | Classes which implement this interface provides methods that deal with outputting log messages. |
ILogcatReceiver | A class that provides the output of a device's logcat as an InputStreamSource . |
ILogRegistry | An interface for a ILogOutput singleton logger that multiplexes and manages different loggers. |
ILogRegistry.EventType | Events that are useful to be logged |
ILogSaver | Classes which implement this interface provide methods for storing logs to a central location. |
ILogSaverListener | Allows for ITestInvocationListener s to listen for when log files are saved. |
ImageContentAnalyzer | Analyzer for device image content analysis |
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. |
IMoblyYamlResultHandler | Interface of mobly yaml result handler. |
IMoblyYamlResultHandler.ITestResult | Interface of mobly yaml result |
IModuleController | Interface for controlling if a module should be executed or not. |
IModuleController.RunStrategy | Enum describing how the module should be executed. |
IModuleParameterHandler | The interface for parameters of suites modules. |
IMultiDeviceRecovery | Interface for recovering multiple offline devices. |
IMultiDeviceTest | 该接口已被弃用。 This interface is kept temporarily for compatibility but is not actually used anymore. Please do not implement it. |
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 . |
IncrementalImageUtil | A utility to leverage the incremental image and device update. |
InfraErrorIdentifier | Error Identifiers from Trade Federation infra, and dependent infra (like Build infra). |
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 . |
InvocationExecution | Class that describes all the invocation steps: build download, target_prep, run tests, clean up. |
InvocationLocal <T> | This class provides invocation-scope variables. |
InvocationMetricLogger | A utility class for an invocation to log some metrics. |
InvocationMetricLogger.InvocationGroupMetricKey | Grouping allows to log several groups under a same key. |
InvocationMetricLogger.InvocationMetricKey | Some special named key that we will always populate for the invocation. |
InvocationStatus | A class to store invocation status. |
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 . |
IPostProcessor | Post processors is a Trade Federation object meant to allow the processing of metrics and logs AFTER the tests and BEFORE result reporting. |
IRemoteFeature | Interface describing a feature in Tradefed that can be executed based on the request. |
IRemoteFileResolver | Interface for objects that can resolve a remote file into a local one. |
IRemoteFileResolver.RemoteFileResolverArgs | The args passed to the resolvers |
IRemoteFileResolver.ResolvedFile | Class holding information about the resolved file and some metadata. |
IRemoteScheduledListenersFeature | Extension of IRemoteFeature to support passing in IScheduledInvocationListener s. |
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. |
IResourceMetricCollector | The interface for user to implement customized resource collectors. |
IRestApi助手 | 用于执行 REST API 调用的帮助程序接口。 |
IResumableTest | 该接口已被弃用。 No need for this anymore |
IRetryDecision | Interface driving the retry decision and applying the filter on the class for more targeted retry. |
IRuntimeHintProvider | |
运行工具 | 用于运行定时操作和系统命令的接口。 |
IRunUtil.EnvPriority | 定义是否设置或取消设置特定环境的枚举。 |
IRunUtil.IRunnableResult | 用于异步执行返回布尔状态的操作的接口。 |
ISandbox | Interface defining a sandbox that can be used to run an invocation. |
ISandboxFactory | Factory for creating ISandbox . |
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. |
IsolatedHostTest | Implements a TradeFed runner that uses a subprocess to execute the tests in a low-dependency environment instead of executing them on the main process. |
ISupportGranularResults | Interface specifying whether a ITestInvocationListener supports receiving the granular results or not. |
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 | 该接口已被弃用。 tearDown has been moved to the base ITargetPreparer interface. |
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 | |
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. |
ITestInformationReceiver | Interface to receive the TestInformation for some classes. |
ITestInvocation | Handles one TradeFederation test invocation. |
ITestInvocation.ExitInformation | Represents some exit information for an 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. |
ITestsPool | Interface describing a pool of tests that we can access and run |
ITestSuite | Abstract class used to run Test Suite. |
ITestSuite.MultiDeviceModuleStrategy | |
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
JarHostTest | Test runner for host-side JUnit tests. |
JarHostTest.HostTestListener | Wrapper listener that forwards all events except testRunStarted() and testRunEnded() to the embedded listener. |
JavaCodeCoverageCollector | A BaseDeviceMetricCollector that will pull Java coverage measurements off of the device and log them as test artifacts. |
Java代码覆盖Flusher | 一个实用程序类,用于重置并强制刷新设备上运行的进程的 Java 代码覆盖率测量值。 |
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. |
JUnit4测试过滤器 | 通过扩展Filter 为 JUnit4 运行程序提供过滤的 Helper 类。 |
JUnitRunUtil | A helper class for directing a IRemoteTest#run(TestInformation, ITestInvocationListener) call to a Test#run(TestResult) call. |
JUnitToInvocationResultForwarder | A class that listens to TestListener events and forwards them to an ITestInvocationListener . |
JUnitXml解析器 | 解析器从存储在 ant 的 XMLJUnitResultFormatter 中的 JUnit 结果中提取测试结果数据,并将其转发到 ITestInitationListener。 |
K
KernelTargetTest | Test runner for executable running on the target and parsing tesult of kernel test. |
KernelTestModuleController | Base class for a module controller to not run tests when it doesn't match the architecture . |
键盘锁控制器状态 | 键盘保护装置的容器。 |
KeyguardStatusChecker | Checks the keyguard status after module execution. |
KeyStoreException | Thrown when a fatal key store error happens. |
KillExistingEmulatorPreparer | A ITargetPreparer that shuts down a running emulator. |
KnownFailurePreparer | Target preparer to skip retrying known failure. |
KTapResultParser | Reads KTAP output as that produced by a KUnit test module and placed in a `results` file under debugfs. |
KTapResultParser.ParseResolution | |
KUnitModuleTest | Test runner for running KUnit test modules on device. |
L
LabResourceDeviceMonitor | The lab resource monitor which initializes/manages the gRPC server for LabResourceService. |
LargeOutputReceiver | A class designed to help run long running commands collect output. |
LastShardDetector | When running local sharding, sometimes we only want to execute some actions when the last shard reaches invocationEnded(long) . |
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 frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (eg 8+), despite changes in its superclass. |
列表分析器 | 一个IShellOutputReceiver ,用于解析“pm list Instrumentation”查询的输出 |
ListInstrumentationParser.InstrumentationTarget | |
LocalAndroidVirtualDevice | The class for local virtual devices running on TradeFed host. |
LocalAppBuildProvider | A IBuildProvider that constructs a IBuildInfo based on a provided local path |
LocalDeveloper | Detects and returns whether this is a local developer running Tradefed. |
LocalDeviceBuildProvider | A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path. |
LocalEmulatorLaunch | A TargetPreparer that launches an emulator locally from an android build environment. |
LocalEmulatorSnapshot | A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment |
LocalFileHeader | LocalFileHeader is a class containing the information of a file/folder inside a zip file. |
LocalFileResolver | Implementation of IRemoteFileResolver that allows linking local files |
LocalFolderBuildProvider | A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path |
LocalHostResourceManager | Manager host resource. |
LocalPool | Implementation of a pool of local tests |
本地运行指令生成器 | 用于编译指令以在本地运行测试的实用程序。 |
LockSettingsBaselineSetter | A setter to remove screen lock settings. |
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. |
Logcat事件解析器 | |
Logcat事件类型 | LogcatEventParser 的事件类型。 |
LogcatOnFailureCollector | Collector that will capture and log a logcat when a test case fails. |
LogcatReceiver | Class that collects logcat in background. |
LogcatTimingMetricCollector | A metric collector that collects timing information (eg user switch time) from logcat during one or multiple repeated tests by using given regex patterns to parse start and end signals of an event from logcat lines. |
LogDataType | Represents the data type of log data. |
日志档案 | 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 |
LUCIResultReporter | A result reporter that saves test results needed by ResultDB and LUCI into JSON format (go/result-sink) and logs the file location in the console. |
中号
MainlineModuleHandler | A simple handler class for Mainline Modules that creates a InstallApexModuleTargetPreparer and injects the dynamic link into it based on the given mainline modules to automatically retrieve those modules. |
MainlineTestModuleController | Base class for a module controller to run tests based on the preloaded mainline modules on the device under test. |
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 |
MaxSdkModuleController | Base class for a module controller to not run tests on versions above a specified SDK version number. |
MergedZipEntryCollection | Merge individual zip entries in a large zip file into blocks to minimize the download attempts. |
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. |
MetricFilePostProcessor | Used for uploading the metrics log file collected during the test and run level. |
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. |
度量实用程序 | 包含用于存储测试指标、聚合类似测试中的指标以及将指标写入文件的常用实用方法。 |
MinApiLevelModuleController | Base class for a module controller to not run tests when it below a specified API Level. |
MinSdkModuleController | Base class for a module controller to not run tests on versions below a specified SDK version number. |
MixImageZipPreparer | An IMultiTargetPreparer that mixes a system build's images in a device build. |
MixKernelTargetPreparer | A ITargetPreparer that allows to mix a kernel image with the device image. |
MoblyBinaryHostTest | Host test meant to run a mobly python binary file from the Android Build system (Soong) |
MoblyYamlResultControllerInfoHandler | Mobly yaml result 'Controller Info' element handler. |
MoblyYamlResultControllerInfoHandler.ControllerInfo | |
MoblyYamlResultControllerInfoHandler.ControllerInfo.Builder | |
MoblyYamlResultHandlerFactory | Mobly yaml result handler factory which generates appropriate handler based on result type. |
MoblyYamlResultHandlerFactory.InvalidResultTypeException | |
MoblyYamlResultHandlerFactory.Type | |
MoblyYamlResultParser | Mobly yaml test results parser. |
MoblyYamlResultRecordHandler | Mobly yaml result 'Record' element handler. |
MoblyYamlResultRecordHandler.Record | |
MoblyYamlResultRecordHandler.Record.Builder | |
MoblyYamlResultRecordHandler.RecordResult | |
MoblyYamlResultSummaryHandler | Mobly yaml result 'Summary' element handler. |
MoblyYamlResultSummaryHandler.Summary | |
MoblyYamlResultSummaryHandler.Summary.Builder | |
MoblyYamlResultTestNameListHandler | Mobly yaml result 'Test Name List' element handler. |
MoblyYamlResultTestNameListHandler.TestNameList | |
MoblyYamlResultTestNameListHandler.TestNameList.Builder | |
MoblyYamlResultUserDataHandler | Mobly yaml result 'User Data' element handler. |
MoblyYamlResultUserDataHandler.UserData | |
MoblyYamlResultUserDataHandler.UserData.Builder | |
ModuleDefinition | Container for the test run configuration. |
ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
ModuleLogcatCollector | Version of logcat collector but for module. |
ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
ModuleOemTargetPreparer | |
ModuleParameters | Special values associated with the suite "parameter" keys in the metadata of each module. |
ModuleParametersHelper | Helper to get the IModuleParameterHandler associated with the parameter. |
ModulePusher | |
ModulePusher.ModulePushError | Fatal error during Mainline module push. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
模块测试类型实用程序 | 包含用于检查模块的常用实用方法。 |
MultiFailureDescription | Collect multiple FailureDescription in one holder. |
多图<K, V> | 支持每个键多个值的ERROR(/Map) 。 |
氮
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 | 一个实用程序类,用于清除本机覆盖测量值并强制从设备上的进程刷新本机覆盖数据。 |
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. |
OxygenClient.LHPTunnelMode | |
OxygenUtil | Utility to interact with Oxygen service. |
磷
PackageInfo | Container for an application's package info parsed from device. |
PackageInstalledModuleController | Module controller to not run tests when the device has not got the given packages installed. |
配对<A,B> | 定义我们自己的 Pair 类,其中包含两个对象。 |
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 |
PerfettoGenericPostProcessor | A post processor that processes text/binary metric perfetto proto file into key-value pairs by recursively expanding the proto messages and fields with string values until the field with numeric value is encountered. |
PerfettoGenericPostProcessor.AlternativeParseFormat | |
PerfettoGenericPostProcessor.METRIC_FILE_FORMAT | |
PerfettoPreparer | Perfetto preparer pushes the config file in to the device at a standard location to which perfetto have access to. |
PerfettoPullerMetricCollector | Base implementation of FilePullerDeviceMetricCollector that allows pulling the perfetto files from the device and collect the metrics from it. |
PerfettoPullerMetricCollector.METRIC_FILE_FORMAT | |
完美跟踪记录器 | 用于在ITestDevice 上记录 perfetto 跟踪的实用程序类。 |
漂亮的打印分隔符 | 帮助实用程序帮助打印突出的分隔消息。 |
PrettyTestEventLogger | Logger matching the events and logging them in order to make it easier to debug. |
进程信息 | 用于存储与进程相关的(用户、PID、名称、自纪元以来的第二个开始时间)信息。 |
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 . |
属性变换器 | 用于更改(或添加)Android 属性文件中的项目的实用程序类 |
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. |
原型工具 | 用于处理与类型无关的 protobuf 消息的实用方法。 |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
解析器 | 用于从“ps”命令输出中解析(USER、PID 和 NAME)的实用程序 |
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. |
Python虚拟环境助手 | 用于激活 Python 3 虚拟环境的辅助类。 |
PythonVirtualenvPreparer | Sets up a Python virtualenv on the host and installs packages. |
问
QuoteAwareTokenizer |
右
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. |
正则表达式Trie <V> | RegexTrie 是一个 trie,其中每个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. |
远程压缩 | 用于解压缩远程 zip 文件中的单个文件的实用程序。 |
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. |
资源工具 | 用于读取配置资源的实用程序。 |
RestApi助手 | 用于执行 REST API 调用的帮助程序类。 |
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. |
运行中断异常 | 当运行操作被外部请求中断时抛出。 |
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. |
运行工具 | 用于执行操作的辅助方法的集合。 |
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. |
序列化工具 | 用于序列化/反序列化实现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 | OutputStream 的实用程序子类,用于写入 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:
|
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. |
简单性能结果 | 对象保存所有 simpleperf 测试结果 |
SimplePerfStatResultParser | 用于解析 simpleperf 结果的实用程序类。 |
简单性能工具 | 用于调度简单命令并收集结果的实用程序类 |
SimplePerfUtil.SimplePerfType | simpleperf 命令选项的枚举 |
简单统计 | 一个小型实用程序类,用于根据给定的数值数据集计算一些统计度量。 |
大小受限的输出流 | 线程安全文件支持ERROR(/OutputStream) ,限制可写入的最大数据量。 |
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 | |
Sl4a蓝牙实用程序 | 实用程序类使用 SL4A 在一个或两个设备上提供蓝牙操作 |
Sl4aBluetoothUtil.BluetoothAccessLevel | 基于BluetoothDevice.java 的蓝牙设备访问级别的枚举 |
Sl4aBluetoothUtil.BluetoothConnectionState | 基于BluetoothProfile.java 的蓝牙连接状态枚举 |
Sl4aBluetoothUtil.BluetoothPriorityLevel | 基于BluetoothProfile.java 的蓝牙配置文件优先级枚举 |
Sl4aBluetoothUtil.BluetoothProfile | 基于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. |
SnapuserdWaitPhase | Enum representation of when to join/block for the snapuserd update to finish. |
稀疏图像工具 | 用于解稀疏稀疏图像的实用程序。 |
SparseImageUtil.SparseInputStream | SparseInputStream 从上游读取并检测数据格式。 |
StatsdBeforeAfterGaugeMetricPostProcessor | A post processor that processes gauge metrics collected in a "before/after" approach, ie |
StatsdEventMetricPostProcessor | A post processor that processes event metrics in statsd reports into key-value pairs, using the formatters specified on the processor. |
StatsdGenericPostProcessor | A post processor that processes binary proto statsd reports into key-value pairs by expanding the report as a tree structure. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
StopServicesSetup | A ITargetPreparer that stops services on the device. |
StreamProtoReceiver | A receiver that translates proto TestRecord received into Tradefed events. |
StreamProtoResultReporter | An implementation of ProtoResultReporter |
流工具 | 用于管理输入流的实用程序类。 |
StrictShardHelper | Sharding strategy to create strict shards that do not report together, |
字符串转义工具 | 用于转义特定格式字符串的实用程序类。 |
字符串工具 | 用于转义字符串以进行常见字符串操作的实用程序类。 |
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.BaseTestEventInfo | TestIgnored 信息的基本助手。 |
SubprocessEventHelper.FailedTestEventInfo | 测试失败信息的帮助程序。 |
SubprocessEventHelper.InitationEndedEventInfo | 调用结束信息的帮助程序。 |
SubprocessEventHelper.InitationFailedEventInfo | 调用失败信息的帮助程序。 |
SubprocessEventHelper.InitationStartedEventInfo | 调用启动信息的帮助程序。 |
SubprocessEventHelper.LogAssociationEventInfo | log关联信息的助手。 |
SubprocessEventHelper.SkippedTestEventInfo | |
SubprocessEventHelper.TestEndedEventInfo | testEnded 信息的帮助程序。 |
SubprocessEventHelper.TestLogEventInfo | testLog 信息的帮助程序。 |
SubprocessEventHelper.TestModuleStartedEventInfo | 测试模块启动信息的帮助程序。 |
SubprocessEventHelper.TestRunEndedEventInfo | testRunEnded 信息的帮助程序。 |
SubprocessEventHelper.TestRunFailedEventInfo | testRunFailed 信息的帮助程序 |
SubprocessEventHelper.TestRunStartedEventInfo | testRunStarted 信息的帮助程序 |
SubprocessEventHelper.TestStartedEventInfo | testStarted 信息的帮助程序 |
子进程异常解析器 | 用于处理标准 Tradefed 命令运行程序的异常输出的帮助程序。 |
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. |
子流程测试结果解析器 | 扩展ERROR(/FileOutputStream) 以在写入文件之前解析输出,以便我们可以在启动器端生成测试事件。 |
SubprocessTestResultsParser.StatusKeys | 相关测试状态键。 |
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.EnvVariable |
时间
表格生成器 | 用于在表中显示字符串元素矩阵的帮助程序类。 |
表格格式化程序 | 用于显示 String 元素矩阵的帮助程序类,以便每个元素列都对齐 |
目标文件实用程序 | |
TargetFileUtils.FilePermission | |
TargetSetupError | A fatal error occurred while preparing the target for testing. |
塔尔工具 | 操作 tar 文件的实用程序。 |
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. |
测试过滤助手 | 用于过滤测试的辅助类 |
TestGroupStatus | A class to store status of a test group. |
TestInfo | Stores the test information set in a TEST_MAPPING file. |
TestInformation | Holder object that contains all the information and dependencies a test runner or test might need to execute properly. |
TestInformation.Builder | Builder to create a TestInformation instance. |
TestInvocation | Default implementation of ITestInvocation . |
TestInvocation.RunMode | The different mode an invocation can run into. |
TestInvocation.Stage | |
TestInvocationManagementServer | GRPC server helping to management test invocation and their lifecycle. |
TestInvocationManagementServer.InvocationInformation | |
TestMapping | A class for loading a TEST_MAPPING file. |
TestMappingSuiteRunner | Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. |
TestOption | Stores the test option details set in a TEST_MAPPING file. |
TestOutputUploader | Uploads test output files to local file system, GCS, or an HTTP(S) endpoint. |
测试记录解释器 | 用于将TestRecord 原型转换为 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. |
测试运行工具 | 帮助各种测试运行者的实用程序类。 |
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 |
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 |
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. |
时间工具 | 包含与时间相关的实用方法。 |
时间值 | 这是包装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> | 确保每个键值唯一的MultiMap 。 |
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. |
版本解析器 | 获取正在运行的 tradefed 工件的版本。 |
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 |
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
Zip压缩策略 | 用于创建 zip 存档的ICompressionStrategy 。 |
压缩工具 | 用于压缩相关操作的辅助类 |
ZipUtil2 | 用于 zip 提取的帮助程序类,考虑 POSIX 文件权限 |