Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, use android-latest-release. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
BuildApiFlashingResourcesRetriever
public
class
BuildApiFlashingResourcesRetriever
extends Object
implements
IFlashingResourcesRetriever
| java.lang.Object
|
| ↳ |
com.google.android.tradefed.targetprep.BuildApiFlashingResourcesRetriever
|
A IFlashingResourcesRetriever that retrieves auxiliary image files from android build
apiary, fallback to nfs if the apiary is not available.
Summary
Public methods |
File
|
retrieveFile(String imageName, String version)
Returns the image file with given name and version
|
Public constructors
BuildApiFlashingResourcesRetriever
public BuildApiFlashingResourcesRetriever (String deviceProductType,
String buildEnvironment)
Constructor
| Parameters |
deviceProductType |
String: type of the device |
buildEnvironment |
String: the Build API environment to download from |
Public methods
retrieveFile
public File retrieveFile (String imageName,
String version)
Returns the image file with given name and version
| Parameters |
imageName |
String: the name of the image (ie radio) |
version |
String: the version of the file to return |
| Returns |
File |
a temporary local image File |
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 2026-06-22 UTC.
[null,null,["Last updated 2026-06-22 UTC."],[],[]]