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.
TfLaunchControlProvider
public
class
TfLaunchControlProvider
extends LaunchControlProvider
A LaunchControlProvider to retrieve a google-tradefed build as a IFolderBuildInfo.
Retrieves and extracts a google-tradefed.zip from the Android build server.
Summary
Public constructors
TfLaunchControlProvider
public TfLaunchControlProvider ()
Public methods
addConsideredEntryForContent
public void addConsideredEntryForContent (String entryName)
| Parameters |
entryName |
String |
cleanUp
public void cleanUp (IBuildInfo info)
Clean up any temporary build files.
| Parameters |
info |
IBuildInfo |
downloadBuildFiles
public IBuildInfo downloadBuildFiles (RemoteBuildInfo remoteBuild,
String testTargetName,
String buildName,
IFileDownloader downloader)
Download the necessary file keys as configured in --download-build-key from the
remoteBuild, and store them in a IBuildInfo.
| Parameters |
remoteBuild |
RemoteBuildInfo: the launch control server response |
testTargetName |
String: the test target name |
buildName |
String: the name of the build, as defined by launch control |
downloader |
IFileDownloader: the IFileDownloader to use to download build files |
queryForBuild
public RemoteBuildInfo queryForBuild ()
Perform the launch control query, retrying multiple times in case of error.
reportTestZipFileFilter
public Set<String> reportTestZipFileFilter ()
setAospFallback
public void setAospFallback (boolean fallbackToAosp)
Whether or not to fallback to getting the aosp version of the tradefed package.
| Parameters |
fallbackToAosp |
boolean |
wasFallbackUsed
public boolean wasFallbackUsed ()
Protected methods
downloadAdditionalFiles
protected void downloadAdditionalFiles (RemoteBuildInfo remoteBuild,
IFileDownloader downloader,
IBuildInfo localBuild)
| Parameters |
remoteBuild |
RemoteBuildInfo |
downloader |
IFileDownloader |
localBuild |
IBuildInfo |
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-22 UTC."],[],[]]