BuildInfoRecorder

public class BuildInfoRecorder
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ 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)

Public constructors

BuildInfoRecorder

public BuildInfoRecorder ()

Public methods

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
BuildError
DeviceNotAvailableException