類索引
這些是 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 | 在報告測試結果以收集匹配指標時,將添加此接口作為裝飾器。 |
IMetricCollector接收器 | 接口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 的解析器。 |
鉀
鍵盤鎖狀態檢查器 | 在模塊執行後檢查鍵盤鎖狀態。 |
KillExistingEmulatorPreparer | 一個ITargetPreparer 是關閉正在運行的模擬器。 |
升
實驗室資源設備監視器 | 為 LabResourceService 初始化/管理 gRPC 服務器的實驗室資源監視器。 |
大輸出接收器 | 旨在幫助運行長時間運行的命令收集輸出的類。 |
最後一個碎片檢測器 | 當運行本地分片,有時候我們只需要執行一些動作,當最後一個碎片到達invocationEnded(long) 。 |
LaunchCvdHelper | 在 Cuttlefish VM 中控制 Launch_cvd 的實用程序助手。 |
洩漏線程狀態檢查器 | 狀態檢查器以確保模塊不會洩漏正在運行的線程。 |
LegacySubprocessResultsReporter | 子流程結果報告器的凍結實現,儘管其超類發生了變化,但仍應與早期版本的 TF/CTS(例如 8+)兼容。 |
ListInstrumentationParser | 一個IShellOutputReceiver 是解析“時列表儀器'查詢的輸出 |
ListInstrumentationParser.InstrumentationTarget | |
本地Android虛擬設備 | 在 TradeFed 主機上運行的本地虛擬設備的類。 |
本地應用程序構建提供程序 | 一個IBuildProvider 是構建一個IBuildInfo 基於所提供的本地路徑 |
本地設備構建提供程序 | 一個IBuildProvider 是構建一個IDeviceBuildInfo 基於文件系統提供的目錄路徑上。 |
本地模擬器啟動 | TargetPreparer 從 android 構建環境在本地啟動模擬器。 |
本地模擬器快照 | TargetPreparer 用於從 android 構建/開發環境生成乾淨的模擬器快照 |
本地文件解析器 | 實施IRemoteFileResolver ,允許連接本地文件 |
本地文件夾構建提供程序 | 一個IBuildProvider 是構建一個IFolderBuildInfo 基於所提供的本地路徑 |
本地運行指令生成器 | 用於編譯指令以在本地運行測試的實用程序。 |
LogcatCrashResultForwarder | 特殊偵聽器:在失敗(檢測過程崩潰)時,它將嘗試從 logcat 中提取崩潰並將其添加到與測試相關的失敗消息中。 |
LogcatEventParser | |
Logcat事件類型 | 事件類型LogcatEventParser 。 |
LogcatOnFailureCollector | 當測試用例失敗時將捕獲並記錄 logcat 的收集器。 |
日誌接收器 | 在後台收集 logcat 的類。 |
日誌文件保護程序 | 一種用於幫助ITestInvocationListener 的,將日誌數據保存到一個文件 |
日誌接收器 | |
日誌註冊表 | 一個ILogRegistry 實現,复用和管理不同的記錄器,使用基於一個合適的ThreadGroup 的線程進行調用的。 |
日誌保存結果轉發器 | 一個ResultForwarder 保存日誌與全局文件保護程序。 |
米
主線模塊處理器 | 一個簡單的主線模塊處理程序類,它創建一個 InstallApexModuleTargetPreparer 並根據給定的主線模塊將動態鏈接注入其中以自動檢索這些模塊。 |
主線測試模塊控制器 | 模塊控制器的基類,用於根據被測設備上預加載的主線模塊運行測試。 |
託管遠程設備 | 在我們通過虛擬機內的 Tradefed 實例遠程管理的虛擬機內運行的設備。 |
託管測試設備工廠 | 工廠創建可以被 Tf 監控的不同類型的設備 |
度量文件後處理器 | 用於上傳測試和運行級別期間收集的指標日誌文件。 |
度量選項 | 註釋測試方法,標註了@Test ,或者如果註釋的標籤列表的一部分TestDescription ,允許指定有用的一些額外的參數:收藏家的調整行為,過濾一些方法。 |
MetricsXMLResultReporter | MetricsXMLResultReporter 在測試的 invocationEnded 階段將測試指標和運行指標寫入由 metrics-folder 參數指定的文件夾中的 XML 文件。 |
公制效用 | 包含用於存儲測試指標、聚合類似測試中的指標並將指標寫入文件的常用實用方法。 |
MinApiLevelModuleController | 模塊控制器在低於指定 API 級別時不運行測試的基類。 |
MinSdkModuleController | 模塊控制器的基類,不會在低於指定 SDK 版本號的版本上運行測試。 |
模塊定義 | 測試運行配置的容器。 |
模塊監聽器 | 監聽器連接到每個IRemoteTest 每個模塊,以收集結果列表。 |
模塊合併 | 輔助類的操作有關合併ITestSuite 和ModuleDefinition 分裂後。 |
模塊OemTargetPreparer | |
ModuleOemTargetPreparer.ModuleInfo | 一個簡單的結構類來存儲有關模塊的信息 |
模塊參數 | 與每個模塊元數據中的套件“參數”鍵關聯的特殊值。 |
模塊參數助手 | 助手拿到IModuleParameterHandler 與參數有關。 |
模塊分配器 | 輔助拆分由下式表示的模塊的列表IConfiguration 成由下式表示執行單元的列表ModuleDefinition 。 |
N
NameMangleListener | 一個代理偵聽器,用於在報告結果時轉換測試方法、類和包名稱。 |
NativeCodeCoverageFlusher | 一個實用程序類,用於清除本機覆蓋測量並強制從設備上的進程刷新本機覆蓋數據。 |
本地設備 | 默認情況下實施的ITestDevice 非全棧Android設備。 |
NativeDevice.AdbAction | 一個DeviceAction 用於運行操作系統“亞行......”命令。 |
NativeDevice.AdbShellAction | |
NativeDevice.RebootDeviceAction | DeviceAction 用於重啟的裝置。 |
NativeDevice.RebootMode | 一種重啟模式。 |
本地設備狀態監視器 | Helper類用於監視的狀態IDevice 沒有框架的支持。 |
負處理程序 | 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. |
嵌套遠程設備 | 在遠程 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 | 當設備沒有安裝給定的包時,模塊控制器不運行測試。 |
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
恢復日誌準備器 | 用於在恢復之前收集日誌的目標準備程序。 |
RegexTrie <V> | The RegexTrie is a trie where eachERROR(/Pattern) . |
遠程安卓設備 | 一個實施ITestDevice 用於經由ADB連接連接的完整的堆棧機器人裝置。 |
遠程Android虛擬設備 | 擴展RemoteAndroidDevice 行為在谷歌計算引擎(GCE)上運行一個完整的堆棧的Android設備。 |
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 . |
運行命令目標準備器 | |
RunConfigDeviceRecovery | Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step. |
RunOnSecondaryUserParameterHandler | |
RunOnSecondaryUserTargetPreparer | 一個ITargetPreparer 創建在設置的二次用戶,並且標記該測試應該在用戶運行。 |
RunOnSystemUserTargetPreparer | 一個ITargetPreparer 這是測試應在用戶(而不是當前用戶)運行的痕跡。 |
RunOnWorkProfileParameterHandler | |
RunOnWorkProfileTargetPreparer | 一個ITargetPreparer 創建中設置一個工作空間,標誌是測試應在用戶運行。 |
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. |
SDK28 模塊控制器 | 用於檢查設備是否在 SDK 28 (Android 9) 或更高版本上的模塊控制器。 |
SDK29模塊控制器 | 僅當被測設備為 SDK 29 或更高版本時才運行測試。 |
SDK30 模塊控制器 | 僅當被測設備為 SDK 30 或更高版本時才運行測試。 |
SDK31 模塊控制器 | 僅當被測設備為 SDK 31 或更高版本時才運行測試。 |
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 | 如果設備滿足以下條件,則運行測試:
|
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 . |
存根目標準備器 | 佔位符空實施的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. |
測試應用安裝設置 | 甲ITargetPreparer ,其從安裝了一個或更多的應用程序IDeviceBuildInfo.getTestsDir() 夾到設備。 |
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 | 一個實施ITestDevice 一個全棧的Android設備 |
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. |
Y
YamlClassOptionsParser | Helper to parse test runner information from the YAML Tradefed Configuration. |
Z
ZipCompressionStrategy | An ICompressionStrategy for creating zip archives. |