com.android.tradefed.util
インターフェース
ClassPathScanner.IClassPathFilter |
クラスパス エントリパスのフィルタ
|
ConditionPriorityBlockingQueue.IMatcher<T> | 要素がなんらかの条件に一致するかどうかを判断するインターフェース。 |
ICompressionStrategy | 実行時に選択できる圧縮アルゴリズムを表すインターフェース。 |
IDisableable | 無効にできる Tradefed オブジェクトを表すインターフェース。 |
IEmail | メール送信のインターフェース。 |
IRestApiHelper | REST API 呼び出しを行うヘルパー インターフェース。 |
IRunUtil | 時間指定のオペレーションとシステム コマンドを実行するためのインターフェース。 |
IRunUtil.IRunnableResult | ブール値のステータスを返すオペレーションを非同期で実行するためのインターフェース。 |
クラス
AaptParser | 「aapt dump badging」の出力を解析して APK から情報を抽出するクラス。 |
AbiFormatter | ABI のユーティリティ クラス。 |
AbiUtils | デバイス ABI を処理するためのユーティリティ クラス |
AdbRootElevator |
必要に応じて作成時に adb root を有効にし、完了時に root 状態を復元する AutoCloseable 。
|
AdbUtils | adb オペレーション用のユーティリティ クラス。 |
AppVersionFetcher | デバイスからアプリのバージョン文字列を取得するユーティリティ クラス。 |
ArrayUtil | 配列のユーティリティ メソッド |
BluetoothUtils |
デバイスで BluetoothInstrumentation を呼び出すためのユーティリティ関数
デバイス側の BluetoothInstrumentation コードは、AOSP の |
バグレポート | バグレポート ファイルの参照を保持するオブジェクト。フラット バグレポートと zip 圧縮バグレポート(bugreportz)に対応しています。 |
BuildInfoUtil |
IBuildInfo の操作に役立つユーティリティ クラス。
|
BuildTestsZipUtils | Android ビルドシステムによって生成されたテスト zip に関連するオペレーション用のヘルパークラス |
BulkEmailer | 送信間隔、初期バーストサイズ、受信者、メッセージの合計数を構成できるメール送信ユーティリティ。 |
BundletoolUtil | bundletool コマンドラインを使用してデバイスに .apk をインストールするユーティリティ クラス。 |
ByteArrayList | 軽量バイト配列を表すクラス。 |
ByteArrayUtil | バイト配列を操作するユーティリティ(バイトを整数に変換するなど)。 |
CacheClientFactory |
ICacheClient のシングルトン インスタンスを作成するファクトリ。
|
CircularAtraceUtil | Monkey テスト中に ANR の根本原因を特定するために主に開発された atrace ユーティリティ。 |
CircularByteArray | 循環バッファとして動作し、配列内のすべての値の合計をトラッキングする固定サイズの配列を保持するデータ構造。 |
ClangProfileIndexer | Clang コード カバレッジ測定結果をインデックス化するユーティリティ クラス。 |
ClassPathScanner | クラスパス上のエントリを検索します。 |
ClassPathScanner.ClassNameFilter |
Java クラス名をフィルタして変換する IClassPathFilter 。
|
ClassPathScanner.ExternalClassNameFilter |
内部クラスを拒否する ClassNameFilter
|
CommandResult | コマンドの結果が含まれます。 |
ConditionPriorityBlockingQueue<T> |
特定の条件に一致するオブジェクトを取得できる ERROR(/PriorityBlockingQueue) のようなオペレーションを備えたスレッドセーフ クラス。
|
ConditionPriorityBlockingQueue.AlwaysMatch<T> |
任意のオブジェクトに一致する ConditionPriorityBlockingQueue.IMatcher 。
|
DeviceActionUtil | デバイス アクションを実行するユーティリティ クラス。 |
DeviceActionUtil.DeviceActionConfigError | 構成エラーの例外。 |
DeviceConcurrentUtil |
デバイス側のコマンドの同時実行用のユーティリティ メソッドとクラスが含まれています。
|
DeviceConcurrentUtil.ShellCommandCallable<V> |
ITestDevice でシェルコマンドの実行の詳細をラップする ERROR(/Callable) 。
|
DeviceRecoveryModeUtil | |
DirectedGraph<V> | 有向重みなしグラフの実装。 |
メール | メールを送信するヘルパークラス。 |
EmmaXmlConstants | emma xml レポートの解析時に使用される定数。 |
EnvironmentVariableUtil | 環境変数を準備するヘルパー メソッドのコレクション。 |
ExtensionAtomsRegistry | statsd のローカル使用用の ExtensionAtomsRegistry。 |
FakeTestsZipFolder | コンテンツのリストに基づいて、解凍されていないテスト用フォルダを作成します。 |
FileIdleMonitor | ファイルをモニタリングし、アイドル状態(つまり、 |
FileUtil | ファイル関連の操作用のヘルパークラス |
FileUtil.LowDiskSpaceException | 使用可能なディスク容量が最小しきい値を下回った場合にスローされます。 |
FixedByteArrayOutputStream |
最大量のデータのみを保持するメモリ内 ERROR(/OutputStream) 。
|
FlashingResourceUtil |
このユーティリティは、適切なバージョンのアーティファクトを設定して、DeviceFlashPreparer 経由でフラッシュできるようにするのに役立ちます。
|
FuseUtil | FUSE オペレーション用のヘルパークラス。 |
GceRemoteCmdFormatter | リモートの gce デバイスに到達するようにコマンドをフォーマットするユーティリティ クラス。 |
GCSBucketUtil | Google Cloud Storage(GCS)との間でファイルをダウンロードおよびアップロードするファイル マネージャー。 |
GCSBucketUtil.GCSFileMetadata | GCS のファイル情報のシンプルなラッパー。 |
GCSCommon | 廃止されました。代わりに com.android.tradefed.util.gcs.GCSCommon を使用してください。 |
GCSFileDownloader | Google Cloud Storage(GCS)からファイルをダウンロードするファイル ダウンローダー。 |
GCSFileUploader | ファイル アップローダー。ファイルデータを Google Cloud Storage(GCS)にアップロードします。 |
GCSHelper | |
GenericLogcatEventParser<LogcatEventType> | イベントの logcat 入力を解析します。 |
GenericLogcatEventParser.LogcatEvent | イベントタイプとトリガー ログカート メッセージを含むログカート イベントを保持する構造体 |
GoogleApiClientUtil | Google API クライアントの作成に使用するユーティリティ。 |
HprofAllocSiteParser | hprof レポートの [Allocation Sites] セクションから情報を解析するヘルパークラス。 |
IEmail.Message | メール メッセージ データのコンテナ。 |
JavaCodeCoverageFlusher | デバイス上で実行されているプロセスから Java コード カバレッジ測定値をリセットして強制的にフラッシュするユーティリティ クラス。 |
JUnit4TestFilter |
Filter を拡張して JUnit4 ランナーのフィルタリングを提供するヘルパークラス。
|
JUnitXmlParser | ant の XMLJUnitResultFormatter に保存されている JUnit 結果からテスト結果データを抽出し、ITestInvocationListener に転送するパーサー。 |
KernelModuleUtils | |
KeyguardControllerState | キーガード状態のコンテナ。 |
ListInstrumentationParser |
「pm list instrumentation」クエリの出力を解析する IShellOutputReceiver
|
ListInstrumentationParser.InstrumentationTarget | |
LocalRunInstructionBuilder | テストをローカルで実行するための命令をコンパイルするユーティリティ。 |
LogcatEventParser | |
MetricUtility | テスト指標の保存、類似テストでの指標の集計、指標のファイルへの書き込みを行う一般的なユーティリティ メソッドが含まれています。 |
ModuleTestTypeUtil | モジュールのチェックに使用する一般的なユーティリティ メソッドが含まれています。 |
MultiMap<K, V> |
キーごとに複数の値をサポートする ERROR(/Map) 。
|
NativeCodeCoverageFlusher | ネイティブ カバレッジ測定値を消去し、デバイスのプロセスからネイティブ カバレッジ データを強制的にフラッシュするユーティリティ クラス。 |
ペア<A, B> | 2 つのオブジェクトを含む独自の Pair クラスを定義します。 |
PerfettoTraceRecorder |
ITestDevice に Perfetto トレースを記録するためのユーティリティ クラス。
|
PrettyPrintDelimiter | 区切り付きのメッセージを目立つように出力するヘルパー ユーティリティ。 |
ProcessInfo | プロセス関連の情報(USER、PID、NAME、起動時間(エポックからの秒数))を保存するために使用されます。 |
ProcessUtil | |
PropertyChanger | Android プロパティ ファイル内のアイテムを変更(または追加)するためのユーティリティ クラス |
ProtoUtil | protobuf メッセージをタイプに依存せずに処理するためのユーティリティ メソッド。 |
PsParser | 「ps」コマンドの出力から解析(USER、PID、NAME)に使用されるユーティリティ |
PythonVirtualenvHelper | Python 3 仮想環境を有効にするヘルパー クラス。 |
QuotationAwareTokenizer | |
RegexTrie<V> |
RegexTrie は、キーの各ERROR(/Pattern) であるトライです。
|
RemoteZip | リモート zip ファイル内の個々のファイルを解凍するユーティリティ。 |
RequestUtil | エラー処理でネットワーク リクエストの一般的な再試行を可能にするユーティリティ。 |
ResourceUtil | 構成リソースの読み取り用ユーティリティ。 |
RestApiHelper | REST API 呼び出しを行うヘルパー クラス。 |
RunInterruptedException | 実行オペレーションが外部リクエストによって中断されたときにスローされます。 |
RunUtil | オペレーションの実行に使用するヘルパー メソッドのコレクション。 |
SearchArtifactUtil | テスト アーティファクトの検索に使用できるユーティリティ クラス。 |
SerializationUtil |
ERROR(/Serializable) を実装するオブジェクトをシリアル化/シリアル化解除するためのユーティリティ。
|
ShellOutputReceiverStream | IShellOutputReceiver に書き込む OutputStream のユーティリティ サブクラス。 |
SimplePerfResult | simpleperf のすべてのテスト結果を保持するオブジェクト |
SimplePerfStatResultParser | simpleperf の結果を解析するユーティリティ クラス。 |
SimplePerfUtil | 単純なコマンドをディスパッチして結果を収集するユーティリティ クラス |
SimpleStats | 数値データセットに基づいていくつかの統計指標を計算する小さなユーティリティ クラス。 |
SizeLimitedOutputStream |
書き込み可能なデータの最大量を制限する、スレッドセーフ ファイル バックの ERROR(/OutputStream) 。
|
Sl4aBluetoothUtil | ユーティリティ クラスは、SL4A を使用して 1 台または 2 台のデバイスで Bluetooth オペレーションを提供します。 |
SparseImageUtil | スパース画像のスパース化を解除するユーティリティ。 |
SparseImageUtil.SparseInputStream | SparseInputStream はアップストリームから読み取り、データ形式を検出します。 |
StreamUtil | 入力ストリームを管理するためのユーティリティ クラス。 |
StringEscapeUtils | 特定の形式の文字列をエスケープするためのユーティリティ クラス。 |
StringUtil | 一般的な文字列操作で文字列をエスケープするためのユーティリティ クラス。 |
SubprocessEventHelper | ログに渡すイベントをシリアル化/シリアル化解除するヘルパー。 |
SubprocessEventHelper.BaseTestEventInfo | TestIgnored 情報のベース ヘルパー。 |
SubprocessEventHelper.FailedTestEventInfo | testFailed 情報のヘルパー。 |
SubprocessEventHelper.InvocationEndedEventInfo | 呼び出しの終了に関する情報のヘルパー。 |
SubprocessEventHelper.InvocationFailedEventInfo | InvocationFailed 情報のヘルパー。 |
SubprocessEventHelper.InvocationStartedEventInfo | 呼び出し開始情報のヘルパー。 |
SubprocessEventHelper.LogAssociationEventInfo | logAssociation 情報のヘルパー。 |
SubprocessEventHelper.SkippedTestEventInfo | |
SubprocessEventHelper.TestEndedEventInfo | testEnded 情報のヘルパー。 |
SubprocessEventHelper.TestLogEventInfo | testLog 情報のヘルパー。 |
SubprocessEventHelper.TestModuleStartedEventInfo | テスト モジュールの開始情報のヘルパー。 |
SubprocessEventHelper.TestRunEndedEventInfo | testRunEnded 情報のヘルパー。 |
SubprocessEventHelper.TestRunFailedEventInfo | testRunFailed 情報のヘルパー |
SubprocessEventHelper.TestRunStartedEventInfo | testRunStarted 情報のヘルパー |
SubprocessEventHelper.TestStartedEventInfo | testStarted 情報のヘルパー |
SubprocessExceptionParser | 標準の Tradefed コマンド ランナーからの例外出力を処理するヘルパー。 |
SubprocessTestResultsParser |
ERROR(/FileOutputStream) を拡張して、ファイルへの書き込み前に出力を解析し、ランチャー側でテストイベントを生成できるようにします。
|
SubprocessTestResultsParser.StatusKeys | 関連するテスト ステータスキー。 |
SystemUtil | システム呼び出しを行うユーティリティ クラス。 |
TableBuilder | 文字列要素のマトリックスをテーブルに表示するヘルパー クラス。 |
TableFormatter | 各要素の列が並べられるように、String 要素の行列を表示するヘルパークラス |
TargetFileUtils | |
TarUtil | tar ファイルを操作するユーティリティ。 |
TestFilterHelper | テストをフィルタするヘルパークラス |
TestRecordInterpreter |
TestRecord proto を Tradefed でより簡単に操作できる形式に変換するユーティリティ。
|
TestRunnerUtil | さまざまなテストランナーをサポートするユーティリティ クラス。 |
TfInternalOptionsFetcher | クラスが res ファイルから変数値を静的に読み込むことができるユーティリティ クラス。 |
TimeUtil | 時間関連のユーティリティ メソッドが含まれています。 |
TimeVal |
これは、Long をラップするセンチネル タイプです。
|
UniqueMultiMap<K, V> |
キーごとに一意の値を確保する MultiMap 。
|
VersionParser | 実行中の tradefed アーティファクトのバージョンを取得します。 |
ZipCompressionStrategy |
ZIP アーカイブを作成する ICompressionStrategy 。
|
ZipUtil | 圧縮関連の操作用のヘルパークラス |
ZipUtil2 | POSIX ファイル権限を考慮した ZIP 抽出用のヘルパークラス |
列挙型
AaptParser.AaptVersion | APK ファイルの解析に使用される AAPT バージョンのオプションの列挙型。 |
AppVersionFetcher.AppVersionInfo | アプリのバージョン情報の種類。 |
BinaryState | IGNORE 無効状態のオン/オフ状態を記録するために使用される列挙型。 |
CommandStatus | 時間指定オペレーションのステータスを表します。 |
DeviceActionUtil.Command | デバイス アクションのコマンド。 |
FakeTestsZipFolder.ItemType | |
GceRemoteCmdFormatter.ScpMode | SCP は、引数の構造に応じてファイルを push または pull するために使用できます。 |
IRunUtil.EnvPriority | 特定の環境を設定または設定解除するかどうかを定義する列挙型。 |
LogcatEventType |
LogcatEventParser のイベントタイプ。
|
SimplePerfUtil.SimplePerfType | simpleperf コマンド オプションの列挙型 |
Sl4aBluetoothUtil.BluetoothAccessLevel |
BluetoothDevice.java に基づく Bluetooth デバイスのアクセスレベルの列挙型
|
Sl4aBluetoothUtil.BluetoothConnectionState |
BluetoothProfile.java に基づく Bluetooth 接続状態の列挙型
|
Sl4aBluetoothUtil.BluetoothPriorityLevel |
BluetoothProfile.java に基づく Bluetooth プロファイルの優先度の列挙型
|
Sl4aBluetoothUtil.BluetoothProfile |
BluetoothProfile.java に基づく Bluetooth プロファイルの列挙型
|
SystemUtil.EnvVariable | |
TargetFileUtils.FilePermission |
インターフェース
クラス
- AaptParser
- AbiFormatter
- AbiUtils
- AdbRootElevator
- AdbUtils
- AppVersionFetcher
- ArrayUtil
- BluetoothUtils
- バグレポート
- BuildInfoUtil
- BuildTestsZipUtils
- BulkEmailer
- BundletoolUtil
- ByteArrayList
- ByteArrayUtil
- CacheClientFactory
- CircularAtraceUtil
- CircularByteArray
- ClangProfileIndexer
- ClassPathScanner
- ClassPathScanner.ClassNameFilter
- ClassPathScanner.ExternalClassNameFilter
- CommandResult
- ConditionPriorityBlockingQueue
- ConditionPriorityBlockingQueue.AlwaysMatch
- DeviceActionUtil
- DeviceActionUtil.DeviceActionConfigError
- DeviceConcurrentUtil
- DeviceConcurrentUtil.ShellCommandCallable
- DeviceRecoveryModeUtil
- DirectedGraph
- メール
- EmmaXmlConstants
- EnvironmentVariableUtil
- ExtensionAtomsRegistry
- FakeTestsZipFolder
- FileIdleMonitor
- FileUtil
- FileUtil.LowDiskSpaceException
- FixedByteArrayOutputStream
- FlashingResourceUtil
- FuseUtil
- GceRemoteCmdFormatter
- GCSBucketUtil
- GCSBucketUtil.GCSFileMetadata
- GCSCommon
- GCSFileDownloader
- GCSFileUploader
- GCSHelper
- GenericLogcatEventParser
- GenericLogcatEventParser.LogcatEvent
- GoogleApiClientUtil
- HprofAllocSiteParser
- IEmail.Message
- JavaCodeCoverageFlusher
- JUnit4TestFilter
- JUnitXmlParser
- KernelModuleUtils
- KeyguardControllerState
- ListInstrumentationParser
- ListInstrumentationParser.InstrumentationTarget
- LocalRunInstructionBuilder
- LogcatEventParser
- MetricUtility
- ModuleTestTypeUtil
- MultiMap
- NativeCodeCoverageFlusher
- ペア設定
- PerfettoTraceRecorder
- PrettyPrintDelimiter
- ProcessInfo
- ProcessUtil
- PropertyChanger
- ProtoUtil
- PsParser
- PythonVirtualenvHelper
- QuotationAwareTokenizer
- RegexTrie
- RemoteZip
- RequestUtil
- ResourceUtil
- RestApiHelper
- RunInterruptedException
- RunUtil
- SearchArtifactUtil
- SerializationUtil
- ShellOutputReceiverStream
- SimplePerfResult
- SimplePerfStatResultParser
- SimplePerfUtil
- SimpleStats
- SizeLimitedOutputStream
- Sl4aBluetoothUtil
- SparseImageUtil
- SparseImageUtil.SparseInputStream
- StreamUtil
- StringEscapeUtils
- StringUtil
- SubprocessEventHelper
- SubprocessEventHelper.BaseTestEventInfo
- SubprocessEventHelper.FailedTestEventInfo
- SubprocessEventHelper.InvocationEndedEventInfo
- SubprocessEventHelper.InvocationFailedEventInfo
- SubprocessEventHelper.InvocationStartedEventInfo
- SubprocessEventHelper.LogAssociationEventInfo
- SubprocessEventHelper.SkippedTestEventInfo
- SubprocessEventHelper.TestEndedEventInfo
- SubprocessEventHelper.TestLogEventInfo
- SubprocessEventHelper.TestModuleStartedEventInfo
- SubprocessEventHelper.TestRunEndedEventInfo
- SubprocessEventHelper.TestRunFailedEventInfo
- SubprocessEventHelper.TestRunStartedEventInfo
- SubprocessEventHelper.TestStartedEventInfo
- SubprocessExceptionParser
- SubprocessTestResultsParser
- SubprocessTestResultsParser.StatusKeys
- SystemUtil
- TableBuilder
- TableFormatter
- TargetFileUtils
- TarUtil
- TestFilterHelper
- TestRecordInterpreter
- TestRunnerUtil
- TfInternalOptionsFetcher
- TimeUtil
- TimeVal
- UniqueMultiMap
- VersionParser
- ZipCompressionStrategy
- ZipUtil
- ZipUtil2
列挙型
- AaptParser.AaptVersion
- AppVersionFetcher.AppVersionInfo
- BinaryState
- CommandStatus
- DeviceActionUtil.Command
- FakeTestsZipFolder.ItemType
- GceRemoteCmdFormatter.ScpMode
- IRunUtil.EnvPriority
- LogcatEventType
- SimplePerfUtil.SimplePerfType
- Sl4aBluetoothUtil.BluetoothAccessLevel
- Sl4aBluetoothUtil.BluetoothConnectionState
- Sl4aBluetoothUtil.BluetoothPriorityLevel
- Sl4aBluetoothUtil.BluetoothProfile
- SystemUtil.EnvVariable
- TargetFileUtils.FilePermission