Google 致力于为黑人社区推动种族平等。查看具体举措

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

public DeviceBuildInfoInjector ()

Public methods

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
BuildError
DeviceNotAvailableException
TargetSetupError