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(TestInformation testInfo)

Public constructors

BuildInfoRecorder

public BuildInfoRecorder ()

Public methods

setUp

public void setUp (TestInformation testInfo)

Parameters
testInfo TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError