类索引
这些是 API 类。查看所有的API包。
一种
解析器 | 通过解析 'aapt dump badging' 的输出从 apk 中提取信息的类。 |
AaptParser.AaptVersion | 用于解析 APK 文件的 AAPT 版本的选项枚举。 |
格式化程序 | abi 的实用程序类。 |
抽象Xml解析器 | 用于解析 xml 文件的 Helper 基类 |
AbstractXmlParser.ParseException | 如果无法解析 XML 输入,则抛出 |
云配置解析器 | 解析 Acloud 配置的 Helper 类(用于启动 Cloud 设备实例)。 |
AcloudConfigParser.AcloudKeys | 可以从配置中搜索的密钥集。 |
活动状态检查器 | 在模块末尾运行的剩余活动的状态检查器。 |
AdbRootElevator | 一个AutoCloseable 使ADB根如果需要和还原根状态时完整构造时。 |
聚合后处理器 | 一个度量聚合器,它为在多次迭代测试运行期间收集的数字度量提供最小值、最大值、平均值、方差、标准偏差、总计、计数和可选的百分位数,将它们视为双精度值。 |
AltDirBehavior | 为各种测试工件安装程序/推送程序定义替代目录行为的枚举 |
应用程序构建信息 | 甲IBuildInfo 表示Android应用程序和它的测试包(一个或多个)。 |
应用设备构建信息 | 该类已弃用。使用IDeviceBuildInfo 直接。 |
应用程序版本提取器 | 从设备获取应用程序版本字符串的实用程序类。 |
AppVersionFetcher.AppVersionInfo | 应用版本信息类型。 |
建筑模块控制器 | 模块控制器在与任何给定架构不匹配时不运行测试。 |
ArgsOptionParser | 填充Option 从解析的命令行参数字段。 |
ATestFileSystemLogSaver | ATest 使用此 LogSaver 类将日志保存在特定路径中。 |
自动日志收集器 | 描述哪个收集器可以由线束自动处理的枚举。 |
自动化记者 | 定义来自 Tradefed 自动报告器的映射的类。 |
平均后处理器 | 计算指标列表平均值的后处理器的实现。 |
乙
C
D
乙
EmmaXml 常量 | 解析 emma xml 报告时使用的常量。 |
EmulatorMemoryCpuCapturer | |
强制SeLinux检查器 | 状态检查器,确保 Selinux 的状态。 |
事件记录器监听器 | 将接收到的所有事件记录到文件中的侦听器 |
现有构建提供者 | 一个IBuildProvider 返回已构建IBuildInfo 。 |
扩展文件 | 标准文件的扩展,用于携带与构建相关的元数据。 |
F
G
GceAvdInfo | 用于保存给定 GCE AVD 实例的相关数据的结构。 |
GceAvdInfo.GceStatus | |
管理器 | 管理 GCE 调用以启动/停止并从 GCE 收集日志的帮助程序。 |
GceRemoteCmdFormatter | 用于格式化命令以到达远程 gce 设备的实用程序类。 |
GceRemoteCmdFormatter.ScpMode | SCP 可用于推送或拉取文件,具体取决于 args 的结构。 |
GceSsh隧道监视器 | Gce ssh 隧道的线程监视器。 |
GcovCodeCoverageCollector | 一个BaseDeviceMetricCollector 这将拉动对gcov覆盖测量关闭设备和日志他们作为测试工件。 |
GCSBucketUtil | 用于从 Google Cloud Storage (GCS) 下载和上传文件的文件管理器。 |
GCSBucketUtil.GCSFileMetadata | GCS 中文件信息的简单包装器。 |
GCSCommon | Gcs 操作的基类,如下载和上传。 |
GCS下载助手 | GCS 存储桶的下载器,负责缓存和解析全局配置。 |
GCS文件下载器 | 文件下载器从谷歌云存储(GCS)下载文件。 |
GCS文件上传器 | 文件上传器将文件数据上传到谷歌云存储(GCS)。 |
GCS主机资源管理器 | 从 GCS(谷歌云存储)下载主机资源。 |
GcsRemoteFileResolver | 实施IRemoteFileResolver 允许下载从GCS桶内。 |
GetPreviousPassedHelper | 帮助获取先前通过的测试过滤器。 |
GkiDeviceFlashPreparer | 使用 android 通用内核通用映像刷新设备的目标准备器。 |
全局过滤器 | 返回给定调用的过滤器的服务实现。 |
全局测试过滤器 | 应用于调用的过滤器选项。 |
GoogleApiClientUtil | 用于创建 Google API 客户端的实用程序。 |
GranularRetriableTestWrapper | 在包装类作品IRemoteTest 造粒,IRemoteTest在测试用例水平。 |
GsiDeviceFlashPreparer | 使用 android 通用系统映像刷新设备的目标准备器。 |
H
HelloWorldMultiTargetPreparer | 一个例子实施的IMultiTargetPreparer 。 |
历史记录器 | TF History Logger,只包含一些特定事件的特殊日志。 |
HprofAllocSiteParser | 帮助程序类从 hprof 报告的分配站点部分解析信息。 |
HttpRemoteFileResolver | 实施IRemoteFileResolver ,允许通过HTTP下载远程文件 |
HttpsRemoteFileResolver | 实施IRemoteFileResolver ,允许通过https下载远程文件 |
一世
接收器 | 需要被测 ABI 的测试。 |
应用程序构建信息 | 此接口已弃用。使用IBuildInfo 直接。 |
IAutoRetriableTest | 接口的IRemoteTest 没有实现ITestFilterReceiver 但仍希望支持自动重试。 |
电池信息 | 定义与设备电池交互的界面。 |
IBatteryInfo.BatteryState | 描述当前电池充电状态。 |
构建提供者 | 负责提供有关正在测试的构建的信息。 |
构建接收器 | 需要参考被测构建的测试。 |
集群客户端 | 用于与 TFC 后端交互的接口。 |
集群事件 | 任何要上传到 TFC 的集群事件的接口。 |
IClusterEventUploader <T延伸IClusterEvent > | ClusterEventUploader 的接口 |
IClusterOptions | 用于获取集群相关选项的界面。 |
命令选项 | 命令执行选项的容器。 |
命令调度器 | 用于运行 TradeFederation 命令的调度程序。 |
ICommandScheduler.IScheduledInvocationListener | 调用完成时调用事件的侦听器。 |
压缩策略 | 表示可以在运行时选择的压缩算法的接口。 |
配置 | TradeFederation 调用的配置信息。 |
配置工厂 | 工厂创建IConfiguration 小号 |
配置接收器 | 简单的接口,以表示接受一个对象IConfiguration 。 |
证书工厂 | 凭据工厂的界面来创建的oauth2 Credential 。 |
默认对象加载器 | 加载默认对象的接口,这些对象应该是我们的 YAML 配置的一部分。 |
IDefaultObjectLoader.LoaderConfiguration | 加载配置对象将信息传递给加载器。 |
设备构建信息 | 甲IBuildInfo 代表一个完整的Android装置的构建和(任选地)其测试。 |
IDeviceBuildProvider | 一个IBuildProvider 使用信息从ITestDevice 检索构建。 |
设备配置 | 设备配置持有人接口。 |
设备闪光器 | 在设备上闪烁设备映像。 |
IDeviceFlasher.UserDataFlashOption | 处理用户数据图像的选项枚举 |
设备管理器 | 用于管理用于测试的可用设备集的界面。 |
IDeviceManager.IFastbootListener | fastboot 状态更改的侦听器。 |
设备监视器 | 用于监控设备状态的接口。 |
IDeviceMonitor.DeviceLister | 一个Runnable 状类应返回已知的设备和它们的状态。 |
设备选择 | 设备选择标准的接口。 |
设备测试 | 为对象接口,需要一个参考ITestDevice 。 |
禁用 | 描述可以禁用的 Tradefed 对象的接口。 |
文件下载器 | 下载远程文件的界面。 |
IFlashingResourcesParser | 用于提供闪存设备所需的辅助图像文件的所需版本的接口。 |
IFlashingResourcesRetriever | 用于检索刷新设备所需的辅助图像文件的接口。 |
文件夹构建信息 | 一个简单的抽象IBuildInfo 其构建工件被包含在一个本地文件系统的目录。 |
IFormatterGenerator | 接口描述用于格式化SuiteResultHolder 。 |
主机清洁器 | 测试运行完成后清理主机。 |
调用上下文接收器 | 需要引用调用上下文的测试。 |
调用执行 | 描述将作为调用的一部分完成的操作的接口。 |
ILeveledLog输出 | 实现此接口的类提供处理输出日志消息的方法。 |
日志接收器 | 提供设备的的logcat的输出作为A类InputStreamSource 。 |
日志注册表 | 对于接口ILogOutput 单记录仪,其复用和管理不同的记录器。 |
ILogRegistry.EventType | 记录有用的事件 |
IMetricCollector | 在报告测试结果以收集匹配指标时,将添加此接口作为装饰器。 |
IMetricCollectorReceiver | 接口IRemoteTest s到实施,如果他们需要得到的名单IMetricCollector S为试运行。 |
模块控制器 | 用于控制是否应执行模块的接口。 |
IModuleController.RunStrategy | 描述模块应该如何执行的枚举。 |
模块参数处理程序 | 套件模块的参数接口。 |
多设备测试 | 此接口已弃用。这个接口是为了兼容性暂时保留的,但实际上不再使用了。请不要实施。 |
多目标准备器 | 一起为多个设备准备测试环境。 |
本机设备测试 | 为对象接口,需要一个参考INativeDevice 。 |
安装ApexModuleTargetPreparer | |
即时应用程序处理程序 | 处理程序ModuleParameters#INSTANT_APP 。 |
InstrumentationResultProtoParser | 解析在检测测试运行期间收集的检测结果原型,并将结果通知 ITestRunListener。 |
调用上下文 | 通用实施的IInvocationContext 。 |
调用执行 | 描述所有调用步骤的类:构建下载、target_prep、运行测试、清理。 |
调用范围 | 作用域单个 Tradefed 调用。 |
调用范围 | |
调用范围模块 | Guice 模块可以在 TF 调用中的任何地方使用以请求 Guice-Tradefed 支持的对象。 |
调用状态 | 用于存储调用状态的类。 |
InvocationToJUnitResultForwarder | 一类侦听ITestInvocationListener 事件,并将其转发给TestListener 。 |
后处理器 | 后处理器是一个 Trade Federation 对象,旨在允许在测试之后和结果报告之前处理指标和日志。 |
远程功能 | 描述 Tradefed 中可根据请求执行的功能的接口。 |
远程文件解析器 | 可以将远程文件解析为本地文件的对象的接口。 |
IRemoteFileResolver.RemoteFileResolverArgs | 传递给解析器的参数 |
IRemoteFileResolver.ResolvedFile | 保存有关已解析文件和一些元数据的信息的类。 |
IReport未执行 | 在一个不完整的执行情况, IRemoteTest 实现该接口可用于改进报告报告其非执行测试。 |
调度器 | 用于重新安排配置以供将来执行的接口。 |
IResourceMetricCollector | 用户实现自定义资源收集器的接口。 |
IRESTApiHelper | 用于执行 REST API 调用的辅助接口。 |
可恢复测试 | 此接口已弃用。不再需要这个 |
重试决定 | 接口驱动重试决策并在类上应用过滤器以获得更有针对性的重试。 |
IRuntimeHintProvider | |
沙盒 | 定义可用于运行调用的沙箱的接口。 |
沙盒工厂 | 工厂创建ISandbox 。 |
设置选项接收器 | 此接口的实现应该有一个Option 与链接到“设置选项”名HostTest#SET_OPTION_NAME 。 |
IShardableTest | 甲IRemoteTest 可以分成单独的可执行子测试。 |
IShardHelper | 描述要用于配置的分片策略的对象的接口。 |
系统状态检查器 | 对系统状态执行检查并返回布尔值以指示系统是否处于预期状态的检查器。 |
ISystemStatusCheckerReceiver | 一个IRemoteTest 需要访问的ISystemStatusChecker 从配置。 |
目标清洁器 | 此接口已弃用。 tearDown 已移至基础 ITargetPreparer 接口。 |
目标准备器 | 为测试运行准备测试环境。 |
ITerribleFailureHandler | 接口,用于从处理可怕的失败LogUtil.CLog.wtf(String, Throwable) |
ITestAnnotationFilterReceiver | 一个运行器,可以根据注释过滤要运行的测试。 |
ITest收集器 | 提供测试采集支持;设置后,测试运行器必须执行试运行以收集测试用例而不实际执行它们。 |
ITest文件过滤器接收器 | 可以接收指定要运行和/或不运行哪些测试的文件的运行器。 |
ITest过滤器接收器 | 可以过滤要运行的测试的运行程序。 |
ITest信息接收器 | 接口接收TestInformation 对于某些类。 |
测试调用 | 处理一个 TradeFederation 测试调用。 |
ITestInvocation.ExitInformation | 表示调用的一些退出信息。 |
测试套件 | 用于运行测试套件的抽象类。 |
ITestSuiteResultLoader | 描述以可重新运行的方式加载先前结果的帮助程序的接口。 |
ITestsZipInstaller | 从设备上的测试 zip 文件(由构建系统输出)安装测试。 |
J
JavaCodeCoverageCollector | 一个BaseDeviceMetricCollector 将拉动Java的覆盖测量关闭设备和日志他们作为测试工件。 |
JavaCodeCoverageFlusher | 一个实用程序类,用于重置并强制从设备上运行的进程刷新 Java 代码覆盖率测量值。 |
JsonHttpTestResultReporter | 将测试指标结果和分支、设备信息编码为 JSON 并将 POST 编码为 HTTP 服务端点的结果报告器 |
JUnit4TestFilter | 帮助器类,通过延长提供了用于JUnit4转轮过滤Filter 。 |
JUnitToInvocationResultForwarder | 一类侦听TestListener 事件,并将其转发给ITestInvocationListener 。 |
JUnitXmlParser | 从存储在 ant 的 XMLJUnitResultFormatter 中的 JUnit 结果中提取测试结果数据并将其转发到 ITestInvocationListener 的解析器。 |
钾
键盘锁状态检查器 | Checks the keyguard status after module execution. |
KillExistingEmulatorPreparer | A ITargetPreparer that shuts down a running emulator. |
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. |
ListInstrumentationParser | A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query |
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 |
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 |
LocalFileResolver | Implementation of IRemoteFileResolver that allows linking local files |
LocalFolderBuildProvider | A IBuildProvider that constructs a IFolderBuildInfo based on a provided local path |
LocalRunInstructionBuilder | Utility to compile the instruction to run test locally. |
LogcatCrashResultForwarder | Special listener: on failures (instrumentation process crashing) it will attempt to extract from the logcat the crash and adds it to the failure message associated with the test. |
LogcatEventParser | |
LogcatEventType | Event types for LogcatEventParser . |
LogcatOnFailureCollector | Collector that will capture and log a logcat when a test case fails. |
LogcatReceiver | Class that collects logcat in background. |
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. |
M
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 |
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. |
MetricUtility | Contains common utility methods for storing the test metrics, aggregating the metrics in similar tests and writing the metrics to a file. |
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. |
ModuleDefinition | Container for the test run configuration. |
ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
ModuleOemTargetPreparer | |
ModuleOemTargetPreparer.ModuleInfo | A simple struct class to store information about a module |
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. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
N
NameMangleListener | A proxy listener to translate test method, class, and package names as results are reported. |
NativeCodeCoverageFlusher | A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device. |
NativeDevice | Default implementation of a ITestDevice Non-full stack android devices. |
NativeDevice.AdbAction | A DeviceAction for running a OS 'adb ....' command. |
NativeDevice.AdbShellAction | |
NativeDevice.RebootDeviceAction | 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. |
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. |
NoDeviceException | Thrown when there's no device to execute a given command. |
NoisyDryRunTest | Run noisy dry run on a command file. |
NotMultiAbiHandler | Special handler that notify the SuiteModuleLoader that the secondary abi should not create a module. |
O
OpenObjectLoader | Loader for the default objects available in AOSP. |
OptionCopier | A helper class that can copy Option field values with same names from one object to another. |
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. |
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. |
P
PackageInstalledModuleController | Module controller to not run tests when the device has not got the given packages installed. |
Pair <A, B> | Define our own Pair class which contains two objects. |
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. |
PassingTestFileReporter | A ITestInvocationListener that saves the list of passing test cases to a test file |
PrettyPrintDelimiter | Helper utility that helps to print delimited message that stands out. |
PropertyChanger | A utility class for changing (or adding) items in an Android property file |
ProtoResultParser | Parser for the Tradefed results proto format. |
ProtoResultParser.TestLevel | Enumeration representing the current level of the proto being processed. |
ProtoResultReporter | Result reporter build a TestRecord protobuf with all the results inside. |
ProtoUtil | Utility methods for dealing with protobuf messages type-agnostically. |
ProxyConfiguration | Object that allows pointing to a remote configuration to execute. |
PsParser | Utility used to parse(USER,PID and NAME) from the "ps" command output |
Q
QuotationAwareTokenizer |
R
RecoveryLogPreparer | A target preparer used to collect logs before recovery. |
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
RemoteAndroidDevice | Implementation of a ITestDevice for a full stack android device connected via adb connect. |
RemoteAndroidVirtualDevice | Extends RemoteAndroidDevice behavior for a full stack android device running in the Google Compute Engine (Gce). |
RemoteAvdIDevice | A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true |
RemoteFileUtil | Utility class to handle file from a remote instance |
RemoteInvocationExecution | Implementation of InvocationExecution that drives a remote execution. |
RemoteManager | Class that receives RemoteOperation s via a socket. |
RemoteSshUtil | Utility to execute ssh commands on remote instances. |
RemoteTestTimeOutEnforcer | Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout. |
RemoteZip | Utilities to unzip individual files inside a remote zip file. |
ReportPassedTests | Report in a file possible filters to exclude passed test. |
ResourceMetricUtil | Utility functions for composing metrics. |
RestApiHelper | A helper class for performing REST API calls. |
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. |
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 . |
RunCommandTargetPreparer | |
RunConfigDeviceRecovery | Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step. |
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. |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ServiceAccountKeyCredentialFactory | A credential factory to create service account key based oauth Credential . |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
ShardMainResultForwarder | A ResultForwarder that combines the results of a sharded test invocations. |
ShellOutputReceiverStream | Utility subclass of OutputStream that writes into an IShellOutputReceiver. |
ShellStatusChecker | Check if the shell status is as expected before and after a module run. |
ShippingApiLevelModuleController | Run tests if the device meets the following conditions:
|
SimpleFileLogger | A ILeveledLogOutput that directs log messages to stdout and to a single log file. |
SimplePerfResult | Object to hold all simpleperf test results |
SimplePerfStatResultParser | A utility class to parse simpleperf result. |
SimplePerfUtil | Utility class to dispatch simple command and collect results |
SimplePerfUtil.SimplePerfType | Enum of simpleperf command options |
SimpleStats | A small utility class that calculates a few statistical measures given a numerical dataset. |
SizeLimitedOutputStream | A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written. |
Sl4aBluetoothUtil | A utility class provides Bluetooth operations on one or two devices using SL4A |
Sl4aBluetoothUtil.BluetoothAccessLevel | Enums for Bluetooth device access level which are based on BluetoothDevice.java |
Sl4aBluetoothUtil.BluetoothConnectionState | Enums for Bluetooth connection states which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothPriorityLevel | Enums for Bluetooth profile priority level which are based on BluetoothProfile.java |
Sl4aBluetoothUtil.BluetoothProfile | Enums for Bluetooth profiles which are based on BluetoothProfile.java |
Sl4aClient | Sl4A client to interact via RPC with SL4A scripting layer. |
Sl4aEventDispatcher | Event dispatcher polls for event and queue them by name to be queried. |
Sl4aEventDispatcher.EventSl4aObject | Object returned by the event poller. |
SnapshotInputStreamSource | A File-backed InputStreamSource. |
StatusCheckerResult | Contains the result of a ISystemStatusChecker execution. |
StatusCheckerResult.CheckStatus | |
StdoutLogger | A ILeveledLogOutput that directs log messages to stdout. |
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, |
StringEscapeUtils | Utility class for escaping strings for specific formats. |
StringUtil | Utility class for escaping strings for common string manipulation. |
StubBuildProvider | No-op empty implementation of a IBuildProvider . |
StubMultiTargetPreparer | Placeholder empty implementation of a IMultiTargetPreparer . |
StubTargetPreparer | Placeholder empty implementation of a ITargetPreparer . |
StubTest | No-op empty test implementation. |
StubTestRunListener | Stub implementation of ITestRunListener |
SubprocessCommandException | A subprocess command failed to run. |
SubprocessConfigBuilder | Build a wrapper TF config XML for an existing TF config. |
SubprocessEventHelper | Helper to serialize/deserialize the events to be passed to the log. |
SubprocessEventHelper.BaseTestEventInfo | Base Helper for TestIgnored information. |
SubprocessEventHelper.FailedTestEventInfo | Helper for testFailed information. |
SubprocessEventHelper.InvocationEndedEventInfo | Helper for invocation ended information. |
SubprocessEventHelper.InvocationFailedEventInfo | Helper for InvocationFailed information. |
SubprocessEventHelper.InvocationStartedEventInfo | Helper for invocation started information. |
SubprocessEventHelper.LogAssociationEventInfo | Helper for logAssociation information. |
SubprocessEventHelper.TestEndedEventInfo | Helper for testEnded information. |
SubprocessEventHelper.TestLogEventInfo | Helper for testLog information. |
SubprocessEventHelper.TestModuleStartedEventInfo | Helper for test module started information. |
SubprocessEventHelper.TestRunEndedEventInfo | Helper for testRunEnded Information. |
SubprocessEventHelper.TestRunFailedEventInfo | Helper for testRunFailed information |
SubprocessEventHelper.TestRunStartedEventInfo | Helper for testRunStarted information |
SubprocessEventHelper.TestStartedEventInfo | Helper for testStarted information |
SubprocessExceptionParser | Helper to handle the exception output from standard Tradefed command runners. |
SubprocessReportingHelper | A class to build a wrapper configuration file to use subprocess results reporter for a cluster command. |
SubprocessResultsReporter | Implements ITestInvocationListener to be specified as a result_reporter and forward from the subprocess the results of tests, test runs, test invocations. |
SubprocessTestResultsParser | Extends ERROR(/FileOutputStream) to parse the output before writing to the file so we can generate the test events on the launcher side. |
SubprocessTestResultsParser.StatusKeys | Relevant test status keys. |
SubprocessTfLauncher | A IRemoteTest for running tests against a separate TF installation. |
SuiteApkInstaller | Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info. |
SuiteModuleLoader | Retrieves Compatibility test module definitions from the repository. |
SuiteModuleLoader.ConfigFilter | A ERROR(/FilenameFilter) to find all the config files in a directory. |
SuiteResultHolder | Helper object to ease up serializing and deserializing the invocation results. |
SuiteResultReporter | Collect test results for an entire suite invocation and output the final results. |
SuiteResultReporter.ModulePrepTimes | Object holder for the preparation and tear down time of one module. |
SuiteTestFilter | Represents a filter for including and excluding tests. |
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. |
SystemUtil | Utility class for making system calls. |
SystemUtil.EnvVariable |
T
TableBuilder | Helper class to display a matrix of String elements in a table. |
TableFormatter | Helper class to display a matrix of String elements so each element column is lined up |
TarUtil | Utility to manipulate a tar file. |
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. |
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. |
TestContext | A class to model a TestContext message of TFC API. |
TestDependencyResolver | Helper to resolve dependencies if needed. |
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 |
TestEnvironment | A class to model a TestEnvironment message returned by TFC API. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
TestFilterHelper | Helper class for filtering tests |
TestGroupStatus | A class to store status of a test group. |
TestInfo | Stores the test information set in a TEST_MAPPING file. |
TestInvocation | Default implementation of ITestInvocation . |
TestInvocation.RunMode | The different mode an invocation can run into. |
TestInvocation.Stage | |
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 | A class to upload test output files to GCS/HTTP. |
TestRecordInterpreter | Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed. |
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. |
TestResultListener | A simplification of ITestLifecycleListener for implementers that only care about individual test results. |
TestRunToTestInvocationForwarder | Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver . |
TestsPoolPoller | Tests wrapper that allow to execute all the tests of a pool of tests. |
TestSuiteInfo | A class that resolves loading of build related metadata for test suite To properly expose related info, a test suite must include a |
TextResultReporter | A test result reporter that forwards results to the JUnit text result printer. |
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. |
TimeVal | This class is deprecated. use Duration instead. |
TokenProviderHelper | Helper that gives the provider associated to a particular token, in order to find out if a device supports the token. |
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
UnexecutedTestReporterThread | Threads that takes care of reporting all unexecuted tests. |
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. |
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 |
VmRemoteDevice | A Remote virtual device that we will manage from inside the Virtual Machine. |
W
WaitDeviceRecovery | A simple implementation of a IDeviceRecovery that waits for device to be online and respond to simple commands. |
WifiHelper | Helper class for manipulating wifi services on device. |
X
XmlFormattedGeneratorReporter | Implementation of the FormattedGeneratorReporter which format the suite results in an xml format. |
XmlResultReporter | Writes JUnit results to an XML files in a format consistent with Ant's XMLJUnitResultFormatter. |
XmlSuiteResultFormatter | Utility class to save a suite run as an XML. |
XmlSuiteResultFormatter.RunHistory | Helper object for JSON conversion. |
是
YamlClassOptionsParser | Helper to parse test runner information from the YAML Tradefed Configuration. |
Z
ZipCompressionStrategy | An ICompressionStrategy for creating zip archives. |