Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, use android-latest-release. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Trade Federation のグローバル構成
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Trade Federation(TF)のグローバル構成ファイルは、TF の初期化時に一度読み込まれるファイルです。この構成ファイルは TF のインスタンスの環境を定義するために使用されます。
グローバル構成ファイルを読み込む
TF グローバル構成ファイルは XML ファイルで、ローカル環境変数 TF_GLOBAL_CONFIG を設定することで指定できます。TF_GLOBAL_CONFIG が指定されていない場合、TF は、TF が現在実行されているパスから tf_global_config.xml という名前のファイルの検索を試みます。検索が失敗した場合、TF はデフォルトのグローバル構成ファイルを読み込みます。たとえば、TF をカスタム グローバル構成で起動するには次のコマンドを実行します。
TF_GLOBAL_CONFIG=/path/to/my/custom/good_tf_global_conf.xml tradefed.sh
グローバル構成ファイルの例
<configuration description="Example Global Config">
<device_manager class="com.android.tradefed.device.DeviceManager">
<option name="max-null-devices" value="10" />
</device_manager>
</configuration>
上記の例では、「null-device」プレースホルダの数が、DeviceManager 内で定義されているデフォルト値の代わりに 10 に設定されています。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2026-06-18 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"]],["最終更新日 2026-06-18 UTC。"],[],[]]