BuildInfoRecorder

public class BuildInfoRecorder
extends Object implements ITargetPreparer

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


An ITargetPreparer that writes build info meta data into a specified file.

The file is written in simple key-value pair format; each line of the file has:
key=value
where key is a meta data field from IBuildInfo

Currently, only build id is written.

Summary

Public constructors

BuildInfoRecorder()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Public constructors

BuildInfoRecorder

BuildInfoRecorder ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device ITestDevice: the ITestDevice to prepare.

buildInfo IBuildInfo: data about the build under test.

Throws
TargetSetupError
BuildError
DeviceNotAvailableException