DeviceBuildInfoInjector

public class DeviceBuildInfoInjector
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.DeviceBuildInfoInjector


A ITargetPreparer that inserts DeviceBuildDescriptor metadata into the IBuildInfo.

Intended to be used for "unbundled" build types that want test reporters to use metadata about what device platform test was run on.

Summary

Public constructors

DeviceBuildInfoInjector()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Public constructors

DeviceBuildInfoInjector

DeviceBuildInfoInjector ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
BuildError
DeviceNotAvailableException