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

LocalDeviceBuildProvider

public class LocalDeviceBuildProvider
extends StubBuildProvider

java.lang.Object
   ↳ com.android.tradefed.build.StubBuildProvider
     ↳ com.android.tradefed.build.LocalDeviceBuildProvider


A IBuildProvider that constructs a IDeviceBuildInfo based on a provided filesystem directory path.

Specific device build files are recognized based on a configurable set of patterns.

Summary

Public constructors

LocalDeviceBuildProvider()

Public methods

void cleanUp(IBuildInfo info)

Clean up any temporary build files.

IBuildInfo getBuild()

Retrieve the data for build under test.

File getTestDir()

Returns the directory where the tests are located.

Public constructors

LocalDeviceBuildProvider

public LocalDeviceBuildProvider ()

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

getTestDir

public File getTestDir ()

Returns the directory where the tests are located.

Returns
File