KernelFlashPreparer

public class KernelFlashPreparer
extends Object implements ITargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.KernelFlashPreparer


A ITargetPreparer that flashes a kernel on the device.

Summary

Public constructors

KernelFlashPreparer()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Expects a KernelDeviceBuildInfo that returns non-null values for getMkbootimgFile() and getRamdiskFile().

Public constructors

KernelFlashPreparer

KernelFlashPreparer ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Perform the target setup for testing.

Expects a KernelDeviceBuildInfo that returns non-null values for getMkbootimgFile() and getRamdiskFile().

Parameters
device ITestDevice: the ITestDevice to prepare.

buildInfo IBuildInfo: data about the build under test.

Throws
TargetSetupError
BuildError
DeviceNotAvailableException