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.
CtsLaunchControlProvider
public
class
CtsLaunchControlProvider
extends LaunchControlProvider
implements
IDiscoverDependencies
A LaunchControlProvider for a CTS build.
Retrieves and extracts a CTS zip from the Android build server. The extracted CTS is
represented as a IFolderBuildInfo.
Summary
Fields
CONFIG_ONLY_REGEX
public static final Set<String> CONFIG_ONLY_REGEX
JARS_AND_CONFIG_REGEX
public static final Set<String> JARS_AND_CONFIG_REGEX
Public constructors
CtsLaunchControlProvider
public CtsLaunchControlProvider ()
Public methods
public void cleanExtra ()
cleanUp
public void cleanUp (IBuildInfo info)
Clean up any temporary build files.
| Parameters |
info |
IBuildInfo |
getForceCas
public boolean getForceCas ()
reportTestZipFileFilter
public Set<String> reportTestZipFileFilter ()
public void setCtsExtra (List<String> ctsExtra)
public void setCtsExtraAltPath (File altPath)
setCtsForcePartialDownloadRegex
public void setCtsForcePartialDownloadRegex (Set<String> ctsForcePartialDownloadRegex)
| Parameters |
ctsForcePartialDownloadRegex |
Set |
setCtsPackageName
public void setCtsPackageName (String ctsZipName)
| Parameters |
ctsZipName |
String |
setCtsUsePartialDownload
public void setCtsUsePartialDownload (boolean shouldUsePartialDownload)
| Parameters |
shouldUsePartialDownload |
boolean |
setDefaultRollout
public void setDefaultRollout (boolean defaultRollout)
| Parameters |
defaultRollout |
boolean |
setDelayDownloadinSharding
public void setDelayDownloadinSharding (boolean delayDownload)
| Parameters |
delayDownload |
boolean |
setForceDisablePartialDownloadExperiment
public void setForceDisablePartialDownloadExperiment (boolean forceDisablePartialDownloadExperiment)
| Parameters |
forceDisablePartialDownloadExperiment |
boolean |
setPartialDownloadDefaultRollout
public void setPartialDownloadDefaultRollout (Set<String> partialDownloadDefaultRollout)
| Parameters |
partialDownloadDefaultRollout |
Set |
setPartialDownloadDisallowList
public void setPartialDownloadDisallowList (Set<String> partialDownloadDisallowList)
| Parameters |
partialDownloadDisallowList |
Set |
setPartialDownloadRolloutArtifact
public void setPartialDownloadRolloutArtifact (String partialDownloadRolloutArtifact)
| Parameters |
partialDownloadRolloutArtifact |
String |
public void setThrowIfExtraNotFound (boolean shouldThrow)
| Parameters |
shouldThrow |
boolean |
Protected methods
downloadBuildFiles
protected 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
protected RemoteBuildInfo queryForBuild ()
Perform the launch control query, retrying multiple times in case of error.
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."],[],[]]