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

DependenciesResolver

public class DependenciesResolver
extends Object implements IBuildProvider, IDeviceBuildProvider, IInvocationContextReceiver

java.lang.Object
   ↳ com.android.tradefed.build.DependenciesResolver


A new type of provider that allows to get all the dependencies for a test.

Summary

Public constructors

DependenciesResolver()

Public methods

void cleanUp(IBuildInfo info)

Clean up any temporary build files.

IBuildInfo getBuild()

Retrieve the data for build under test.

IBuildInfo getBuild(ITestDevice device)

Retrieve the data for build under test

final getDependencies()
void setInvocationContext(IInvocationContext invocationContext)

Public constructors

DependenciesResolver

public DependenciesResolver ()

Public methods

cleanUp

public void cleanUp (IBuildInfo info)

Clean up any temporary build files.

Parameters
info IBuildInfo

getBuild

public IBuildInfo getBuild ()

Retrieve the data for build under test.

Returns
IBuildInfo the IBuildInfo for build under test or null if no build is available for testing

Throws
BuildRetrievalError

getBuild

public IBuildInfo getBuild (ITestDevice device)

Retrieve the data for build under test

Parameters
device ITestDevice: the ITestDevice allocated for test

Returns
IBuildInfo the IBuildInfo for build under test or null if no build is available for testing

Throws
BuildRetrievalError
DeviceNotAvailableException

getDependencies

public final  getDependencies ()

Returns

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Parameters
invocationContext IInvocationContext