public class

KernelFlashPreparer

extends Object
implements ITargetPreparer
java.lang.Object
   ↳ com.android.tradefed.targetprep.KernelFlashPreparer

Class Overview

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().

[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.targetprep.ITargetPreparer

Public Constructors

public KernelFlashPreparer ()

Public Methods

public 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 the ITestDevice to prepare.
buildInfo data about the build under test.