A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
BaseEmulatorPreparer
public
abstract
class
BaseEmulatorPreparer
extends BaseTargetPreparer
Classi di sottoclasse dirette note
LocalEmulatorLaunch |
Un TargetPreparer che avvia un emulatore in locale da un ambiente di build Android.
|
LocalEmulatorSnapshot |
Un TargetPreparer destinato a generare uno snapshot dell'emulatore pulito da un ambiente di compilazione/sviluppo Android
|
|
Preparatore comune per l'avvio di un emulatore locale.
Gestisce l'input e l'elaborazione degli argomenti comuni.
Riepilogo
Costruttori pubblici
BaseEmulatorPreparer
public BaseEmulatorPreparer ()
Metodi protetti
buildEmulatorLaunchArgs
protected buildEmulatorLaunchArgs ()
buildRunUtilForEmulatorLaunch
protected RunUtil buildRunUtilForEmulatorLaunch ()
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# BaseEmulatorPreparer\n====================\n\n\n`\npublic\n\n\nabstract\nclass\nBaseEmulatorPreparer\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[BaseTargetPreparer](../../../../../../reference/tradefed/com/android/tradefed/targetprep/BaseTargetPreparer.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|------------------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.android.tradefed.targetprep.BaseTargetPreparer](../../../../../../reference/tradefed/com/android/tradefed/targetprep/BaseTargetPreparer.html) ||\n| | ↳ | com.android.tradefed.targetprep.BaseEmulatorPreparer |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known direct subclasses [LocalEmulatorLaunch](../../../../../../reference/tradefed/com/android/tradefed/targetprep/LocalEmulatorLaunch.html), [LocalEmulatorSnapshot](../../../../../../reference/tradefed/com/android/tradefed/targetprep/LocalEmulatorSnapshot.html) |--------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| | [LocalEmulatorLaunch](../../../../../../reference/tradefed/com/android/tradefed/targetprep/LocalEmulatorLaunch.html) | A TargetPreparer that launches an emulator locally from an android build environment. | | [LocalEmulatorSnapshot](../../../../../../reference/tradefed/com/android/tradefed/targetprep/LocalEmulatorSnapshot.html) | A TargetPreparer intended for generating a clean emulator snapshot from a android build/development environment | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nCommon preparer for launching a local emulator.\n\nHandles input and processing of common arguments.\n\nSummary\n-------\n\n| ### Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[BaseEmulatorPreparer](../../../../../../reference/tradefed/com/android/tradefed/targetprep/BaseEmulatorPreparer.html#BaseEmulatorPreparer())`() ` |\n\n| ### Protected methods ||\n|-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` ` | ` `[buildEmulatorLaunchArgs](../../../../../../reference/tradefed/com/android/tradefed/targetprep/BaseEmulatorPreparer.html#buildEmulatorLaunchArgs())`() ` |\n| ` `[RunUtil](../../../../../../reference/tradefed/com/android/tradefed/util/RunUtil.html) | ` `[buildRunUtilForEmulatorLaunch](../../../../../../reference/tradefed/com/android/tradefed/targetprep/BaseEmulatorPreparer.html#buildRunUtilForEmulatorLaunch())`() ` |\n\nPublic constructors\n-------------------\n\n### BaseEmulatorPreparer\n\n```\npublic BaseEmulatorPreparer ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nProtected methods\n-----------------\n\n### buildEmulatorLaunchArgs\n\n```\nprotected buildEmulatorLaunchArgs ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|--------|\n| | \u003cbr /\u003e |\n\n### buildRunUtilForEmulatorLaunch\n\n```\nprotected RunUtil buildRunUtilForEmulatorLaunch ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------------------------------------------------------------------------------------|--------|\n| [RunUtil](../../../../../../reference/tradefed/com/android/tradefed/util/RunUtil.html) | \u003cbr /\u003e |"]]