GsiDeviceFlashPreparer

public class GsiDeviceFlashPreparer
extends BaseTargetPreparer implements ILabPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.GsiDeviceFlashPreparer


Narzędzie do przygotowywania urządzeń docelowych, które flashuje urządzenie za pomocą ogólnego obrazu systemu Android. Więcej informacji znajdziesz na stronie https://source.android.com/setup/build/gsi.

Podsumowanie

Konstruktory publiczne

GsiDeviceFlashPreparer()

Metody publiczne

void setUp(TestInformation testInfo)

Przeprowadź konfigurację docelową na potrzeby testowania.

Chronione metody

IHostOptions getHostOptions()

Pobieranie referencji do IHostOptions

IRunUtil getRunUtil()

Uzyskaj instancję IRunUtil, której chcesz użyć.

Konstruktory publiczne

GsiDeviceFlashPreparer

public GsiDeviceFlashPreparer ()

Metody publiczne

setUp

public void setUp (TestInformation testInfo)

Przeprowadź konfigurację docelową na potrzeby testowania.

Parametry
testInfo TestInformation: TestInformation wywołania.

Rzuty
BuildError
DeviceNotAvailableException
TargetSetupError

Chronione metody

getHostOptions

protected IHostOptions getHostOptions ()

Pobieranie referencji do IHostOptions

Zwroty
IHostOptions IHostOptions do użycia

getRunUtil

protected IRunUtil getRunUtil ()

Uzyskaj instancję IRunUtil, której chcesz użyć.

Zwroty
IRunUtil IRunUtil do użycia