Google is committed to advancing racial equity for Black communities. See how.

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

Public constructors

DeviceBuildInfoInjector

public DeviceBuildInfoInjector ()

Public methods

setUp

public void setUp (TestInformation testInfo)

Parameters
testInfo TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError