クラスインデックス

これらは API クラスです。すべてのAPI パッケージを参照してください。

AaptParser 「aapt dump badging」の出力を解析することでapkから情報を抽出するクラス。
AaptParser.AaptVersion APK ファイルの解析に使用される AAPT バージョンのオプションの列挙。
アビABI を表すクラス。
アビフォーマッターabi のユーティリティ クラス。
アビユーティリティデバイス ABI を処理するためのユーティリティ クラス
抽象的な接続抽象的な接続表現。
抽象ホストモニターホストヘルスモニタリングの典型的なクラス。
AbstractXmlParser XML ファイルを解析するためのヘルパー基本クラス
AbstractXmlParser.ParseException XML 入力を解析できなかった場合にスローされます
AcloudConfigParser Acloud 構成を解析するヘルパー クラス (クラウド デバイス インスタンスの起動に使用されます)。
AcloudConfigParser.AcloudKeys設定から検索できるキーのセット。
アクション進行中一般的なアクションが進行中です。
アクティブトレースアクティブなトレースの記述と管理を支援するメイン クラス。
アクティビティステータスチェッカーモジュールの最後に実行されている残りのアクティビティのステータス チェッカー。
AdbRootエレベーター必要に応じて構築時に adb root を有効にし、完了時に root の状態を復元するAutoCloseable
AdbSsh接続SSH ブリッジを介した ADB 接続。
AdbStopServerPreparer adb テストの実行前後にホスト上の adb サーバーを停止するターゲット プリペアラー。
AdbTcp接続デバイスのデフォルトの接続表現。デバイスの標準の adb 接続であると想定されます。
AdbUtils adb 操作のためのユーティリティ クラス。
AfterClassWithInfo AfterClassと同様の保証ですが、アノテーションが付けられたメソッドにはTestInformationパラメーターが必要です。
集約ポストプロセッサ複数回の反復テスト実行中に収集された数値メトリクスの最小値、最大値、平均値、分散、標準偏差、合計、カウント、およびオプションでパーセンタイルを提供するメトリクス アグリゲータ。それらを double として扱います。
すべてのテストアプリのインストールセットアップIDeviceBuildInfo#getTestsDir()フォルダーからすべてのアプリをデバイスにインストールするITargetPreparer
AltDir の動作さまざまなテスト アーティファクト インストーラー/プッシャーの代替ディレクトリ動作を定義する列挙型

AndroidJUnitTest android.support.test.runner.AndroidJUnitRunner を使用して、指定されたデバイス上でインストルメンテーション テスト パッケージを実行するテスト。
AoaTargetPreparer Android Open Accessories (AOAv2) プロトコルを使用して一連のアクション (クリックやスワイプなど) を実行するITargetPreparer
アプリビルド情報Android アプリケーションとそのテスト パッケージを表すIBuildInfo
AppDeviceBuildInfoこのクラスは廃止されました。 IDeviceBuildInfo直接使用します。
アプリのセットアップAPK とそのテストをインストールするITargetPreparer
AppVersionFetcherデバイスからアプリのバージョン文字列を取得するユーティリティ クラス。
AppVersionFetcher.AppVersionInfoアプリのバージョン情報の種類。
アーチモジュールコントローラーモジュール コントローラーは、特定のアーキテクチャに一致しない場合はテストを実行しません。
ArgsOptionParser解析されたコマンドライン引数からOptionフィールドを設定します。
配列使用率配列のユーティリティ メソッド
アートChrootPreparer ART テスト用の chroot ディレクトリを作成します。
アートGTest
アートランテストART 実行テストを実行するためのテスト ランナー。
ArtRunTest.AdbShellCommandException ADB シェル コマンドの実行中に発生したエラーを報告する例外クラス。
ATestFileSystemLogSaverこの LogSaver クラスは、特定のパスにログを保存するために ATest によって使用されます。
テストランナーITestSuiteの導入
アトレースコレクターテスト中に atrace を実行し、結果を収集して呼び出しに記録するIMetricCollector
AtraceRunMetricCollectorテスト デバイスの指定されたディレクトリの下にあるすべてのテスト ディレクトリからトレースを収集し、テスト ディレクトリをログに記録し、テスト ディレクトリの下のトレース ファイルを後処理してメトリクスを集計します。
オートログコレクターハーネスによって自動的に処理できるコレクターを説明する列挙。
自動レポーターTradefed 自動レポーターからのマッピングを定義するクラス。
平均ポストプロセッサメトリクスのリストの平均を計算するポストプロセッサの実装。

B

