類索引
這些是API類。查看所有API軟件包。
一種
AaptParser | 通過解析“ aapt dump Badging”的輸出從apk提取信息的類。 |
AaptParser.AaptVersion | 用於解析APK文件的AAPT版本的選項的枚舉。 |
AbiFormatter | abi的實用程序類。 |
AbstractXmlParser | 用於解析xml文件的Helper基類 |
AbstractXmlParser.ParseException | 如果無法解析XML輸入,則拋出該異常 |
AcloudConfigParser | 解析Acloud配置的輔助類(用於啟動Cloud設備實例)。 |
AcloudConfigParser.AcloudKeys | 可以從配置中搜索的密鑰集。 |
ActivityStatusChecker | 在模塊末尾運行的剩餘活動的狀態檢查器。 |
AggregatePostProcessor | 度量聚合器,它為多次迭代測試運行期間收集的數字度量提供最小值,最大值,均值,方差和標準偏差,將其視為兩倍。 |
AltDir行為 | 為各種測試工件安裝程序/推送程序定義替代目錄行為的枚舉 |
AppBuildInfo | 一個IBuildInfo ,代表一個Android應用程序及其測試包。 |
AppDeviceBuildInfo | 此類已棄用。直接使用IDeviceBuildInfo 。 |
AppVersionFetcher | 從設備獲取應用程序版本字符串的實用程序類。 |
AppVersionFetcher.AppVersionInfo | 應用程序版本信息類型。 |
ArgsOptionParser | 根據已解析的命令行參數填充“ Option 字段。 |
ATestFileSystemLogSaver | ATest使用此LogSaver類將日誌保存在特定路徑中。 |
自動日誌收集器 | 枚舉描述線束可以自動處理的收集器。 |
自動化記者 | 定義來自Tradefed自動報告程序的映射的類。 |
AveragePostProcessor | 實現後處理器,以計算度量標準列表的平均值。 |
乙
C
d
Ë
EmailResultReporter | 一個簡單的結果報告程序基類,用於發送測試結果的電子郵件。 |
EmmaXmlConstants | 解析emma xml報告時使用的常量。 |
強制SeLinuxChecker | 狀態檢查器,用於確保Selinux的狀態。 |
現有BuildProvider | 一個IBuildProvider ,它返回一個已經構造的IBuildInfo 。 |
F
G
GceAvdInfo | 用於保存給定GCE AVD實例的相關數據的結構。 |
GceAvdInfo.GceStatus | |
GceManager | 管理GCE的幫助程序調用以啟動/停止並從GCE收集日誌。 |
GceRemoteCmdFormatter | 用於格式化命令以到達遠程gce設備的實用程序類。 |
GceRemoteCmdFormatter.ScpMode | 根據args的結構,SCP可用於推入或拉出文件。 |
GceSshTunnelMonitor | Gce ssh隧道的線程監視器。 |
GCSBucketUtil | 文件管理器,用於從Google Cloud Storage(GCS)下載和上傳文件。 |
GCSBucketUtil.GCSFileMetadata | GCS中文件信息的簡單包裝。 |
GCSCommon | Gcs操作(例如下載和上傳)的基類。 |
GCSDownloaderHelper | GCS存儲桶的下載程序,負責緩存和解析全局配置。 |
GCSFileDownloader | 文件下載器,可從Google雲存儲(GCS)下載文件。 |
GCSFileUploader | 文件上傳器,用於將文件數據上傳到Google雲存儲(GCS)。 |
GCSHostResourceManager | 從GCS(Google雲存儲)下載主機資源。 |
GcsRemoteFileResolver | IRemoteFileResolver 實現,允許從GCS存儲桶下載。 |
GkiDeviceFlashPreparer | 一個目標準備器,用於用android通用內核通用映像刷新設備。 |
GoogleApiClientUtil | 用於創建Google API客戶端的實用程序。 |
GranularRetriableTestWrapper | 包裝類在IRemoteTest 上工作,以在測試用例級別對IRemoteTest 進行細化。 |
GsiDeviceFlashPreparer | 一個目標準備器,用Android通用系統映像刷新設備。 |
H
HelloWorldMultiTargetPreparer | IMultiTargetPreparer 的示例實現。 |
歷史記錄器 | TF History Logger,僅包含一些特定事件的特殊日誌。 |
HprofAllocSiteParser | 幫助程序類,用於解析hprof報告的“分配站點”部分中的信息。 |
HttpRemoteFileResolver | IRemoteFileResolver 實現,允許通過http下載遠程文件 |
HttpsRemoteFileResolver | IRemoteFileResolver 實現,允許通過https下載遠程文件 |
一世
Ĵ
JavaCodeCoverageFlusher | 實用程序類,用於重置並強制從設備上運行的進程清除Java代碼覆蓋率度量。 |
JsonHttpTestResultReporter | 結果報告器,對測試指標結果進行編碼,並將設備信息分支為JSON,然後將POST分支為HTTP服務端點 |
JUnit4TestFilter | 通過擴展Filter 為JUnit4運行器提供過濾的Helper類。 |
JUnitToInvocationResultForwarder | 偵聽TestListener 事件並將其轉發到ITestInvocationListener 。 |
JUnitXmlParser | 解析器,該解析器從ant的XMLJUnitResultFormatter中存儲的JUnit結果中提取測試結果數據,並將其轉發給ITestInvocationListener。 |
ķ
KeyguardStatusChecker | 模塊執行後檢查鍵盤鎖狀態。 |
大號
中號
MainlineModuleHandler | 一個用於Mainline Modules的簡單處理程序類,它創建InstallApexModuleTargetPreparer並根據給定的mainline模塊將動態鏈接注入其中,以自動檢索這些模塊。 |
MainlineTestModuleController | 模塊控制器的基類,它基於被測設備上預加載的主線模塊來運行測試。 |
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 |
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. |
MinApiLevelModuleController | Base class for a module controller to not run tests when it below a specified API Level. |
ModuleDefinition | Container for the test run configuration. |
ModuleListener | Listener attached to each IRemoteTest of each module in order to collect the list of results. |
ModuleMerger | Helper class for operation related to merging ITestSuite and ModuleDefinition after a split. |
ModuleParameters | Special values associated with the suite "parameter" keys in the metadata of each module. |
ModuleParametersHelper | Helper to get the IModuleParameter associated with the parameter. |
ModuleSplitter | Helper to split a list of modules represented by IConfiguration into a list of execution units represented by ModuleDefinition . |
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. |
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. |
OtaToolsDeviceBuildInfo | An OtaDeviceBuildInfo that also contains an otatools directory. |
OtaZipfileBuildProvider | Provides a IBuildInfo based on a local OTA zip file. |
P
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. |
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
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. |
RemoteZip | Utilities to unzip individual files inside a remote zip file. |
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. |
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. |
SecondaryUserHandler | Handler for ModuleParameters#SECONDARY_USER . |
SerializationUtil | Utility to serialize/deserialize an object that implements ERROR(/Serializable) . |
ShardBuildCloner | Helper class that handles cloning a build info from the command line. |
ShardHelper | Helper class that handles creating the shards and scheduling them for an invocation. |
ShardListener | A ITestInvocationListener that collects results from a invocation shard (aka an invocation split to run on multiple resources in parallel), and forwards them to another listener. |
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. |
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. |
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. |
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 |
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 | |
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. |
TestFailureEmailResultReporter | An EmailResultReporter that can also restrict notifications to just test failures. |
TestFailureListener | Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested. |
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 | |
TestLoader | A class for loading all JUnit3 tests in a jar file |
TestMapping | A class for loading a TEST_MAPPING file. |
TestMappingSuiteRunner | Implementation of BaseTestSuite to run tests specified by option include-filter, or TEST_MAPPING files from build, as a suite. |
TestOption | Stores the test option details set in a TEST_MAPPING file. |
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. |
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. |
Y
YamlClassOptionsParser | Helper to parse test runner information from the YAML Tradefed Configuration. |
Z
ZipCompressionStrategy | An ICompressionStrategy for creating zip archives. |