- cacheEntryExists(FileCache.Inputs) - Method in class com.android.builder.utils.FileCache
-
Returns true if the cache entry for the given list of inputs exists and is not
corrupted, and false otherwise.
- call() - Method in class com.android.builder.dexing.DexArchiveMergerCallable
-
- checkFileForApkPackaging(String, boolean) - Static method in class com.android.builder.packaging.PackagingUtils
-
Checks a file to make sure it should be packaged as standard resources.
- chooseNotNull(T, T) - Static method in class com.android.builder.core.DefaultProductFlavor
-
- CLASS_MATCHER - Static variable in interface com.android.builder.dexing.ClassFileInput
-
- CLASSES_ONLY - Static variable in class com.android.builder.packaging.JarMerger
-
- ClassFileEntry - Interface in com.android.builder.dexing
-
A single .class file abstraction.
- ClassFileInput - Interface in com.android.builder.dexing
-
This represents input containing .class files.
- ClassFileInputs - Class in com.android.builder.dexing
-
- ClassFileProviderFactory - Class in com.android.builder.dexing.r8
-
Provides ClassFileResourceProvider suitable for D8/R8 classpath and bootclasspath
entries.
- ClassFileProviderFactory(Collection<Path>) - Constructor for class com.android.builder.dexing.r8.ClassFileProviderFactory
-
- clear() - Method in class com.android.builder.files.FileCacheByPath
-
Clears the cache.
- cloneFrom(ProductFlavor) - Method in class com.android.builder.core.DefaultProductFlavor
-
- close() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
-
- close() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
- close() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
-
- close() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
-
- close() - Method in interface com.android.builder.merge.OpenableCloseable
-
Closes the object.
- close() - Method in class com.android.builder.packaging.JarMerger
-
- collectClasses(Collection<Path>) - Method in class com.android.builder.dexing.RuntimeAnnotatedClassCollector
-
Returns the set of paths to classes that are kept by the keepClassPredicate.
- com.android.builder.compiling - package com.android.builder.compiling
-
- com.android.builder.core - package com.android.builder.core
-
- com.android.builder.dependency - package com.android.builder.dependency
-
- com.android.builder.dependency.level2 - package com.android.builder.dependency.level2
-
- com.android.builder.desugaring - package com.android.builder.desugaring
-
- com.android.builder.dexing - package com.android.builder.dexing
-
- com.android.builder.dexing.r8 - package com.android.builder.dexing.r8
-
- com.android.builder.files - package com.android.builder.files
-
- com.android.builder.merge - package com.android.builder.merge
-
The merge package provides the implementation of an incremental merger.
- com.android.builder.multidex - package com.android.builder.multidex
-
- com.android.builder.packaging - package com.android.builder.packaging
-
- com.android.builder.png - package com.android.builder.png
-
- com.android.builder.sdk - package com.android.builder.sdk
-
- com.android.builder.signing - package com.android.builder.signing
-
- com.android.builder.testing - package com.android.builder.testing
-
- com.android.builder.utils - package com.android.builder.utils
-
- compareWithoutVersion(MavenCoordinates) - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
- compile(CompileResourceRequest, Job<AaptProcess>, ProcessOutputHandler) - Method in class com.android.builder.png.AaptProcess
-
Notifies the slave process of a new AAPT2 compile request, does not block on completion, the
notification will be issued through the job parameter's Job.finished() or Job.error(Throwable) ()} functions.
- compile(int, CompileResourceRequest, ProcessOutputHandler) - Method in class com.android.builder.png.QueuedCruncher
-
- compileAidlFile(File, File, File, File, Collection<String>, Iterable<File>, DependencyFileProcessor, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
-
Compiles the given aidl file.
- compileAllAidlFiles(Collection<File>, File, File, Collection<String>, Collection<File>, DependencyFileProcessor, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
-
Compiles all the aidl files found in the given source folders.
- compileAllRenderscriptFiles(Collection<File>, Collection<File>, File, File, File, File, int, boolean, int, boolean, boolean, Set<String>, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
-
Compiles all the renderscript files found in the given source folders.
- compileAllShaderFiles(File, File, List<String>, Map<String, List<String>>, File, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
-
Compiles all the shader files found in the given source folders.
- compileShaderFile(File, File, File, List<String>, Map<String, List<String>>, File, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
-
Compiles the given aidl file.
- computeAdditionalAndRequestedOptionalLibraries() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the list of additional and requested optional library jar files
- computeAdditionalAndRequestedOptionalLibraries(IAndroidTarget, List<LibraryRequest>, EvalIssueReporter) - Static method in class com.android.builder.core.BootClasspathBuilder
-
Returns the list of additional and requested optional library jar files
- computeApplicationHash(File) - Static method in class com.android.builder.packaging.PackagingUtils
-
Computes an "application hash", a reasonably unique identifier for an app.
- computeFilteredClasspath(IAndroidTarget, List<LibraryRequest>, EvalIssueReporter, File) - Static method in class com.android.builder.core.BootClasspathBuilder
-
- computeFullBootClasspath(IAndroidTarget, File) - Static method in class com.android.builder.core.BootClasspathBuilder
-
- computeRequestedAndFallBacks(List<String>) - Method in class com.android.builder.core.DefaultProductFlavor
-
Computes the requested value and the fallback list from the list of values provided in the
DSL
- concat() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
-
Algorithm that concatenates streams ensuring each stream ends with a UNIX newline character.
- connect(int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
-
- CONNECTED - Static variable in class com.android.builder.core.BuilderConstants
-
- ConnectedDevice - Class in com.android.builder.testing
-
Local device connected to with ddmlib.
- ConnectedDevice(IDevice, ILogger, long, TimeUnit) - Constructor for class com.android.builder.testing.ConnectedDevice
-
- ConnectedDeviceProvider - Class in com.android.builder.testing
-
DeviceProvider for locally connected devices.
- ConnectedDeviceProvider(File, int, ILogger) - Constructor for class com.android.builder.testing.ConnectedDeviceProvider
-
- convert(Stream<ClassFileEntry>, Path, boolean) - Method in class com.android.builder.dexing.DexArchiveBuilder
-
Converts the specified input, and writes it to the output dex archive.
- convertByteCode(Collection<File>, File, boolean, File, DexOptions, ProcessOutputHandler, int) - Method in class com.android.builder.core.DexByteCodeConverter
-
Converts the bytecode to Dalvik format
- copyOf(DexOptions) - Static method in class com.android.builder.core.DefaultDexOptions
-
- copyOf(VectorDrawablesOptions) - Static method in class com.android.builder.core.DefaultVectorDrawablesOptions
-
- create(Object) - Static method in class com.android.builder.core.DefaultApiVersion
-
- create(String, List<IncrementalFileMergerInput>) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
-
- create(String, List<IncrementalFileMergerInput>) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
-
A path needs to be created.
- create(String, InputStream) - Method in interface com.android.builder.merge.MergeOutputWriter
-
Creates a new path in the output.
- createD8DexBuilder(int, boolean, ClassFileProviderFactory, ClassFileProviderFactory, boolean, MessageReceiver) - Static method in class com.android.builder.dexing.DexArchiveBuilder
-
Creates an instance that is using d8 to convert class files to dex files.
- createD8DexMerger(MessageReceiver, int, boolean) - Static method in interface com.android.builder.dexing.DexArchiveMerger
-
Creates an instance of dex archive merger that is using d8 to merge dex files.
- createDxDexBuilder(DexArchiveBuilderConfig) - Static method in class com.android.builder.dexing.DexArchiveBuilder
-
Creates an instance that is using dx to convert class files to dex files.
- createDxDexMerger(DxContext, ForkJoinPool) - Static method in interface com.android.builder.dexing.DexArchiveMerger
-
Creates an instance of dex archive merger that is using dx to merge dex files.
- createExplodedAarLibrary(File, MavenCoordinates, String, String, File) - Static method in class com.android.builder.dependency.level2.AndroidDependency
-
- createFile(File, FileCache.Inputs, ExceptionRunnable) - Method in class com.android.builder.utils.FileCache
-
Creates an output file/directory by either copying it from the cache, or creating it first
via the given file creator callback function and caching it if the cached file/directory does
not yet exist.
- createFileInCacheIfAbsent(FileCache.Inputs, ExceptionConsumer<File>) - Method in class com.android.builder.utils.FileCache
-
Creates the cached output file/directory via the given file creator callback function if it
does not yet exist.
- createIfAbsent(ExceptionConsumer<File>) - Method in class com.android.builder.utils.SynchronizedFile
-
Executes an action that creates the file if it does not yet exist.
- createMainDexList(File, File, EnumSet<AndroidBuilder.MainDexListOption>) - Method in class com.android.builder.core.AndroidBuilder
-
- createMockableJar(File, File) - Method in class com.android.builder.testing.MockableJarGenerator
-
- createRemoteAndroidTestRunner(TestData, DeviceConnector) - Method in class com.android.builder.testing.OnDeviceOrchestratorTestRunner
-
- createRemoteAndroidTestRunner(TestData, DeviceConnector) - Method in class com.android.builder.testing.SimpleTestRunner
-
- crunch(File, File, Job<AaptProcess>) - Method in class com.android.builder.png.AaptProcess
-
Notifies the slave process of a new crunching request, does not block on completion, the
notification will be issued through the job parameter's Job.finished() or Job.error(Throwable) ()} functions.
- D8MainDexList - Class in com.android.builder.multidex
-
This is a utility class that is using D8 to get the main dex list.
- D8MainDexList.MainDexListException - Exception in com.android.builder.multidex
-
- DEBUG - Static variable in class com.android.builder.core.BuilderConstants
-
- debugSigningConfig(File) - Static method in class com.android.builder.signing.DefaultSigningConfig
-
- DEFAULT_ALIAS - Static variable in class com.android.builder.signing.DefaultSigningConfig
-
- DEFAULT_BUILD_TOOLS_REVISION - Static variable in class com.android.builder.core.AndroidBuilder
-
Default version of build tools that will be used if the user does not specify.
- DEFAULT_DEX_HEAP_SIZE - Static variable in class com.android.builder.core.DexByteCodeConverter
-
Amount of heap size that an "average" project needs for dexing in-process.
- DEFAULT_DONT_COMPRESS_EXTENSIONS - Static variable in class com.android.builder.packaging.PackagingUtils
-
Set of file formats which are already compressed, or don't compress well, same as the one
used by aapt.
- DEFAULT_PASSWORD - Static variable in class com.android.builder.signing.DefaultSigningConfig
-
- DefaultApiVersion - Class in com.android.builder.core
-
Basic implementation of ApiVersion
- DefaultApiVersion(int, String) - Constructor for class com.android.builder.core.DefaultApiVersion
-
- DefaultApiVersion(int) - Constructor for class com.android.builder.core.DefaultApiVersion
-
- DefaultApiVersion(String) - Constructor for class com.android.builder.core.DefaultApiVersion
-
- DefaultBuildType - Class in com.android.builder.core
-
- DefaultBuildType(String) - Constructor for class com.android.builder.core.DefaultBuildType
-
- DefaultDexOptions - Class in com.android.builder.core
-
Concrete implementation of DexOptions.
- DefaultDexOptions() - Constructor for class com.android.builder.core.DefaultDexOptions
-
- DefaultManifestParser - Class in com.android.builder.core
-
- DefaultManifestParser(File, BooleanSupplier) - Constructor for class com.android.builder.core.DefaultManifestParser
-
Builds instance of the parser, and parses the supplied file.
- DefaultProductFlavor - Class in com.android.builder.core
-
The configuration of a product flavor.
- DefaultProductFlavor(String) - Constructor for class com.android.builder.core.DefaultProductFlavor
-
Creates a ProductFlavor with a given name.
- DefaultProductFlavor(String, DefaultVectorDrawablesOptions) - Constructor for class com.android.builder.core.DefaultProductFlavor
-
- DefaultProductFlavor.DimensionRequest - Class in com.android.builder.core
-
Class representing a request with fallbacks.
- DefaultSdkLoader - Class in com.android.builder.sdk
-
Singleton-based implementation of SdkLoader for a standard SDK
- DefaultSigningConfig - Class in com.android.builder.signing
-
SigningConfig encapsulates the information necessary to access certificates in a keystore file
that can be used to sign APKs.
- DefaultSigningConfig(String) - Constructor for class com.android.builder.signing.DefaultSigningConfig
-
- DefaultVectorDrawablesOptions - Class in com.android.builder.core
-
Default implementation of VectorDrawablesOptions.
- DefaultVectorDrawablesOptions() - Constructor for class com.android.builder.core.DefaultVectorDrawablesOptions
-
- DelegateIncrementalFileMergerInput - Class in com.android.builder.merge
-
- DelegateIncrementalFileMergerInput(IncrementalFileMergerInput) - Constructor for class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
Creates a new input.
- DelegateIncrementalFileMergerOutput - Class in com.android.builder.merge
-
- DelegateIncrementalFileMergerOutput(IncrementalFileMergerOutput) - Constructor for class com.android.builder.merge.DelegateIncrementalFileMergerOutput
-
Creates a new output.
- delete() - Method in class com.android.builder.utils.FileCache
-
Deletes the cache directory and its contents.
- deleteOldCacheEntries(long) - Method in class com.android.builder.utils.FileCache
-
Deletes all the cache entries that were last modified before or at the given timestamp.
- Dependency - Class in com.android.builder.dependency.level2
-
Base attributes for a dependency element.
- Dependency(File, MavenCoordinates, String, String) - Constructor for class com.android.builder.dependency.level2.Dependency
-
- DependencyFileProcessor - Interface in com.android.builder.compiling
-
A Class that processes a dependency file after a compilation.
- DependencyMutableData - Class in com.android.builder.dependency
-
Mutable data for an Android dependency.
- DependencyMutableData() - Constructor for class com.android.builder.dependency.DependencyMutableData
-
- DependencyNode - Class in com.android.builder.dependency.level2
-
A node in the dependency graph.
- DependencyNode(Object, DependencyNode.NodeType, List<DependencyNode>, MavenCoordinates) - Constructor for class com.android.builder.dependency.level2.DependencyNode
-
- DependencyNode.NodeType - Enum in com.android.builder.dependency.level2
-
- DesugaringClassAnalyzer - Class in com.android.builder.desugaring
-
Analyzer implemented using ASM visitors to collect information about desugaring dependencies.
- DesugaringClassAnalyzer() - Constructor for class com.android.builder.desugaring.DesugaringClassAnalyzer
-
- DesugaringData - Class in com.android.builder.desugaring
-
This contains desugaring information for a single type, defined in a .class file or .jar whose
path is
DesugaringData.getPath().
- DesugaringGraph - Class in com.android.builder.desugaring
-
Class that keeps track of desugaring dependencies.
- DesugaringGraphs - Class in com.android.builder.desugaring
-
- DesugarProcessBuilder - Class in com.android.builder.core
-
A builder to create an information necessary to run Desugar in a separate JVM process.
- DesugarProcessBuilder(DesugarProcessArgs, Path) - Constructor for class com.android.builder.core.DesugarProcessBuilder
-
- DEVICE - Static variable in class com.android.builder.core.BuilderConstants
-
- DEX_ENTRY_FILTER - Static variable in class com.android.builder.dexing.DexArchives
-
- DexArchive - Interface in com.android.builder.dexing
-
Interface describing the DEX archive.
- DexArchiveBuilder - Class in com.android.builder.dexing
-
An abstract dex archive builder that converts input class files to dex files that are written to
dex archive.
- DexArchiveBuilder() - Constructor for class com.android.builder.dexing.DexArchiveBuilder
-
- DexArchiveBuilderConfig - Class in com.android.builder.dexing
-
Configuration object used to setup dx when creating a dex archive.
- DexArchiveBuilderConfig(DxContext, boolean, int, int, DexerTool, int, boolean) - Constructor for class com.android.builder.dexing.DexArchiveBuilderConfig
-
Creates a configuration object used to set up the dex archive conversion.
- DexArchiveBuilderException - Exception in com.android.builder.dexing
-
Exception thrown if something goes wrong when building a dex archive.
- DexArchiveBuilderException(String, Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveBuilderException
-
- DexArchiveBuilderException(Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveBuilderException
-
- DexArchiveEntry - Class in com.android.builder.dexing
-
A single DEX file in a dex archive.
- DexArchiveEntry(byte[], String, DexArchive) - Constructor for class com.android.builder.dexing.DexArchiveEntry
-
- DexArchiveMerger - Interface in com.android.builder.dexing
-
A dex archive merger that can merge dex files from multiple dex archives into one or more dex
files.
- DexArchiveMergerCallable - Class in com.android.builder.dexing
-
Helper class used to merge specified DEX files to a location.
- DexArchiveMergerCallable(Collection<Dex>, Path, DxContext) - Constructor for class com.android.builder.dexing.DexArchiveMergerCallable
-
- DexArchiveMergerException - Exception in com.android.builder.dexing
-
An exception thrown is dex archive merging fails.
- DexArchiveMergerException(Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
-
- DexArchiveMergerException(String) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
-
- DexArchiveMergerException(String, Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
-
- DexArchives - Class in com.android.builder.dexing
-
- DexByteCodeConverter - Class in com.android.builder.core
-
Java To Dex bytecode converter.
- DexByteCodeConverter(ILogger, TargetInfo, JavaProcessExecutor, boolean) - Constructor for class com.android.builder.core.DexByteCodeConverter
-
- DexerTool - Enum in com.android.builder.dexing
-
Tool used to dex the inputs.
- DexingType - Enum in com.android.builder.dexing
-
The type of dex we produce.
- DexMergerTool - Enum in com.android.builder.dexing
-
Tool used to merge dex files.
- DexMergingStrategy - Interface in com.android.builder.dexing
-
Strategy used to merge dex archives into a final DEX file(s).
- DexOptions - Interface in com.android.builder.core
-
- DexProcessBuilder - Class in com.android.builder.core
-
A builder to create a dex-specific ProcessInfoBuilder
- DexProcessBuilder(File) - Constructor for class com.android.builder.core.DexProcessBuilder
-
- DimensionRequest(String, ImmutableList<String>) - Constructor for class com.android.builder.core.DefaultProductFlavor.DimensionRequest
-
- disconnect(int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
-
- dontDownload() - Static method in class com.android.builder.sdk.SdkLibData
-
- download(Downloader, SettingsController) - Static method in class com.android.builder.sdk.SdkLibData
-
- DuplicatePathInIncrementalInputException - Exception in com.android.builder.merge
-
Exception thrown when more than one file with the same relative path is found in an incremental
input for a merge.
- DuplicatePathInIncrementalInputException(String) - Constructor for exception com.android.builder.merge.DuplicatePathInIncrementalInputException
-
Creates a new exception.
- DuplicateRelativeFileException - Exception in com.android.builder.merge
-
- DuplicateRelativeFileException(String) - Constructor for exception com.android.builder.merge.DuplicateRelativeFileException
-
Creates a new exception.
- DxDexArchiveMerger - Class in com.android.builder.dexing
-
Merges DEX files found in
DexArchives, and produces the final DEX file(s).
- DxDexArchiveMerger(DxContext, ForkJoinPool) - Constructor for class com.android.builder.dexing.DxDexArchiveMerger
-
Creates an instance of merger.
- DxDexArchiveMerger(DxContext, DexMergingStrategy, ForkJoinPool) - Constructor for class com.android.builder.dexing.DxDexArchiveMerger
-
- generate() - Method in class com.android.builder.compiling.BuildConfigGenerator
-
Generates the BuildConfig class.
- generate() - Method in class com.android.builder.compiling.ResValueGenerator
-
Generates the resource files
- generate(List<String>, List<Path>, Collection<Path>, Collection<Path>) - Static method in class com.android.builder.multidex.D8MainDexList
-
Returns the list of classes that should be kept in the main dex file for legacy multidex.
- generateApkData(File, File, String, String) - Method in class com.android.builder.core.AndroidBuilder
-
- generateApkDataEntryInManifest(int, int, File) - Static method in class com.android.builder.core.AndroidBuilder
-
- generateFile(File, File) - Method in class com.android.builder.png.VectorDrawableRenderer
-
- generateUnbundledWearApkData(File, String) - Method in class com.android.builder.core.AndroidBuilder
-
- get(File) - Method in class com.android.builder.files.FileCacheByPath
-
Obtains the cached file corresponding to the file with the given path.
- getAbis() - Method in class com.android.builder.testing.ConnectedDevice
-
- getAdb() - Method in class com.android.builder.sdk.SdkInfo
-
Returns the location of the adb tool.
- getAdditionalClasspath() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getAdditionalClasspath() - Method in class com.android.builder.dependency.level2.Dependency
-
- getAdditionalClasspath() - Method in class com.android.builder.dependency.level2.JavaDependency
-
- getAdditionalParameters() - Method in class com.android.builder.core.DefaultDexOptions
-
List of additional parameters to be passed to dx.
- getAdditionalParameters() - Method in interface com.android.builder.core.DexOptions
-
- getAddress() - Method in class com.android.builder.dependency.level2.Dependency
-
- getAddress() - Method in class com.android.builder.dependency.level2.DependencyNode
-
- getAddress() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
- getAffectedPackages() - Method in exception com.android.builder.sdk.InstallFailedException
-
- getAffectedPackages() - Method in exception com.android.builder.sdk.LicenceNotAcceptedException
-
- getAidlFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getAllDexToMerge() - Method in interface com.android.builder.dexing.DexMergingStrategy
-
Returns the current list of DEX files that can be merged.
- getAllDexToMerge() - Method in class com.android.builder.dexing.NaiveDexMergingStrategy
-
- getAllPaths() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
- getAllPaths() - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
-
- getAllPaths() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains all OS-independent paths of all files that in this input, regardless of being changed
or not.
- getAllPaths() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
-
- getAllPaths() - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
-
- getAnimationsDisabled() - Method in interface com.android.builder.testing.TestData
-
- getAnnotationsJar() - Method in class com.android.builder.sdk.SdkInfo
-
Returns the location of the annotations jar for compilation targets that are ≤ 15.
- getApiCodeName() - Method in class com.android.builder.testing.ConnectedDevice
-
- getApiLevel() - Method in class com.android.builder.core.DefaultApiVersion
-
- getApiLevel() - Method in class com.android.builder.testing.ConnectedDevice
-
- getApiString() - Method in class com.android.builder.core.DefaultApiVersion
-
- getApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
-
Returns the application ID.
- getApplicationId() - Method in interface com.android.builder.testing.TestData
-
Returns the application id.
- getArtifactFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getArtifactFile() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns the artifact location.
- getArtifactId() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
- getAssetsFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
- getBase() - Method in class com.android.builder.files.RelativeFile
-
Obtains the base directory or jar.
- getBaseDirectoryCount(ImmutableMap<RelativeFile, FileStatus>) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
-
Counts how many different base directories are there in a relative file set.
- getBootClasspath(boolean) - Method in class com.android.builder.core.AndroidBuilder
-
Helper method to get the boot classpath to be used during compilation.
- getBootClasspathAsStrings(boolean) - Method in class com.android.builder.core.AndroidBuilder
-
Helper method to get the boot classpath to be used during compilation.
- getBuildConfigFile() - Method in class com.android.builder.compiling.BuildConfigGenerator
-
- getBuildToolInfo() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the build tools for this builder.
- getBuildTools() - Method in class com.android.builder.sdk.TargetInfo
-
Returns the BuildToolInfo
- getCachedFile() - Method in class com.android.builder.utils.FileCache.QueryResult
-
Returns the path to the cached output file/directory, can be null if the cache does not
want to expose this information.
- getCacheDirectory() - Method in class com.android.builder.utils.FileCache
-
- getCauseOfCorruption() - Method in class com.android.builder.utils.FileCache.QueryResult
-
Returns a cause if the cache is corrupted, and null otherwise.
- getCfOptions() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getClassifier() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
- getClasspathFile() - Method in class com.android.builder.dependency.level2.Dependency
-
- getClasspathFile() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
- getClasspathFile() - Method in class com.android.builder.dependency.level2.JavaDependency
-
- getCodename() - Method in class com.android.builder.core.DefaultApiVersion
-
- getCoordForLocalJar(File) - Static method in class com.android.builder.dependency.level2.JavaDependency
-
- getCoordinates() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns the maven coordinates.
- getCreatedBy() - Method in class com.android.builder.core.AndroidBuilder
-
Obtains the "created by" tag for the packaged manifest.
- getDefaultNoCompressPredicate() - Static method in class com.android.builder.packaging.PackagingUtils
-
- getDensity() - Method in class com.android.builder.testing.ConnectedDevice
-
- getDependencies() - Method in class com.android.builder.dependency.level2.DependencyNode
-
Return the direct dependency of this node.
- getDependenciesPaths(Path) - Method in class com.android.builder.desugaring.DesugaringGraph
-
Returns a set of paths the given path is depending on.
- getDependentPaths(Path) - Method in class com.android.builder.desugaring.DesugaringGraph
-
Returns a set of paths that should be additionally processed, based on the changed input
path.
- getDeviceConfig() - Method in class com.android.builder.testing.ConnectedDevice
-
- getDevices() - Method in class com.android.builder.testing.ConnectedDeviceProvider
-
- getDexArchive() - Method in class com.android.builder.dexing.DexArchiveEntry
-
- getDexByteCodeConverter() - Method in class com.android.builder.core.AndroidBuilder
-
- getDexFileContent() - Method in class com.android.builder.dexing.DexArchiveEntry
-
Returns content of this DEX file.
- getDexInProcess() - Method in class com.android.builder.core.DefaultDexOptions
-
Whether to run the dx compiler as a separate process or inside the Gradle daemon JVM.
- getDexInProcess() - Method in interface com.android.builder.core.DexOptions
-
- getDexOptions() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getDimension() - Method in class com.android.builder.core.DefaultProductFlavor
- getDownloader() - Method in class com.android.builder.sdk.SdkLibData
-
Returns the downloader used to download the missing SDK components.
- getDxContext() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getErrorOut() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getExternalAnnotations() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getExtractedFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
- getExtractNativeLibs() - Method in class com.android.builder.core.DefaultManifestParser
-
- getExtractNativeLibs() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns value of the extractNativeLibs attribute of the application tag, if
present.
- getFallbacks() - Method in class com.android.builder.core.DefaultProductFlavor.DimensionRequest
-
- getFileInCache(FileCache.Inputs) - Method in class com.android.builder.utils.FileCache
-
Returns the path of the cached output file/directory that is unique to the given list of
inputs (different lists of inputs correspond to different cached files/directories).
- getFiles() - Method in interface com.android.builder.dexing.DexArchive
-
- getFileStatus(String) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
- getFileStatus(String) - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
-
- getFileStatus(String) - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains the status of a path in this input.
- getFileStatus(String) - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
-
- getFileStatus(String) - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
-
- getFilesToAdd() - Method in class com.android.builder.core.DexProcessBuilder
-
- getFilesToBeGenerated(File) - Method in class com.android.builder.png.VectorDrawableRenderer
-
- getFlavorName() - Method in interface com.android.builder.testing.TestData
-
Returns the flavor name being test.
- getFolderPath() - Method in class com.android.builder.compiling.BuildConfigGenerator
-
Returns a File representing where the BuildConfig class will be.
- getFolderPath() - Method in class com.android.builder.compiling.ResValueGenerator
-
Returns a File representing where the BuildConfig class will be.
- getFullAaptOutput(File) - Method in class com.android.builder.core.ApkInfoParser
-
Returns the full aapt manifest dump output.
- getFunctionalTest() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the functionalTest for instrumentation in the manifest file processed by this parser.
- getFunctionalTest() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the functionalTest from the instrumentation tag in the manifest file.
- getGeneratedDensities() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
-
Densities used when generating PNGs from vector drawables at build time.
- getGroupId() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
- getHandleProfiling() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the handleProfiling for instrumentation in the manifest file processed by this parser.
- getHandleProfiling() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the handleProfiling from the instrumentation tag in the manifest file.
- getHeight() - Method in class com.android.builder.testing.ConnectedDevice
-
- getId() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
-
- getIDevice() - Method in class com.android.builder.testing.ConnectedDevice
-
Returns the corresponding IDevice.
- getInBufferSize() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getInput() - Method in interface com.android.builder.dexing.ClassFileEntry
-
- getInputs() - Method in class com.android.builder.core.DexProcessBuilder
-
- getInstanceWithMultiProcessLocking(File) - Static method in class com.android.builder.utils.FileCache
-
Returns a FileCache instance where synchronization takes effect for threads both
within the same process and across different processes.
- getInstanceWithMultiProcessLocking(File) - Static method in class com.android.builder.utils.SynchronizedFile
-
Returns a SynchronizedFile instance for the given file, where synchronization on the
same file takes effect for threads both within the same process and across different
processes (two files are the same if they refer to the same physical file).
- getInstanceWithSingleProcessLocking(File) - Static method in class com.android.builder.utils.FileCache
-
Returns a FileCache instance where synchronization takes effect for threads within
the same process but not for threads across different processes.
- getInstanceWithSingleProcessLocking(File) - Static method in class com.android.builder.utils.SynchronizedFile
-
Returns a SynchronizedFile instance for the given file, where synchronization on the
same file takes effect for threads within the same process but not for threads across
different processes (two files are the same if they refer to the same physical file).
- getInstrumentationRunner() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the instrumentation runner for the manifest file processed by this parser.
- getInstrumentationRunner() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the instrumentation runner from the instrumentation tag in the manifest file.
- getInstrumentationRunner() - Method in interface com.android.builder.testing.TestData
-
- getInstrumentationRunnerArguments() - Method in interface com.android.builder.testing.TestData
-
- getIssueReporter() - Method in class com.android.builder.core.AndroidBuilder
-
- getJarFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getJarFile() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
Returns the location of the jar file to use for either packaging or compiling depending on
the bundle type.
- getJarsRootFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getJavaMaxHeapSize() - Method in class com.android.builder.core.DefaultDexOptions
-
Specifies the -Xmx value when calling dx.
- getJavaMaxHeapSize() - Method in interface com.android.builder.core.DexOptions
-
- getJavaProcessExecutor() - Method in class com.android.builder.core.AndroidBuilder
-
- getJniFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getJumboMode() - Method in class com.android.builder.core.DefaultDexOptions
-
Enable jumbo mode in dx (--force-jumbo).
- getJumboMode() - Method in interface com.android.builder.core.DexOptions
-
- getKeepRuntimeAnnotatedClasses() - Method in class com.android.builder.core.DefaultDexOptions
-
Keep all classes with runtime annotations in the main dex in legacy multidex.
- getKeepRuntimeAnnotatedClasses() - Method in interface com.android.builder.core.DexOptions
-
- getKey() - Method in class com.android.builder.utils.FileCache.Inputs
-
Returns a key representing this list of input parameters.
- getKeyAlias() - Method in class com.android.builder.signing.DefaultSigningConfig
-
- getKeyPassword() - Method in class com.android.builder.signing.DefaultSigningConfig
-
- getLanguage() - Method in class com.android.builder.testing.ConnectedDevice
-
- getLintJar() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getLoader(File) - Static method in class com.android.builder.sdk.DefaultSdkLoader
-
- getLoader(File) - Static method in class com.android.builder.sdk.PlatformLoader
-
- getLocalJars() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
returns the list of local jar for this android AAR.
- getLockFile(File) - Static method in class com.android.builder.utils.SynchronizedFile
-
Returns the path to the lock file that has been or will be created next to the file being
synchronized under the same parent directory.
- getLogger() - Method in class com.android.builder.core.AndroidBuilder
-
- getMainDexList() - Method in class com.android.builder.core.DexProcessBuilder
-
- getManifest() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
- getMaxProcessCount() - Method in class com.android.builder.core.DefaultDexOptions
-
Returns the maximum number of concurrent processes that can be used to dex.
- getMaxProcessCount() - Method in interface com.android.builder.core.DexOptions
-
- getMaxSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getMessageReceiver() - Method in class com.android.builder.core.AndroidBuilder
-
- getMinSdkVersion() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the minimum sdk version for the manifest file processed by this parser.
- getMinSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
-
Min SDK version.
- getMinSdkVersion() - Method in class com.android.builder.core.DexProcessBuilder
-
- getMinSdkVersion() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the minSdkVersion from the manifest file.
- getMinSdkVersion() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getMinSdkVersion() - Method in interface com.android.builder.testing.TestData
-
The min SDK version of the app
- getMissingDimensionStrategies() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getName() - Method in class com.android.builder.core.DefaultBuildType
-
Name of this build type.
- getName() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getName() - Method in class com.android.builder.core.LibraryRequest
-
The name of the library.
- getName() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns a user friendly name.
- getName() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
- getName() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains the name of this input.
- getName() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
-
- getName() - Method in class com.android.builder.signing.DefaultSigningConfig
-
- getName() - Method in class com.android.builder.testing.ConnectedDevice
-
- getName() - Method in class com.android.builder.testing.ConnectedDeviceProvider
-
- getNameSuffix() - Method in class com.android.builder.testing.ConnectedDevice
-
- getNativeLibrariesLibrariesPackagingMode(File, BooleanSupplier) - Static method in class com.android.builder.packaging.PackagingUtils
-
- getNoCompressGlobsForBundle(Collection<String>) - Static method in class com.android.builder.packaging.PackagingUtils
-
- getNoCompressPredicate(Collection<String>, File, BooleanSupplier) - Static method in class com.android.builder.packaging.PackagingUtils
-
- getNodeType() - Method in class com.android.builder.dependency.level2.DependencyNode
-
- getNumThreadsForDexArchives() - Static method in class com.android.builder.utils.PerformanceUtils
-
- getOptimize() - Method in class com.android.builder.core.DefaultDexOptions
-
- getOrderedProvider() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
-
- getOutBufferSize() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getOutputFile() - Method in class com.android.builder.core.DexProcessBuilder
-
- getPackage() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the package name for the manifest file processed by this parser.
- getPackage() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the package name from the manifest file.
- getPackageName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
-
- getPackaging() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
- getPath() - Method in class com.android.builder.desugaring.DesugaringData
-
This can be either a jar or .class file defining the type.
- getPath() - Method in interface com.android.builder.dexing.ClassFileInput
-
- getPreDexLibraries() - Method in class com.android.builder.core.DefaultDexOptions
-
Whether to pre-dex libraries.
- getPreDexLibraries() - Method in interface com.android.builder.core.DexOptions
-
- getProcessExecutor() - Method in class com.android.builder.core.AndroidBuilder
-
- getProguardRules() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getProjectPath() - Method in class com.android.builder.dependency.level2.Dependency
-
Returns an optional project path if the dependency is a sub-module.
- getProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
-
- getPublicResources() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getQueryEvent() - Method in class com.android.builder.utils.FileCache.QueryResult
-
- getRegion() - Method in class com.android.builder.testing.ConnectedDevice
-
- getRelativePath() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Return the relative path from the root of the archive/folder abstraction.
- getRelativePath() - Method in class com.android.builder.files.RelativeFile
-
Obtains the OS independent path.
- getRelativePathInArchive() - Method in class com.android.builder.dexing.DexArchiveEntry
-
Returns a path relative to the root path of the dex archive containing it.
- getRenderscriptFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getRenderscriptNdkModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getRenderscriptOptimLevel() - Method in class com.android.builder.core.DefaultBuildType
-
Optimization level to use by the renderscript compiler.
- getRenderScriptSupportJar() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the jar file for the renderscript mode.
- getRenderscriptSupportModeBlasEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getRenderscriptSupportModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getRenderscriptTargetApi() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getRepositories() - Method in class com.android.builder.sdk.DefaultSdkLoader
-
- getRepositories() - Method in class com.android.builder.sdk.PlatformLoader
-
- getRepositories() - Method in interface com.android.builder.sdk.SdkLoader
-
Returns the location of artifact repositories built-in the SDK.
- getRequested() - Method in class com.android.builder.core.DefaultProductFlavor.DimensionRequest
-
- getRequestedCoordinates() - Method in class com.android.builder.dependency.level2.DependencyNode
-
Returns this library's Maven coordinates, as requested in the build file.
- getResFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
- getResourceConfigurations() - Method in class com.android.builder.core.DefaultProductFlavor
-
Adds a res config filter (for instance 'hdpi')
- getRootPath() - Method in interface com.android.builder.dexing.DexArchive
-
Returns the path to this DEX archive.
- getSdkInfo() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the SdkInfo, if set.
- getSdkInfo(ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
-
- getSdkInfo(ILogger) - Method in class com.android.builder.sdk.PlatformLoader
-
- getSdkInfo(ILogger) - Method in interface com.android.builder.sdk.SdkLoader
-
Returns generic SDK information.
- getSerialNumber() - Method in class com.android.builder.testing.ConnectedDevice
-
- getSettings() - Method in class com.android.builder.sdk.SdkLibData
-
Returns the settings used to download the missing SDK components.
- getSigningConfig() - Method in class com.android.builder.core.DefaultBuildType
-
Sets the signing configuration.
- getSigningConfig() - Method in class com.android.builder.core.DefaultProductFlavor
-
Signing config used by this product flavor.
- getSize() - Method in interface com.android.builder.dexing.ClassFileEntry
-
Returns the entry size in bytes.
- getSplit() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the split name for the manifest file processed by this parser.
- getSplit() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the split name from the manifest file.
- getState() - Method in class com.android.builder.testing.ConnectedDevice
-
- getStoreFile() - Method in class com.android.builder.signing.DefaultSigningConfig
-
- getStorePassword() - Method in class com.android.builder.signing.DefaultSigningConfig
-
- getStoreType() - Method in class com.android.builder.signing.DefaultSigningConfig
-
- getSupportBlasLibFolder() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the BLAS lib folder for renderscript support mode.
- getSupportNativeLibFolder() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the native lib folder for the renderscript mode.
- getSymbolFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
-
- getSystemProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
-
- getTarget() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the compilation target, if set.
- getTarget() - Method in class com.android.builder.sdk.TargetInfo
-
Returns the compilation target
- getTargetCodename() - Method in class com.android.builder.core.AndroidBuilder
-
- getTargetInfo() - Method in class com.android.builder.core.AndroidBuilder
-
Returns the TargetInfo, if set.
- getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in class com.android.builder.sdk.DefaultSdkLoader
-
- getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in class com.android.builder.sdk.PlatformLoader
-
- getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in interface com.android.builder.sdk.SdkLoader
-
Returns information about a build target.
- getTargetPackage() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the target package for instrumentation in the manifest file processed by this parser.
- getTargetPackage() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the targetPackage from the instrumentation tag in the manifest file.
- getTargetSdkVersion() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the target sdk version for the manifest file processed by this parser.
- getTargetSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
-
Target SDK version.
- getTargetSdkVersion() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the targetSdkVersion from the manifest file.
- getTestApk() - Method in interface com.android.builder.testing.TestData
-
Returns the APK containing the test classes for the application.
- getTestApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
-
Test application ID.
- getTestDirectories() - Method in interface com.android.builder.testing.TestData
-
Returns the list of directories containing test so the build system can check the presence
of tests before deploying anything.
- getTestedApks(ProcessExecutor, File, DeviceConfigProvider, ILogger) - Method in interface com.android.builder.testing.TestData
-
Returns an APK file to install based on given density and abis.
- getTestedApplicationId() - Method in interface com.android.builder.testing.TestData
-
Returns the tested application id.
- getTestFunctionalTest() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getTestHandleProfiling() - Method in class com.android.builder.core.DefaultProductFlavor
-
- getTestInstrumentationRunner() - Method in class com.android.builder.core.DefaultProductFlavor
-
Test instrumentation runner class name.
- getTestInstrumentationRunnerArguments() - Method in class com.android.builder.core.DefaultProductFlavor
-
Test instrumentation runner custom arguments.
- getTestLabel() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the testLabel for instrumentation in the manifest file processed by this parser.
- getTestLabel() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the testLabel from the instrumentation tag in the manifest file.
- getThreadCount() - Method in class com.android.builder.core.DefaultDexOptions
-
Number of threads to use when running dx.
- getThreadCount() - Method in interface com.android.builder.core.DexOptions
-
- getTimeoutInMs() - Method in class com.android.builder.testing.ConnectedDeviceProvider
-
- getTool() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
-
- getType() - Method in class com.android.builder.files.RelativeFile
-
- getUpdatedPaths() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
-
- getUpdatedPaths() - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
-
- getUpdatedPaths() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
-
Obtains all OS-independent paths of all files that were changed in this input.
- getUpdatedPaths() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
-
- getUpdatedPaths() - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
-
- getUserDefinedHeapSize() - Static method in class com.android.builder.utils.PerformanceUtils
-
Returns the heap size that was specified by the -Xmx value from the user, or an approximated
value if the -Xmx value was not set or was set improperly.
- getUseSupportLibrary() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
-
Whether to use runtime support for vector drawables, instead of build-time support.
- getVariant() - Method in class com.android.builder.dependency.level2.ExtractedDependency
-
Returns an optional configuration name if the library is output by a module
that publishes more than one variant.
- getVectorDrawables() - Method in class com.android.builder.core.DefaultProductFlavor
-
Options to configure the build-time support for vector drawables.
- getVersion() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
- getVersionCode() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
-
- getVersionCode() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the version code for the manifest file processed by this parser.
- getVersionCode() - Method in class com.android.builder.core.DefaultProductFlavor
-
Version code.
- getVersionCode() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the version code from the manifest file.
- getVersionlessId() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
-
Returns this coordinates Id without the version attribute.
- getVersionName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
-
- getVersionName() - Method in class com.android.builder.core.DefaultManifestParser
-
Gets the version name for the manifest file processed by this parser.
- getVersionName() - Method in class com.android.builder.core.DefaultProductFlavor
-
Version name.
- getVersionName() - Method in interface com.android.builder.core.ManifestAttributeSupplier
-
Returns the version name from the manifest file.
- getWearAppUnbundled() - Method in class com.android.builder.core.DefaultProductFlavor
-
Returns whether to enable unbundling mode for embedded wear app.
- getWidth() - Method in class com.android.builder.testing.ConnectedDevice
-
- scheduleTests(String, String, TestData, Map<DeviceConnector, ImmutableList<File>>, Set<File>, int, Collection<String>, File, File, ILogger) - Method in class com.android.builder.testing.BaseTestRunner
-
- scheduleTests(String, String, TestData, Map<DeviceConnector, ImmutableList<File>>, Set<File>, int, Collection<String>, File, File, ILogger) - Method in class com.android.builder.testing.ShardedTestRunner
-
- scheduleTests(String, String, TestData, Map<DeviceConnector, ImmutableList<File>>, Set<File>, int, Collection<String>, File, File, ILogger) - Method in class com.android.builder.testing.SimpleTestRunner
-
- SdkInfo - Class in com.android.builder.sdk
-
General information about the SDK.
- SdkLibData - Class in com.android.builder.sdk
-
Handles the components needed to download missing SDK components.
- SdkLoader - Interface in com.android.builder.sdk
-
A loader for the SDK.
- SealedPackageException - Exception in com.android.builder.packaging
-
An exception thrown when trying to add files to a sealed APK.
- SealedPackageException(String, Object...) - Constructor for exception com.android.builder.packaging.SealedPackageException
-
- SealedPackageException(Throwable, String, Object...) - Constructor for exception com.android.builder.packaging.SealedPackageException
-
- SealedPackageException(Throwable) - Constructor for exception com.android.builder.packaging.SealedPackageException
-
- select(Function<String, StreamMergeAlgorithm>) - Static method in class com.android.builder.merge.StreamMergeAlgorithms
-
Algorithm that selects another algorithm based on a function that is applied to the file's
path.
- SerializableMessageReceiver - Class in com.android.builder.core
-
This wrapper is a workaround for the worker API.
- SerializableMessageReceiver(MessageReceiver) - Constructor for class com.android.builder.core.SerializableMessageReceiver
-
- setAdditionalParameters(List<String>) - Method in class com.android.builder.core.DefaultDexOptions
-
- setApplicationId(String) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the application id.
- setDebuggable(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
Whether this build type should generate a debuggable apk.
- setDexInProcess(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
- setDimension(String) - Method in class com.android.builder.core.DefaultProductFlavor
-
- setEmbedMicroApp(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
- setGeneratedDensities(Iterable<String>) - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
-
- setJavaMaxHeapSize(String) - Method in class com.android.builder.core.DefaultDexOptions
-
- setJniDebuggable(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
Whether this build type is configured to generate an APK with debuggable native code.
- setJumboMode(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
- setKeepRuntimeAnnotatedClasses(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
- setKeyAlias(String) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setKeyPassword(String) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setLibraryRequests(Collection<LibraryRequest>) - Method in class com.android.builder.core.AndroidBuilder
-
- setMainDexList(File) - Method in class com.android.builder.core.DexProcessBuilder
-
- setMaxProcessCount(Integer) - Method in class com.android.builder.core.DefaultDexOptions
-
- setMaxSdkVersion(Integer) - Method in class com.android.builder.core.DefaultProductFlavor
-
- setMinifyEnabled(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
Whether Minify is enabled for this build type.
- setMinSdkVersion(ApiVersion) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the minSdkVersion to the given value.
- setMinSdkVersion(int) - Method in class com.android.builder.core.DexProcessBuilder
-
- setMultiDex(boolean) - Method in class com.android.builder.core.DexProcessBuilder
-
- setNeedsCacheReset(boolean) - Method in class com.android.builder.sdk.SdkLibData
-
Sets the flag for resetting the local and remote repository cache.
- setPreDexLibraries(boolean) - Method in class com.android.builder.core.DefaultDexOptions
-
- setProvided(boolean) - Method in class com.android.builder.dependency.DependencyMutableData
-
- setPseudoLocalesEnabled(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
- setRenderscriptDebuggable(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
Whether the build type is configured to generate an apk with debuggable RenderScript code.
- setRenderscriptNdkModeEnabled(Boolean) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets whether the renderscript code should be compiled to generate C/C++ bindings.
- setRenderscriptOptimLevel(int) - Method in class com.android.builder.core.DefaultBuildType
-
Optimization level to use by the renderscript compiler.
- setRenderscriptSupportModeBlasEnabled(Boolean) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets whether RenderScript BLAS support lib should be used to make it compatible
with older versions of Android.
- setRenderscriptSupportModeEnabled(Boolean) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets whether the renderscript code should be compiled in support mode to make it compatible
with older versions of Android.
- setRenderscriptTargetApi(Integer) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the renderscript target API to the given value.
- setSdkInfo(SdkInfo) - Method in class com.android.builder.core.AndroidBuilder
-
- setSigningConfig(SigningConfig) - Method in class com.android.builder.core.DefaultBuildType
-
Sets the signing configuration.
- setSigningConfig(SigningConfig) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the signing configuration.
- setStoreFile(File) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setStorePassword(String) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setStoreType(String) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setTargetInfo(TargetInfo) - Method in class com.android.builder.core.AndroidBuilder
-
Sets the SdkInfo and the targetInfo on the builder.
- setTargetSdkVersion(ApiVersion) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the targetSdkVersion to the given value.
- setTestApplicationId(String) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the test application ID.
- setTestCoverageEnabled(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
- setTestFunctionalTest(boolean) - Method in class com.android.builder.core.DefaultProductFlavor
-
- setTestHandleProfiling(boolean) - Method in class com.android.builder.core.DefaultProductFlavor
-
- setTestInstrumentationRunner(String) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the test instrumentation runner to the given value.
- setTestInstrumentationRunnerArguments(Map<String, String>) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the test instrumentation runner custom arguments.
- setThreadCount(Integer) - Method in class com.android.builder.core.DefaultDexOptions
-
- setTypedefFile(File) - Method in class com.android.builder.packaging.TypedefRemover
-
- setUseSupportLibrary(Boolean) - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
-
- setV1SigningEnabled(boolean) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setV2SigningEnabled(boolean) - Method in class com.android.builder.signing.DefaultSigningConfig
-
- setVerbose(boolean) - Method in class com.android.builder.core.DexProcessBuilder
-
- setVersionCode(Integer) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the version code.
- setVersionName(String) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets the version name.
- setWearAppUnbundled(Boolean) - Method in class com.android.builder.core.DefaultProductFlavor
-
Sets whether to enable unbundling mode for embedded wear app.
- setZipAlignEnabled(boolean) - Method in class com.android.builder.core.DefaultBuildType
-
Whether zipalign is enabled for this build type.
- ShardedTestRunner - Class in com.android.builder.testing
-
A
TestRunner that uses all connected devices to execute tests in parallel.
- ShardedTestRunner(File, ProcessExecutor, Integer) - Constructor for class com.android.builder.testing.ShardedTestRunner
-
- shutdown() - Method in class com.android.builder.png.AaptProcess
-
Shutdowns the slave process and release all resources.
- SIGNING_EXTENSIONS - Static variable in class com.android.builder.packaging.PackagingUtils
-
List of file extensions that are used for jar signing.
- SigningException - Exception in com.android.builder.packaging
-
An exception thrown when signing fails.
- SigningException(String, Object...) - Constructor for exception com.android.builder.packaging.SigningException
-
- SigningException(Throwable, String, Object...) - Constructor for exception com.android.builder.packaging.SigningException
-
- SigningException(Throwable) - Constructor for exception com.android.builder.packaging.SigningException
-
- SigningException - Exception in com.android.builder.signing
-
- SigningException() - Constructor for exception com.android.builder.signing.SigningException
-
- SigningException(String) - Constructor for exception com.android.builder.signing.SigningException
-
- SigningException(String, Throwable) - Constructor for exception com.android.builder.signing.SigningException
-
- SigningException(Throwable) - Constructor for exception com.android.builder.signing.SigningException
-
- SimpleTestRunner - Class in com.android.builder.testing
-
- SimpleTestRunner(File, ProcessExecutor) - Constructor for class com.android.builder.testing.SimpleTestRunner
-
- skip() - Method in class com.android.builder.dependency.DependencyMutableData
-
- splitSelectExec - Variable in class com.android.builder.testing.BaseTestRunner
-
- StandardOutErrMessageReceiver - Class in com.android.builder.core
-
- StandardOutErrMessageReceiver() - Constructor for class com.android.builder.core.StandardOutErrMessageReceiver
-
- start() - Method in class com.android.builder.png.AaptProcess.Builder
-
- startNewDex() - Method in interface com.android.builder.dexing.DexMergingStrategy
-
Starts a new list of DEX file(s) that can be merged.
- startNewDex() - Method in class com.android.builder.dexing.NaiveDexMergingStrategy
-
- StreamMergeAlgorithm - Interface in com.android.builder.merge
-
Algorithm to merge streams.
- StreamMergeAlgorithms - Class in com.android.builder.merge
-
File merge algorithms.
- SynchronizedFile - Class in com.android.builder.utils
-
Utility to synchronize access to a file from multiple threads or processes.
- valueOf(String) - Static method in enum com.android.builder.core.AndroidBuilder.MainDexListOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.dependency.level2.DependencyNode.NodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.dexing.DexerTool
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.dexing.DexingType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.dexing.DexMergerTool
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.files.IncrementalRelativeFileSets.FileDeletionPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.files.RelativeFile.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.utils.FileCache.Command
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.utils.FileCache.DirectoryProperties
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.utils.FileCache.FileProperties
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.builder.utils.FileCache.QueryEvent
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.android.builder.core.AndroidBuilder.MainDexListOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.dependency.level2.DependencyNode.NodeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.dexing.DexerTool
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.dexing.DexingType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.dexing.DexMergerTool
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.files.IncrementalRelativeFileSets.FileDeletionPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.files.RelativeFile.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.utils.FileCache.Command
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.utils.FileCache.DirectoryProperties
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.utils.FileCache.FileProperties
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.builder.utils.FileCache.QueryEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VectorDrawableRenderer - Class in com.android.builder.png
-
Generates PNG images (and XML copies) from VectorDrawable files.
- VectorDrawableRenderer(int, boolean, File, Collection<Density>, Supplier<ILogger>) - Constructor for class com.android.builder.png.VectorDrawableRenderer
-