GsiDeviceFlashPreparer

public class GsiDeviceFlashPreparer
extends BaseTargetPreparer implements ILabPreparer

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)

Perform the target setup for testing.

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)

Perform the target setup for testing.

Parameters
testInfo TestInformation: The TestInformation of the invocation.

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