DeviceBuildInfoInjector

public class DeviceBuildInfoInjector
extends Object implements ITargetPreparer

java.lang.Object
   ↳ 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)

Perform the target setup for testing.

Public constructors

DeviceBuildInfoInjector

DeviceBuildInfoInjector ()

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