バックグラウンドデバイスアクション指定されたデバイス上でコマンドを実行し、アクションがキャンセルされるまで必要に応じて繰り返し実行します。
BaseDeviceMetricCollector onTestRunStart(com.android.tradefed.device.metric.DeviceMetricData)およびERROR(/#onTestRunEnd(com.android.tradefed.device.metric.DeviceMetricData,Map))で収集を開始および停止できるIMetricCollectorの基本実装。
ベースエミュレータ準備者ローカルエミュレータを起動するための共通の準備ツール。
BaseHostJUnit4Testホスト JUnit4 スタイルのテストを実行するための基本テスト クラス。
BaseLeveledLogOutput名前またはコンポーネントに基づいて一部のタグをフィルタリングできるようにするILeveledLogOutputの基本実装。
ベースモジュールコントローラーモジュールを実行するかどうかをチェックするために実装する必要があるIModuleControllerの基本実装。
BaseMultiTargetPreparerオブジェクトを無効にすることができるIMultiTargetPreparerの基本実装。
ベースポストプロセッサすべての実装が拡張する必要がある基本IPostProcessor
BaseRetryDecision IRetryDecisionの基本実装。
BaseStreamLogger <OS が OutputStream を拡張>ログ メッセージを出力ストリームと標準出力に送信するILeveledLogOutput
BaseTargetPreparerオブジェクトを無効にするかどうかを制御できるITargetPreparerの基本実装クラス。
ベーステストスイート新しいスイート システムで互換性テスト スイートを実行するためのテスト。
バッテリーコントローラーデバイスのバッテリー充電状態を制御できるユーティリティ クラス。
バッテリー再充電デバイス回復デバイスのバッテリーレベルが指定されたしきい値を下回ったときにコマンドをトリガーできるようにします。
バッテリー温度
バッテリーが利用できませんデバイスの回復バッテリーレベルが利用できない場合に構成をトリガーするリカバリチェッカー。
BeforeClassWithInfo BeforeClassと同様の保証ですが、アノテーションが付けられたメソッドにはTestInformationパラメータが必要です。
バイナリ状態IGNORE no-op 状態で ON/OFF 状態を記録するために使用される列挙型。
Bluetooth接続遅延コレクターコレクターは、事前定義された statsd 持続時間メトリック構成をデバイスにプッシュし、各プロファイルの Bluetooth 接続持続時間を収集します。
Bluetooth接続状態コレクターこのコレクターは BluetoothConnectionStateChanged メトリクスを収集し、各プロファイルの接続状態番号を記録します。
Bluetooth接続成功率ポストプロセッサBluetooth プロファイルの成功率を計算するポストプロセッサの実装

「metric-key-match」を使用して、Bluetooth 接続状態を含むメトリックを数値配列 (例 [0, 1, 2, 3, 0, 1, 2, 3]) で指定します。

BluetoothHciSnoopLogCollector DUT で Bluetooth HCI スヌープ ログを有効にし、各テストのログを収集するコレクター。
Bluetoothユーティリティデバイス上で BluetoothInstrumentation を呼び出すためのユーティリティ関数

デバイス側の BluetoothInstrumentation コードは、AOSP のframeworks/base/core/tests/bluetoothtestsにあります。

ブートストラップビルドプロバイダーテストデバイスからビルド情報をブートストラップするIDeviceBuildProvider

これは通常、外部から提供されたビルドを備えたデバイスに使用されます。

BootstrapServiceFileResolverLoaderサービスロード機能を使用してリゾルバーをロードします。
バグポートバグレポート ファイルの参照を保持するオブジェクト。フラット バグレポートおよび圧縮されたバグレポート (bugreportz) と互換性があります。
バグレポートコレクター構成可能なイベントが発生したときにバグレポートを収集し、各バグレポートが収集された後にその子に対してITestInvocationListener#testLogを呼び出すパススルーITestInvocationListener
BugreportCollector.Filter
BugreportCollector.Freq
バグポートコレクター名詞
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 をインストールするユーティリティ クラス。
ByteArrayInputStreamSource
バイト配列リスト軽量のバイト配列を表すクラス。
ByteArrayUtilバイト配列を操作するためのユーティリティ (バイトを整数に変換するなど)。

C

車モジュールコントローラーこのコントローラーは、自動車以外のデバイスでのテスト ケースの実行を防ぎます。
CarryDnaeError JUnit4 フレームワークを通じてDeviceNotAvailableExceptionを伝達するための内部RuntimeException
中断例外のキャリーテスト フェーズのタイムアウトがトリガーされ、テスト実行スレッドから呼び出し実行スレッドに InterruptedException を渡す必要がある場合にスローされます。
CdmaデバイスフラッシャーCDMA 無線を使用して物理 Android デバイスにイメージをフラッシュするクラス。
CecControllerTokenProvider Consumer Electronics Control (CEC) 関連のトークンのトークン プロバイダー。
中央ディレクトリ情報CentralDirectoryInfo は、zip ファイル内のファイル/フォルダーの情報を含むクラスです。
チェックペアリング準備者プライマリ デバイスとコンパニオン デバイス間の BT ボンディングを検証するCompanionAwarePreparer
CircularAtraceUtil atrace ユーティリティは、主に Monkey テスト中に ANR の根本原因を特定するために開発されました。
CircularByteArray循環バッファとして動作し、配列内のすべての値の合計を追跡する固定サイズの配列を保持するためのデータ構造。
ClangCodeCoverageCollector Clang カバレッジ測定値をデバイスから取得し、テスト アーティファクトとして記録するBaseDeviceMetricCollector
ClassNotFoundConfigurationExceptionオブジェクトのクラスが見つからない場合のConfigurationException
クラスパススキャナークラスパス上のエントリを検索します。
ClassPathScanner.ClassNameFilter Java クラス名をフィルタリングして変換するIClassPathFilter
ClassPathScanner.ExternalClassNameFilter内部クラスを拒否するClassNameFilter
ClassPathScanner.IClassPathFilterクラスパスエントリパスのフィルタ

FileFilterに基づいてパターン化

時計じかけのユーティリティマルチデバイスロジックを共有するための時計じかけユーティリティ
CloseableTraceScope try-with-resources を介してトレース セクションをレポートできるようにするスコープ付きクラス
クラスタービルド情報TFC からパイプされたビルドのIBuildInfoクラス。
クラスタービルドプロバイダーTFC テスト リソースをダウンロードするためのIBuildProvider
クラスタークライアントTFC バックエンドと対話するためのIClusterClient実装。
クラスターコマンドTF クラスターからフェッチされたタスクを表すクラス。
ClusterCommand.RequestType
ClusterCommand.State TF クラスター内のコマンドのステータス。
ClusterCommandConfigBuilderクラスターコマンドの設定ファイルを構築するクラス。
クラスターコマンドイベントアップロードするクラスターコマンドイベントをカプセル化するクラス。
ClusterCommandEvent.Builder
ClusterCommandEvent.Type
クラスターコマンドランチャーサブプロセス TF を介して TFC からコマンドを起動するIRemoteTestクラス。
クラスタコマンドスケジューラTFC (Tradefed Cluster) をサポートするICommandScheduler
クラスターコマンドステータスTF クラスターからのコマンドの状態とキャンセル理由を表すクラス。
クラスターデバイス情報アップロードするクラスタデバイス情報をカプセル化するクラス。
ClusterDeviceInfo.Builder
クラスターデバイスモニターTradefed Cluster サービスに結果を報告するIDeviceMonitor実装。
ClusterEventUploader <T extends IClusterEvent > ClusterEventUploader クラスIClusterEvent TFC にアップロードします。
クラスターホストイベントアップロードされるクラスターホストイベントをカプセル化するクラス。
ClusterHostEvent.Builder
ClusterHostEvent.HostEventTypeさまざまな種類のホスト イベントの列挙型。
クラスターホスト使用率TF クラスターがグローバル構成インスタンス、ホスト情報などを取得するための静的ユーティリティ関数。
クラスターログセーバーテスト出力を TFC にアップロードするILogSaverクラス。
ClusterLogSaver.FilePickingStrategyファイルピッキング戦略。
クラスターオプション
コードカバレッジテスト特定のデバイス上でインストルメンテーション テスト パッケージを実行し、コード カバレッジ レポートを生成するテスト。
収集バイト出力受信者シェル出力全体をbyte[]に収集するIShellOutputReceiver
収集出力受信者シェル出力全体を 1 つのStringに収集するIShellOutputReceiver
テストリスナーの収集すべてのテスト結果を収集するITestInvocationListener
コレクターヘルパーいくつかの場所で必要なIMetricCollector操作を実行するためのヘルパー。
コマンドファイルパーサーコマンドラインのセットを含むファイルのパーサー。
CommandFileParser.CommandLine
コマンドインタラプタTradeFederation コマンドを中断したり、中断不可能としてマークしたりできるサービス。
CommandLineBuildInfoBuilderこのユーティリティは、コマンド ラインから通常のビルド情報引数を取得し、そこからIBuildInfoを作成することを目的としていました。
コマンドオプションICommandOptionsの実装。
コマンドオプションゲッター指定された呼び出しのコマンド オプション値を返すサービス実装。
コマンド結果コマンドの結果が含まれます。
コマンドランナーコマンドライン引数で指定されたコマンドを実行して終了する、代替 TradeFederation エントリ ポイント。
CommandRunner.ExitCode終了できるエラー コード。
コマンドスケジューラ利用可能なすべてのデバイスで TradeFederation コマンドを実行するためのスケジューラ。
CommandScheduler.HostStateホストのさまざまなステータスの列挙型
コマンドステータス時間指定された操作のステータスを表します。
コマンドステータスハンドラー呼び出しのステータスの監視と更新を支援するハンドラー。
CommonLogRemoteFileUtilこのユーティリティを使用すると、共通ファイルのリモート ログ フェッチ ロジックのさまざまなリモート デバイス表現間でのコードの重複を回避できます。
CommonLogRemoteFileUtil.KnownLogFileEntryリモート デバイスの既知のログ エントリの表現。
コンパニオンアロケータコンパニオンデバイスの割り当てと解放を処理する基本クラス

getCompanionDeviceSelectionOptions()を実装して、コンパニオン デバイスを割り当てるために必要な基準を記述する必要があります。

CompanionAwarePreparerすでに割り当てられているコンパニオン デバイスを取得するロジックをカプセル化するITargetPreparer
CompanionAwareテストコンパニオンデバイスの取得とチェックの定型文をカプセル化する基本テストクラス

サブクラスはgetCompanion()を呼び出して、割り当てられたコンパニオンを取得できます。

コンパニオンデバイストラッカーコンパニオンデバイスの割り当てと解放のためのクラス
コンパニオンRunCommandTargetPreparer割り当てられたコンパニオン デバイス上で指定されたコマンドを実行するITargetPreparer
CompanionTestAppInstallSetup IDeviceBuildInfo#getTestsDir()フォルダーから割り当てられたコンパニオン デバイスに 1 つ以上のアプリをインストールするITargetPreparer
CompileBootImageWithSpeedTargetPreparerコンパイラ フィルタ「speed」を使用してブート クラスパスとシステム サーバーを再コンパイルします。
状態障害モニター呼び出しによる失敗を監視します。
ConditionPriorityBlockingQueue <T>特定の条件に一致するオブジェクトを取得できるERROR(/PriorityBlockingQueue)のような操作を備えたスレッドセーフ クラス。
ConditionPriorityBlockingQueue.AlwaysMatch <T>任意のオブジェクトと一致するConditionPriorityBlockingQueue.IMatcher
ConditionPriorityBlockingQueue.IMatcher <T>要素が何らかの条件に一致するかどうかを判断するためのインターフェイス。
ConfigCompleter TF 構成のCompleterの実装。
構成ロードされた構成オブジェクトをマップに保存する具体的なIConfiguration実装。
構成定義構成、それに関連するオブジェクト、およびそれらのオプションの記録を保持します。
構成定義.ConfigObjectDef className の情報とその出現番号を保持するオブジェクト (たとえば、構成に同じオブジェクトが 2 回ある場合、最初のものには最初の出現番号が付けられます)。
構成記述子構成自体のいくつかの側面を説明する構成オブジェクト。
ConfigurationDescriptor.LocalTestRunnerローカル テスト ランナーを示すために使用される列挙型。
構成例外設定をロードできなかった場合にスローされます。
構成ファクトリーIConfigurationを作成するためのファクトリ。
ConfigurationFactory.ConfigLoader 1 つのルート構成からインクルードされた構成を追跡し、循環インクルードで例外をスローする IConfigDefLoader の実装。
ConfigurationFactory.ExceptionLoader
構成使用率設定ファイルを処理するためのユーティリティ関数。
構成XmlParser設定ConfigurationXmlParser の設定を受け入れるための単純なクラス

このクラスに設定を渡すには、エイリアスが必須です。

構成YamlParser YAML スタイル Tradefed 構成用のパーサー
構成ユーティリティstatsd 構成ファイルを作成、操作、およびプッシュするためのユーティリティ クラス。
ConfigUtil.LogSource
コンソールユーザーに対話用のインターフェースを提供するメイン TradeFederation コンソール

現在、次のような操作をサポートしています。

  • テストするコマンドを追加する
  • デバイスとその状態をリストする
  • 進行中の呼び出しをリストする
  • キュー内のコマンドをリストする
  • 呼び出しログをファイル/標準出力にダンプします
  • シャットダウン
Console.ArgRunnable <T>引数を受け取ることができるrunメソッドを持つRunnable
Console.CaptureList List<List<String>>の便利な型
コンソールリーダー出力ストリームSystem.out.print()をユーザーのLineReader unfinishedLine とうまく連携させるために使用できる OutputStream。
コンソール結果レポーターテスト結果をコンソールに出力する結果レポーター。
コンテンツプロバイダーハンドラーコンテンツ プロバイダーの対話を抽象化し、さまざまな操作にデバイス側のコンテンツ プロバイダーを使用できるようにするハンドラー。
カウンティングテスト結果リスナーTestStatusによってテストの合計数を追跡するTestResultListener
カウントテストケースコレクター特定のIRemoteTestのテスト ケースの数を数えて報告します。
カバレッジ測定フォワーダーカバレッジ測定値をビルド プロバイダーからロガーに転送するプレースホルダー テスト。
カバレッジオプションカバレッジ オプションを保持するためにオブジェクトをトレードします。
CoverageOptions.Toolchain
Cpuスロットルウェイターすべてのコアの最大周波数が利用可能な最高レベルに復元されるまで待機するITargetPreparer
CreateAvdPreparer
ユーザー作成者作成者ユーザーを作成し、最後にそれをクリーンアップするためのターゲットの準備者。
現在の呼び出し呼び出し内の任意の場所で役立つ現在の呼び出し情報を追跡および提供するクラス。
CurrentInvocation.InvocationInfo呼び出し時に常に設定される特別な名前付きキー。
CurrentInvocation.IsolationGrade分離レベルを説明します

D

デバッグホストログオン障害コレクターテスト ケースの失敗が発生したときにホスト側のログを収集して記録するコレクター。
デフォルト接続デバイスのデフォルトの接続表現。デバイスの標準の adb 接続であると想定されます。
DefaultConnection.ConnectionBuilderビルダーは接続について説明していました。
DefaultRemoteAndroidTestRunner Tradefed ユースケースのデフォルトを設定するための ddmlib RemoteAndroidTestRunnerの拡張機能。
DefaultTestsZipInstallerテスト zip インストーラーのデフォルトの実装。
委任された呼び出し実行InvocationExecutionは、別の Tradefed バイナリに実行を委任します。
依存関係リゾルバーテストのすべての依存関係を取得できる新しいタイプのプロバイダー。
デバイス割り当て結果コマンドの割り当て試行の結果を表します。
デバイス割り当て状態IDeviceManager の観点から見たデバイスの割り当て状態を表します。
デバイス利用可能チェッカーモジュールがデバイスをオフライン状態のままにしていないことを確認するチェッカー。
デバイスベースラインチェッカー各モジュールの前にデバイスのベースライン設定を設定します。
DeviceBaselineSetterデバイスのベースライン設定を作成するために使用される抽象クラス。
デバイスバッテリーレベルチェッカー最小バッテリー充電量をチェックし、最小充電量が存在しない場合はバッテリーが 2 番目の充電しきい値に達するまで待機するIRemoteTest
デバイスバッテリーリソースメトリックコレクターこのコレクターは、デバイスのバッテリー メトリックを収集します。
デバイスビルド記述子IBuildInfoのラッパー クラス。デバイス プラットフォームのビルド情報を取得するヘルパー メソッドが含まれています。
デバイスビルド情報完全な Android デバイスのビルドと (オプションで) そのテストを表すIBuildInfo
デバイスビルド情報ブートストラッパービルド情報フィールドをデバイスから読み取られた属性に置き換えるITargetPreparer

これは、外部ソースから生成されたビルドを使用してデバイスをテストする場合に役立ちます (例:

DeviceBuildInfoInjector DeviceBuildDescriptorメタデータをIBuildInfoに挿入するITargetPreparer
デバイスクリーナーテスト後にクリーンアップアクションとして再起動またはフォーマットを実行し、オプションで画面をオフにします
DeviceCleaner.CleanupAction
DeviceCleaner.PostCleanupAction
デバイス同時使用率デバイス側のコマンドを同時に実行するためのユーティリティ メソッドとクラスが含まれています

ShellCommandCallableとして実装されたコマンドを実行するにはERROR(/ExecutorService)を使用し、コマンド実行のERROR(/ExecutorService)によって返されたERROR(/Future)との同期にERROR(/#joinFuture(String,Future,long))使用します。

DeviceConcurrentUtil.ShellCommandCallable <V> ITestDeviceでのシェル コマンドの実行の詳細をラップするERROR(/Callable)
デバイス構成ホルダーロードされたデバイス構成オブジェクトをその属性に格納する具体的なIDeviceConfiguration実装。
デバイス記述子テスト対象のデバイスを記述する情報を含むクラス。
デバイス切断例外デバイスがそのトランスポート タイプ経由で到達できなくなった場合にスローされます。たとえば、デバイスが USB または TCP/IP 接続経由で認識できなくなった場合です。
デバイスエラー識別子デバイス エラーとデバイスから報告されたエラーからのエラー識別子。
デバイスの起動エラービルドでフラッシュされた後にデバイスが起動に失敗した場合にスローされます。
デバイス機能モジュールコントローラー特定の機能をサポートしていない場合、モジュール コントローラーはテストを実行しません。
デバイスファイルレポーターデバイスにファイルがあるかどうかを確認し、見つかった場合はITestInvocationListener#testLog(String, LogDataType, InputStreamSource)に送信するユーティリティ クラス。
DeviceFlashPreparer物理 Android ハードウェア上にイメージをフラッシュするITargetPreparer
デバイス折りたたみ可能状態「cmd device_state print-states」によって返されるデバイスの折りたたみ可能な状態の表現。
デバイスフォルダービルド情報ローカル ファイル システム上のディレクトリに含まれる他のビルド アーティファクトも含まれるIDeviceBuildInfo
DeviceImageZipFlashingTargetPreparer特定の形式で提供されるデバイス イメージをデバイスにフラッシュするターゲット プリペアラー。
デバイスインターネットアクセシビリティリソースメトリックコレクターコレクターは google.com に ping を送信して、デバイスがインターネットにアクセスできるかどうかを確認します。
DeviceJUnit4ClassRunner IDeviceTestにも対応する JUnit4 テスト ランナー。
DeviceJUnit4ClassRunner.LogAnnotationログを記者に伝えることを目的とした偽の注釈。
DeviceJUnit4ClassRunner.MetricAnnotationレポーターに指標を伝えることを目的とした偽のアノテーション。
DeviceJUnit4ClassRunner.TestLogData ExternalResourceTestRuleの実装。
DeviceJUnit4ClassRunner.TestMetrics ExternalResourceTestRuleの実装。
デバイス管理GrpcサーバーTradefed からデバイスを予約できる GRPC サーバー。
デバイスマネージャ
DeviceManager.FastbootDevice Fastboot モードのデバイスの表現。
デバイスメトリックデータメトリックコレクターによって収集されたすべてのデータを保持するオブジェクト。
デバイスモニターマルチプレクサリクエストを複数のIDeviceMonitorに伝播するプロキシ クラス。
DeviceNotAvailableExceptionデバイスがテストに使用できなくなった場合にスローされます。
デバイス所有者ターゲット準備者デバイス所有者コンポーネントを設定するITargetPreparer
DeviceParameterizedRunnerホスト側で駆動されるパラメーター化テスト用の JUnit4 スタイルのパラメーター化ランナー。
デバイスのプロパティデバイス側プロパティ名の共通定数定義
デバイス回復モード使用率
デバイスリリースレポーター解放されるデバイスの親プロセスとの通信を処理するデバイス解放レポーター。
デバイスリセット機能デバイスリセットのサーバー側実装。
デバイスリセットハンドラ一般的にデバイスのリセットを処理するユーティリティ。
デバイスランタイム例外デバイスアクションが期待した結果をもたらさなかった場合にスローされます。
デバイス選択オプションデバイス選択基準のコンテナ。
DeviceSelectionOptions.DeviceRequestedTypeさまざまな種類のプレースホルダー デバイスがサポートされています。
デバイス設定チェッカーモジュールの実行中にデバイス設定が変更されたかどうかを確認します。
デバイスのセットアップ提供されたOptionに基づいてテスト用にデバイスを構成するITargetPreparer
デバイススナップショット機能デバイススナップショットのサーバー側実装。
デバイススナップショットハンドラユーティリティ処理のイカのスナップショット。
デバイス状態モニターIDeviceの状態を監視するためのヘルパー クラス。
DeviceStorageAgeResourceMetricCollector logcat からストレージの経過時間を解析します。
デバイスストレージフィラーある程度の空きスペースが利用できるように、ストレージを埋めるターゲットの準備者。
デバイスストレージステータスチェッカーデバイスに指定されたパーティションに対して十分なディスク容量があるかどうかを確認してください。
デバイスストリングプッシャー文字列をファイルに書き込むターゲットの作成者。
デバイススイートITestDeviceを必要とするテストに ITestDevice を提供するために、JUnit4 コンテナSuiteを拡張します。
DeviceSyncHelper新しいデバイス イメージをデバイスに同期するのに役立つヘルパー。
デバイステストケースIRemoteTestサービスとIDeviceTestサービスを提供するヘルパー JUnit テスト ケース。
デバイステスト結果DeviceNotAvailableExceptionが発生したときに中止されるTestResultの特殊化
DeviceTestResult.RuntimeDeviceNotAvailableException
デバイステスト実行オプションBaseHostJUnit4Test を介したデバイス テストの実行に関連するオプションのビルダー クラス。
デバイステストスイートIRemoteTestサービスとIDeviceTestサービスを提供するヘルパー JUnit テスト スイート。
デバイストレースコレクターテスト実行の開始時に perfetto トレースを開始し、最後にトレース ファイルをログに記録するコレクター。
デバイス利用不可モニターこのリスナーは、テスト ケース レベルの DNAE のみをキャプチャしようとします。
デバイス非応答例外デバイスが adb に表示されているが応答していないことを示すDeviceNotAvailableExceptionの特殊化 (つまり、コマンドがタイムアウトする、起動しないなど)
DeviceUpdateTargetPreparer (ビルド サービスではなく) 外部ソースからのデバイス イメージ ファイルを使用してデバイスを更新するための一般的な手順を処理する抽象的なITargetPreparer
DeviceWifiResourceMetricCollectorコレクターは、現在接続されている Wi-Fi 信号強度とリンク速度メトリックを収集します。
デバイスワイパーユーザーデータを消去するITargetPreparer
ディレクテッドグラフ<V>有向非重み付けグラフの実装。
SELinuxTargetPreparer を無効にするSELinux が有効になっている場合は無効にするターゲット プリペアラー。
DryRunKeyStoreキーストア値が常に適切に置き換えられ、検索される予行演習用のキーストア。
ドライランナー実際にテストを実行するのではなく、透過的にテストをドライランします。
動的ファイルスタブテストこれは、trafeded が動的ファイルを正しく解決できるかをテストする tradefed テストです。
動的リモートファイルリゾルバーリモート ファイルへのパスの解決を支援するクラス。
DynamicRemoteFileResolver.FileResolverLoader IRemoteFileResolverの実装をロードします。
ダイナミックシャードヘルパー複数の TF インスタンス間でリモート作業のキューイングを可能にするシャーディング戦略
DynamicSystemPreparer動的システム アップデートを使用してデバイス ビルドの上にシステム イメージをセットアップするITargetPreparer

E

早期デバイスリリース機能初期のデバイス リリース向けの機能サーバーの実装。
Eメール電子メールを送信するためのヘルパー クラス。
電子メールホストヘルスエージェントホスト監視レポートから電子メールを送信するためのIHostHealthAgent実装
EmmaXml定数emma XML レポートを解析するときに使用される定数。
エミュレータメモリCpuキャプチャラ
中央ディレクトリ情報の終了EndCentralDirectoryInfo は、zip ファイルの全体情報を含むクラスです。
EnforcedSeLinuxChecker Selinux のステータスを確認するステータス チェッカー。
EraseUserDataPreparerデバイス上のユーザー データを消去するITargetPreparer
エラー識別子このインターフェイスは、特定のエラーとそのプロパティを説明します。
エラーストレージ使用率エラーを操作して共通ストレージと一致させるためのヘルパー クラス。
イベントロガーリスナー受信したすべてのイベントをファイルに記録するリスナー
例外スローイングランナーラッパー
実行可能ベーステストテストの実行可能スタイルの基本クラス。
実行可能ホストテストホスト上で実行される実行可能ファイルのテスト ランナー。
実行可能ターゲットテストターゲット上で実行される実行可能ファイルのテスト ランナー。
実行ファイルテストまたは呼び出しの実行中に生成され、テストのために保持する必要があるファイルの依存関係。
ExecutionFiles.FilesKeyマップの既知の標準キーの列挙。
実行プロパティテストまたは呼び出しの実行中に生成されるプロパティ。
既存のビルドプロバイダーすでに構築されたIBuildInfoを返すIBuildProvider
拡張ファイルビルド関連のメタデータを運ぶための標準ファイルの拡張子。

F

失敗の説明Trade Federation の障害情報を記述するクラス。
フェイクテスト再現可能なテスト結果を簡単に生成できるようにすることを目的とした偽のテスト。
FakeTestsZipFolderコンテンツのリストに基づいて、偽の解凍されたテスト フォルダーを作成するテスト フィクスチャ。
FakeTestsZipFolder.ItemType
FastbootCommandPreparer fastboot をトリガーし、fastboot コマンドを送信するターゲット プリペアラー。
ファストブートデバイスフラッシャーfastboot に依存して物理 Android ハードウェアにイメージをフラッシュするクラス。
ファストブートヘルパーfastboot 操作のためのヘルパー クラス。
FastbootUpdateBootstrapPreparer ITargetPreparerは、指定されたファイル (ブートローダー、ラジオ、デバイス イメージ zip) をIDeviceBuildInfoにステージングして、 FastbootDeviceFlasherでフラッシュされたデバイスを取得し、結果レポートの目的でブート後のデバイス属性をビルド情報に挿入します。
致命的なホストエラーTradeFederation を実行しているホスト マシンで回復不能な致命的なエラーが発生したため、TradeFederation インスタンスをシャットダウンする必要があることを示す例外。
機能フラグターゲット準備者DeviceConfig (リモート サービスによって調整された機能フラグ) を更新します。
ファイルダウンロードキャッシュダウンロードされたファイルのローカル ファイルシステム LRU キャッシュを維持するヘルパー クラス。
ファイルダウンロードキャッシュファクトリーFileDownloadCacheを作成するためのファクトリー
ファイルダウンロードキャッシュラッパーIFileDownloaderインターフェイスの実装中にFileDownloadCache機能を提供するラッパー クラス。
ファイルアイドルモニターファイルを監視し、アイドル状態の場合はコールバックを実行します(つまり、
ファイル入力ストリームソース入力ファイルを受け取るInputStreamSource
ファイルロガーログ メッセージをファイルと標準出力に送信するILeveledLogOutput
ファイルプロト結果レポーターTestRecordをファイルにダンプする Proto レポーター。
FilePullerDeviceMetricCollectorデバイスからのメトリクス キーをリッスンし、デバイスからファイルとして取得するBaseDeviceMetricCollector
ファイルプーラーログコレクターデバイス側から報告されたファイルのロガー。
ファイルシステムログセーバーログをファイル システムに保存します。
ファイル使用率ファイル関連の操作のためのヘルパー クラス
FileUtil.LowDiskSpaceException使用可能なディスク容量が最小しきい値を下回っている場合にスローされます。
FilteredResultForwarder TestDescriptionのホワイトリストの報告のみを許可するResultForwarderのバリアント。
固定バイト配列出力ストリーム最大量のデータのみを保持するメモリ内ERROR(/OutputStream)
点滅方法テスト対象のデバイスをフラッシュするために使用されるメソッドを記述する列挙型
点滅リソースパーサーデバイスをフラッシュするために必要な補助イメージ ファイルの必要なバージョンを解析するクラス。
FlashingResourcesParser.AndroidInfo Map&lt;String, MultiMap&lt;String, String&gt;&gt; typedef 。
点滅リソースParser.Constraintフィルタリング インターフェイスFlashingResourcesParser使用する可能性のある一部のリソースを無視できるようにすることを目的としています。
点滅リソース使用率このユーティリティは、適切なバージョンのアーティファクトを設定して、 DeviceFlashPreparer経由でフラッシュできるようにするのに役立ちます。
FoldableExpandingHandler IModuleParameterHandlerは、非プライマリの折りたたみ可能な構成ごとにさらに拡張されます。
FoldableHandler折りたたみ可能なパラメータを取得して特殊なモジュールを作成できる、汎用の折りたたみ可能なハンドラー。
FoldableModePreparerデバイスの折り畳み状態を切り替えることができるターゲットプリペアラー。
フォルダー構築情報IFolderBuildInfoの具体的な実装。
フォルダーセーバーデバイスからディレクトリを取得し、それを圧縮してロギング バックエンドに保存するITargetPreparer
FormattedGeneratorReporter特定の形式でレポートを生成できるレポーター。
フリーデバイス状態
ヒューズユーティリティFUSE 操作のヘルパー クラス。

G

GceAvdInfo特定の GCE AVD インスタンスに関連するデータを保持する構造。
GceAvdInfo.GceStatus
GceAvdInfo.LogFileEntry
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 gcov カバレッジ測定値をデバイスから取得し、テスト アーティファクトとしてログに記録するBaseDeviceMetricCollector
GcovKernelCodeCoverageCollector gcov カーネル カバレッジ測定値を debugfs およびデバイスから取得し、最終的にテスト アーティファクトとしてログに記録するBaseDeviceMetricCollector
GCSBucketUtil File manager to download and upload files from Google Cloud Storage (GCS).
GCSBucketUtil.GCSFileMetadata Simple wrapper for file info in GCS.
GCSCommon Base class for Gcs operation like download and upload.
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.
GCSFileDownloader File downloader to download file from google cloud storage (GCS).
GCSFileUploader File uploader to upload file data to google cloud storage (GCS).
GCSHostResourceManager Download host resource from GCS (Google cloud storage).
GcsRemoteFileResolver Implementation of IRemoteFileResolver that allows downloading from a GCS bucket.
GenericLogcatEventParser <LogcatEventType> Parse logcat input for events.
GenericLogcatEventParser.LogcatEvent Struct to hold a logcat event with the event type and triggering logcat message
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
グローバルフィルターゲッター指定された呼び出しのフィルターを返すサービス実装。
GlobalTestFilter Filter options applied to the invocation.
GoogleApiClientUtil Utils for create Google API client.
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指定されたデバイス上でネイティブ テスト パッケージを実行するテスト。
GTestBase 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.
ホストGTestネイティブ テスト パッケージを実行するテスト。
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.
ホストテストJUnit ホストベースのテストのテスト ランナー。
HostUtils Implements some useful utility methods for running host tests.
HprofAllocSiteParser Helper class to parse info from an Allocation Sites section of hprof reports.
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

I

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 This interface is deprecated. 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.
ICompressionStrategy An interface representing a compression algorithm that can be selected at runtime.
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 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 .
IDisableable Interface that describes a Tradefed object that can be disabled.
IDynamicShardingClient Wrapper interface for the sharding client

This exists so that we can swap in an HTTP one or testing one if needed.

IEmail Interface for sending email.
IEmail.Message Container for email message data.
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 ITargetPreparer for a description of what these interfaces are intended.

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.
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 deprecated. 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 .
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.
インストール済みの機器テスト現在のデバイスで見つかったすべてのインストルメンテーションを実行します。
InstantAppHandler Handler for ModuleParameters#INSTANT_APP .
InstrumentationPreparer A ITargetPreparer that runs instrumentation
計装テスト指定されたデバイス上でインストルメンテーション テスト パッケージを実行するテスト。
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.
IRestApiHelper A helper interface for performing REST API calls.
IResumableTest This interface is deprecated. No need for this anymore
IRetryDecision Interface driving the retry decision and applying the filter on the class for more targeted retry.
IRuntimeHintProvider
IRunUtil Interface for running timed operations and system commands.
IRunUtil.EnvPriority Enum that defines whether setting or unsetting a particular env.
IRunUtil.IRunnableResult An interface for asynchronously executing an operation that returns a boolean status.
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.
隔離されたホストテストメインプロセスでテストを実行するのではなく、サブプロセスを使用して依存性の低い環境でテストを実行する TradeFed ランナーを実装します。
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 This interface is deprecated. 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テスト スイートの実行に使用される抽象クラス。
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

Jarホストテストホスト側 JUnit テストのテスト ランナー。
JarHostTest.HostTestListener Wrapper listener that forwards all events except testRunStarted() and testRunEnded() to the embedded listener.
JavaコードカバレッジコレクターJava カバレッジ測定値をデバイスから取得し、テスト アーティファクトとして記録するBaseDeviceMetricCollector
JavaCodeCoverageFlusher A utility class that resets and forces a flush of Java code coverage measurements from processes running on the device.
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.
JUnit4TestFilter Helper Class that provides the filtering for JUnit4 runner by extending the Filter .
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 .
JUnitXmlParser Parser that extracts test result data from JUnit results stored in ant's XMLJUnitResultFormatter and forwards it to a ITestInvocationListener.

K

KeyguardControllerState A container for the keyguard states.
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.
既知の失敗準備者既知の失敗の再試行をスキップするターゲット作成者。

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
ローカルAndroid仮想デバイスTradeFed ホスト上で実行されるローカル仮想デバイスのクラス。
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
LocalRunInstructionBuilder Utility to compile the instruction to run test locally.
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.
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.
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.
LogFile 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

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.
管理対象リモートデバイス仮想マシン内で実行されるデバイス。VM 内の Tradefed インスタンスを介してリモートで管理されます。
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.
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.
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
ModifiedFilesParser Class responsible to parse and extract information from modified_files.json.
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.
MultiMap <K, V> A ERROR(/Map) that supports multiple values per key.

N

NameMangleListener A proxy listener to translate test method, class, and package names as results are reported.
NativeBenchmarkTest A Test that runs a native benchmark test executable on given device.
NativeBenchmarkTestParser A IShellOutputReceiver that parses the benchmark test data output, collecting metrics on average time per operation.
NativeBridgeModuleController A module controller to check if a device support native bridge.
NativeCodeCoverageFlusher A utility class that clears native coverage measurements and forces a flush of native coverage data from processes on the device.
ネイティブデバイスITestDevice非フルスタック Android デバイスのデフォルト実装。
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.
ネストされたリモートデバイスリモートの Cuttlefish VM 内で実行されているデバイスの表現。
NetworkNotAvailableException Thrown when a device is not able to connect to network for testing.
NoApkTestSkipperテストする APK がない場合に呼び出し (準備とテスト) を完全にスキップできる特別なプリペアラー。
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

O

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

P

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.
Pair <A, B> Define our own Pair class which contains two objects.
PairingMultiTargetPreparer A multi-target preparer helps make Bluetooth pairing (and connection) between two devices.
ParallelDeviceExecutor <V> Wrapper of ERROR(/ExecutorService) to execute a function in parallel.
ParentSandboxInvocationExecution Version of InvocationExecution for the parent invocation special actions when running a sandbox.
ParentShardReplicate Replicate a setup for one device to all other devices that will be part of sharding.
PartialZipDownloadCache Utility to cache partial download files based on their content.
PassingTestFileReporter A ITestInvocationListener that saves the list of passing test cases to a test file
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
PerfettoTraceRecorder A utility class for recording perfetto trace on a ITestDevice .
PrettyPrintDelimiter Helper utility that helps to print delimited message that stands out.
PrettyTestEventLogger Logger matching the events and logging them in order to make it easier to debug.
ProcessInfo Used to store process related(USER, PID, NAME, START TIME IN SECOND SINCE EPOCH) information.
ProfileParameterHandler Base parameter handler for any profile user.
ProfileTargetPreparer Base class for setting up target preparer for any profile user android.os.usertype.profile.XXX .
PropertyChanger A utility class for changing (or adding) items in an Android property file
ProtoResultParser Parser for the Tradefed results proto format.
ProtoResultParser.TestLevel Enumeration representing the current level of the proto being processed.
ProtoResultReporter Result reporter build a TestRecord protobuf with all the results inside.
ProtoUtil Utility methods for dealing with protobuf messages type-agnostically.
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
PtsBotTest Run PTS-bot tests.
PushFileInvoker This class is deprecated. Use PushFilePreparer instead
PushFilePreparer A ITargetPreparer that attempts to push any number of files from any host path to any device path.
PythonBinaryHostTest Host test meant to run a python binary file from the Android Build system (Soong)

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

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

Q

QuotationAwareTokenizer

R

RebootReasonCollector Collector that collects device reboot during the test run and report them by reason and counts.
RebootTargetPreparer Target preparer that reboots the device.
RecoveryLogPreparer A target preparer used to collect logs before recovery.
RegexTrie <V> The RegexTrie is a trie where each stored segment of the key is a regex ERROR(/Pattern) .
リモートAndroidデバイスadb connect 経由で接続されたフルスタック Android デバイス用のITestDeviceの実装。
リモートAndroid仮想デバイスGoogle Compute Engine (Gce) で実行されるフルスタック Android デバイスのRemoteAndroidDevice動作を拡張します。
RemoteAvdIDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.gceDeviceRequested() is true
RemoteDynamicPool Implementation of a pool of remote work queued tests
RemoteFileResolver A simple class that allows one to load files from a variety of places using URIs and the service provider functionality.
RemoteFileUtil Utility class to handle file from a remote instance
RemoteInvocationExecution Implementation of InvocationExecution that drives a remote execution.
RemoteInvocationExecution.FileOptionValueTransformer
RemoteSshUtil Utility to execute ssh commands on remote instances.
RemoteTestTimeOutEnforcer Listeners that allows to check the execution time of a given test config and fail it if it goes over a given timeout.
RemoteZip Utilities to unzip individual files inside a remote zip file.
RemoveSystemAppPreparer A ITargetPreparer for removing an apk from the system partition before a test run.
合格したテストのレポート合格したテストを除外する可能性のあるフィルターをファイルにレポートします。
ResolvePartialDownload Resolve a partial download request.
ResourceMetricUtil Utility functions for composing metrics.
ResourceUtil Utility for reading configuration resources.
RestApiHelper A helper class for performing REST API calls.
RestartSystemServerTargetPreparer Target preparer that restarts the system server without rebooting the device.
ResultAggregator Special forwarder that aggregates the results when needed, based on the retry strategy that was taken.
ResultAndLogForwarder Forwarder for results and logs events.
ResultForwarder A ITestInvocationListener that forwards invocation results to a list of other listeners.
結果プレーヤー与えられた結果を再現する特別なランナー。
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.RetryType The types of the tests that can be retried.
RetryResultForwarder An Extension of ResultForwarder that always push to a given attempt number.
RetryResultHelper Helper class to determine which module or test should run or not.
RetryStatistics Structure holding the statistics for a retry session of one IRemoteTest .
RetryStrategy The Retry Strategy to be used when re-running some tests.
RootcanalForwarderPreparer
RootTargetPreparer Target preparer that performs "adb root" or "adb unroot" based on option "force-root".
RunAftersWithInfo
RunBeforesWithInfo
RunCommandTargetPreparer
RunConfigDeviceRecovery Generic base IMultiDeviceRecovery to run a tradefed configuration to do the recovery step.
RunHostCommandTargetPreparer Target preparer to run arbitrary host commands before and after running the test.
RunHostScriptTargetPreparer Target preparer which executes a script before running a test.
RunInterruptedException Thrown when a run operation is interrupted by an external request.
RunNotifierWrapper Wrapper of RunNotifier so we can carry the DeviceNotAvailableException .
RunOnCloneProfileParameterHandler
RunOnCloneProfileTargetPreparer
RunOnSdkSandboxHandler Handler for ModuleParameters#RUN_ON_SDK_SANDBOX .
RunOnSdkSandboxTargetPreparer An ITargetPreparer to marks that tests should run in the sdk sandbox.
RunOnSecondaryUserParameterHandler
RunOnSecondaryUserTargetPreparer An ITargetPreparer that creates a secondary user in setup, and marks that tests should be run in that user.
RunOnSystemUserTargetPreparer An ITargetPreparer that marks that tests should be run on the user (rather than the current user).
RunOnWorkProfileParameterHandler
RunOnWorkProfileTargetPreparer An ITargetPreparer that creates a work profile in setup, and marks that tests should be run in that user.
RuntimeRestartCollector Collector that collects timestamps of runtime restarts (system server crashes) during the test run, if any.
RunUtil A collection of helper methods for executing operations.
RustBenchmarkResultParser Interprets the output of tests run with Criterion benchmarking framework and translates it into calls on a series of ITestInvocationListener s.
RustBinaryHostTest Host test meant to run a rust binary file from the Android Build system (Soong)
RustBinaryTest指定されたデバイス上で Rust バイナリを実行するテスト。
RustTestBase Base class of RustBinaryHostTest and RustBinaryTest
RustTestBase.EnvPair
RustTestBase.Invocation
RustTestResultParser Interprets the output of tests run with Rust's unittest framework and translates it into calls on a series of ITestInvocationListener s.

S

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

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

SimpleFileLogger A ILeveledLogOutput that directs log messages to stdout and to a single log file.
SimplePerfResult Object to hold all simpleperf test results
SimplePerfStatResultParser A utility class to parse simpleperf result.
SimplePerfUtil Utility class to dispatch simple command and collect results
SimplePerfUtil.SimplePerfType Enum of simpleperf command options
SimpleStats A small utility class that calculates a few statistical measures given a numerical dataset.
SizeLimitedOutputStream A thread safe file backed ERROR(/OutputStream) that limits the maximum amount of data that can be written.
SkipHWASanModuleController Base class for a module controller to not run tests on HWASan builds.
Sl4aBluetoothUtil A utility class provides Bluetooth operations on one or two devices using SL4A
Sl4aBluetoothUtil.BluetoothAccessLevel Enums for Bluetooth device access level which are based on BluetoothDevice.java
Sl4aBluetoothUtil.BluetoothConnectionState Enums for Bluetooth connection states which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothPriorityLevel Enums for Bluetooth profile priority level which are based on BluetoothProfile.java
Sl4aBluetoothUtil.BluetoothProfile Enums for Bluetooth profiles which are based on BluetoothProfile.java
Sl4aClient Sl4A client to interact via RPC with SL4A scripting layer.
Sl4aEventDispatcher Event dispatcher polls for event and queue them by name to be queried.
Sl4aEventDispatcher.EventSl4aObject Object returned by the event poller.
SnapshotInputStreamSource A File-backed InputStreamSource.
SparseImageUtil Utility to unsparse sparse images.
SparseImageUtil.SparseInputStream SparseInputStream read from upstream and detects the data format.
StatsdBeforeAfterGaugeMetricPostProcessor 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
StreamUtil Utility class for managing input streams.
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 .
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 .
スタブターゲット準備者ITargetPreparerのプレースホルダーの空の実装。
スタブテストNo-op の空のテスト実装。
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.
サブプロセスTfLauncher別の TF インストールに対してテストを実行するためのIRemoteTest
SuiteApkInstaller Installs specified APKs for Suite configuration: either from $ANDROID_TARGET_OUT_TESTCASES variable or the ROOT_DIR in build info.
SuiteModuleLoader Retrieves Compatibility test module definitions from the repository.
SuiteModuleLoader.ConfigFilter A ERROR(/FilenameFilter) to find all the config files in a directory.
SuiteResultHolder Helper object to ease up serializing and deserializing the invocation results.
SuiteResultReporter Collect test results for an entire suite invocation and output the final results.
SuiteResultReporter.ModulePrepTimes Object holder for the preparation and tear down time of one module.
SuiteTestFilter Represents a filter for including and excluding tests.
SwitchUserTargetPreparer A ITargetPreparer that switches to the specified user kind in setUp.
SystemServerFileDescriptorChecker Checks if system server appears to be running out of FDs.
SystemServerStatusChecker Check if the pid of system_server has changed from before and after a module run.
SystemUpdaterDeviceFlasher A IDeviceFlasher that relies on the system updater to install a system image bundled in a OTA update package.
SystemUtil Utility class for making system calls.
SystemUtil.EnvVariable

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
TargetFileUtils
TargetFileUtils.FilePermission
TargetSetupError A fatal error occurred while preparing the target for testing.
TarUtil Utility to manipulate a tar file.
TcpDevice A placeholder IDevice used by DeviceManager to allocate when DeviceSelectionOptions.tcpDeviceRequested() is true
TearDownPassThroughPreparerオブジェクトとして構成に含まれているプリペアラー上で、tearDown を実行できるようにします。
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.
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.
テストデバイスフルスタック Android デバイス用のITestDeviceの実装
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 .
TestEnvironment A class to model a TestEnvironment message returned by TFC API.
TestErrorIdentifier Error identifier from tests and tests runners.
TestFailureListener Listener used to take action such as screenshot, bugreport, logcat collection upon a test failure when requested.
TestFailureModuleController Controller for module that simply want to tune how the tests failures log collected are behaving.
TestFilePushSetup A ITargetPreparer that pushes one or more files/dirs from a IDeviceBuildInfo.getTestsDir() folder onto device.
TestFilterHelper Helper class for filtering tests
TestGroupStatus A class to store status of a test group.
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.
テストマッピングスイートランナーオプション include-filter で指定されたテスト、またはビルドからの TEST_MAPPING ファイルをスイートとして実行するためのBaseTestSuiteの実装。
TestOption Stores the test option details set in a TEST_MAPPING file.
TestOutputUploader Uploads test output files to local file system, GCS, or an HTTP(S) endpoint.
TestRecordInterpreter Utility to convert a TestRecord proto into a more easily manipulable format in Tradefed.
TestRecordProtoUtil Utility to read the TestRecord proto from a file.
TestResource A class to model a TestResource message returned by TFC API.
TestResourceDownloader A class to download test resource files from file system/GCS/HTTP.
TestResult Container for a result of a single test.
TestResultListener A simplification of ITestLifecycleListener for implementers that only care about individual test results.
TestRunnerUtil A utility class to help various test runners.
TestRunResult Holds results from a single test run.
TestRunToTestInvocationForwarder Forwarder from ddmlib ITestRunListener to ITestLifeCycleReceiver .
テストプールポーラーテスト プールのすべてのテストを実行できるようにするテスト ラッパー。
TestSuiteInfo A class that resolves loading of build related metadata for test suite

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

TestSummary A class to represent a test summary.
TestSummary.Type
TestSummary.TypedString
TestSystemAppInstallSetup A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device.
TestTimeoutEnforcer Listeners that allows to check the execution time of a given test case and fail it if it goes over a given timeout.
TextResultReporter A test result reporter that forwards results to the JUnit text result printer.
TfMetricProtoUtil Utility class to help with the Map to Map transition.
TfObjectTracker A utility to track the usage of the different Trade Fedederation objects.
TfスイートランナーTF jar res/config/suite/ フォルダーからテストをロードするITestSuiteの実装。
Tfテストランチャー別の TF インストールに対して単体テストまたは機能テストを実行するためのIRemoteTest
TimeStatusChecker Status checker to ensure that the device and host time are kept in sync.
TimeUtil Contains time related utility methods.
TimeVal This is a sentinel type which wraps a Long .
TimeWaster A simple target preparer to waste time and potentially restart the device.
TokenProperty Supported token with dynamic sharding.
TokenProviderHelper Helper that gives the provider associated to a particular token, in order to find out if a device supports the token.
TraceCmdCollector A IMetricCollector that collects traces during the test using trace-cmd, and logs them to the invocation.
TracePropagatingExecutorService An executor service that forwards tasks to an underlying implementation while propagating the tracing context.
TracingLogger Class that helps to manage tracing for each test invocation.
TradefedConfigObject A class to model a TradefedConfigObject message of TFC API.
TradefedConfigObject.Type A list of configuration object types which can be injected to a cluster command config.
TradefedDelegator Objects that helps delegating the invocation to another Tradefed binary.
TradefedFeatureClient A grpc client to request feature execution from the server.
TradefedFeatureServer A server that responds to requests for triggering features.
TradefedSandbox Sandbox container that can run a Trade Federation invocation.
TradefedSandboxFactory Default implementation for SandboxFactory
TradefedSandboxRunner Runner associated with a TradefedSandbox that will allow executing the sandbox.
TradefedSandboxRunner.StubScheduledInvocationListener A stub IScheduledInvocationListener that does nothing.

U

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

V

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

W

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

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

WifiHelper Helper class for manipulating wifi services on device.
WifiPreparer A ITargetPreparer that configures wifi on the device if necessary.

X

XmlFormattedGeneratorReporterスイートの結果を XML 形式にフォーマットするFormattedGeneratorReporterの実装。
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.
ZipUtil A helper class for compression-related operations
ZipUtil2 A helper class for zip extraction that takes POSIX file permissions into account