2026 年より、トランク安定版開発モデルに沿ってエコシステムのプラットフォームの安定性を確保するため、第 2 四半期と第 4 四半期に AOSP にソースコードを公開します。AOSP のビルドとコントリビューションには、aosp-main ではなく android-latest-release を使用することをおすすめします。android-latest-release マニフェスト ブランチは、常に AOSP にプッシュされた最新のリリースを参照します。詳細については、AOSP の変更点をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
IClusterClient
public
interface
IClusterClient
| com.android.tradefed.cluster.IClusterClient
|
TFC バックエンドとやり取りするためのインターフェース。
概要
定数
TYPE_NAME
public static final String TYPE_NAME
一意の構成オブジェクト タイプ名。GlobalConfiguration からシングルトン インスタンスを取得するために使用されます。
定数値:
"cluster_client"
パブリック メソッド
getCommandState
public abstract ClusterCommand.State getCommandState (String requestId,
String commandId)
クラスタ コマンドの状態を確認する。
| パラメータ |
requestId |
String: クラスタ リクエスト ID |
commandId |
String: クラスタ コマンド ID |
getCommandStatus
public ClusterCommandStatus getCommandStatus (String requestId,
String commandId)
クラスタ コマンドのコマンド ステータス(ステータスと、キャンセルされた場合はキャンセル理由)を取得します。
| パラメータ |
requestId |
String: クラスタ リクエスト ID |
commandId |
String: クラスタ コマンド ID |
getTestContext
public abstract TestContext getTestContext (String requestId,
String commandId)
| パラメータ |
requestId |
String |
commandId |
String |
getTestEnvironment
public abstract TestEnvironment getTestEnvironment (String requestId)
リクエストの TestEnvironment を取得します。
| 例外 |
|
IOException |
|
org.json.JSONException |
JSONException |
|
getTestResources
public abstract getTestResources (String requestId)
リクエストの TestResource を取得します。
| 例外 |
|
IOException |
|
org.json.JSONException |
JSONException |
|
leaseHostCommands
public abstract leaseHostCommands (String clusterId,
String hostname,
devices,
nextClusterIds,
int maxTasksTolease)
指定されたホストに ClusterCommand をリースします。
| パラメータ |
clusterId |
String: ホストのクラスタ ID |
hostname |
String: ホスト名 |
devices |
: ホストが持つ deviceInfos |
nextClusterIds |
: コマンドをリースする次のクラスタ ID のリスト。 |
maxTasksTolease |
int: 現在リースできるタスクの最大数 |
| 例外 |
|
org.json.JSONException |
JSONException |
|
updateTestContext
public abstract void updateTestContext (String requestId,
String commandId,
TestContext testContext)
| パラメータ |
requestId |
String |
commandId |
String |
testContext |
TestContext |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[]]