GsiDeviceFlashPreparer
public class GsiDeviceFlashPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.GsiDeviceFlashPreparer |
Un preparatore di target che esegue il flashing del dispositivo con l'immagine generica del sistema Android. Per i dettagli, consultare https://source.android.com/setup/build/gsi.
Riepilogo
Costruttori pubblici | |
---|---|
GsiDeviceFlashPreparer () |
Metodi pubblici | |
---|---|
void | setUp ( TestInformation testInfo) Eseguire la configurazione del target per il test. |
Metodi protetti | |
---|---|
IHostOptions | getHostOptions () Ottieni un riferimento a |
IRunUtil | getRunUtil () Ottieni l'istanza |
Costruttori pubblici
GsiDeviceFlashPreparer
public GsiDeviceFlashPreparer ()
Metodi pubblici
impostare
public void setUp (TestInformation testInfo)
Eseguire la configurazione del target per il test.
Parametri | |
---|---|
testInfo | TestInformation : TestInformation dell'invocazione. |
Lancia | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
Metodi protetti
getHostOptions
protected IHostOptions getHostOptions ()
Ottieni un riferimento a IHostOptions
ritorna | |
---|---|
IHostOptions | le IHostOptions da utilizzare |