GsiDeviceFlashPreparer

public class GsiDeviceFlashPreparer
extends BaseTargetPreparer

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


A target preparer that flashes the device with android generic system image. Please see https://source.android.com/setup/build/gsi for details.

Summary

Public constructors

GsiDeviceFlashPreparer()

Public methods

void setUp(TestInformation testInfo)

Protected methods

IHostOptions getHostOptions()

Get a reference to the IHostOptions

IRunUtil getRunUtil()

Get the IRunUtil instance to use.

Public constructors

GsiDeviceFlashPreparer

public GsiDeviceFlashPreparer ()

Public methods

setUp

public void setUp (TestInformation testInfo)

Parameters
testInfo TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError

Protected methods

getHostOptions

protected IHostOptions getHostOptions ()

Get a reference to the IHostOptions

Returns
IHostOptions the IHostOptions to use

getRunUtil

protected IRunUtil getRunUtil ()

Get the IRunUtil instance to use.

Returns
IRunUtil the IRunUtil to use