Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
DependenciesResolver
public
class
DependenciesResolver
extends Object
implements
IBuildProvider,
IConfigurationReceiver,
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 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.
getBuild
public IBuildInfo getBuild (ITestDevice device)
Retrieve the data for build under test
Parameters |
device |
ITestDevice : the ITestDevice allocated for test |
getDependencies
public final getDependencies ()
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration
in use.
Parameters |
configuration |
IConfiguration |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
Parameters |
invocationContext |
IInvocationContext |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-13 UTC.
[null,null,["Last updated 2024-08-13 UTC."],[],[]]