Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W Z 

A

AaptProcess - Class in com.android.builder.png
interface to the aapt long running process.
AaptProcess.Builder - Class in com.android.builder.png
 
accept(T) - Method in interface com.android.builder.utils.ExceptionConsumer
Performs an operation on the given input.
accept(T) - Method in interface com.android.builder.utils.ExceptionFunction
Performs an operation on the given input.
acceptOnlyOne() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
Algorithm that only accepts one input, failing with DuplicateRelativeFileException if invoked with more than one input.
add(File) - Method in class com.android.builder.files.FileCacheByPath
Adds a file to the cache, replacing any file that had the exact same absolute path.
add(Symbol) - Method in class com.android.builder.symbols.SymbolTable.Builder
Adds a symbol to the table to be built.
addAll(Collection<Symbol>) - Method in class com.android.builder.symbols.SymbolTable.Builder
Adds all symbols in the given collection to the table.
addBuildConfigField(String, String, String) - Method in class com.android.builder.core.VariantConfiguration
Adds a variant-specific BuildConfig field.
addField(String, String, String) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addFile(Path, byte[], int, int) - Method in interface com.android.builder.dexing.DexArchive
Adds a DEX file to this dex archive from a byte[].
addInput(File) - Method in class com.android.builder.core.DexProcessBuilder
 
addInputs(Collection<File>) - Method in class com.android.builder.core.DexProcessBuilder
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.ResValueGenerator
 
addProductFlavor(F, SourceProvider, String) - Method in class com.android.builder.core.VariantConfiguration
Add a new configured ProductFlavor.
addResource(String, String, String) - Method in class com.android.builder.compiling.ResValueGenerator
 
addResourceConfiguration(String) - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
addResourceConfigurations(String...) - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
addResourceConfigurations(Collection<String>) - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
addResValue(String, String, String) - Method in class com.android.builder.core.VariantConfiguration
Adds a variant-specific res value.
ANDROID_ATTR_PREFIX - Static variable in class com.android.builder.symbols.SymbolIo
 
ANDROID_GRADLE_COMPONENT_PLUGIN_VERSION - Static variable in class com.android.builder.Version
 
ANDROID_GRADLE_PLUGIN_VERSION - Static variable in class com.android.builder.Version
 
ANDROID_WEAR - Static variable in class com.android.builder.core.BuilderConstants
 
ANDROID_WEAR_MICRO_APK - Static variable in class com.android.builder.core.BuilderConstants
 
AndroidBuilder - Class in com.android.builder.core
This is the main builder class.
AndroidBuilder(String, String, ProcessExecutor, JavaProcessExecutor, ErrorReporter, ILogger, boolean) - Constructor for class com.android.builder.core.AndroidBuilder
Creates an AndroidBuilder.
AndroidBuilder.MainDexListOption - Enum in com.android.builder.core
 
AndroidDependency - Class in com.android.builder.dependency.level2
Represents an Android Library and its content.
AndroidDependency(File, MavenCoordinates, String, String, File, File, String, boolean) - Constructor for class com.android.builder.dependency.level2.AndroidDependency
 
ApkInfoParser - Class in com.android.builder.core
Class to parse an APK with aapt to gather information
ApkInfoParser(File, ProcessExecutor) - Constructor for class com.android.builder.core.ApkInfoParser
Constructs a new parser
ApkInfoParser.ApkInfo - Class in com.android.builder.core
Information about an APK
asConsumer(ExceptionConsumer<T>) - Static method in interface com.android.builder.utils.ExceptionConsumer
Wraps an ExceptionConsumer into a Consumer by throwing a RuntimeException.

B

BaseTestRunner - Class in com.android.builder.testing
Common code for TestRunner implementations.
BaseTestRunner(File, ProcessExecutor) - Constructor for class com.android.builder.testing.BaseTestRunner
 
BootClasspathBuilder - Class in com.android.builder.core
Utility methods for computing class paths to use for compilation.
BootClasspathBuilder() - Constructor for class com.android.builder.core.BootClasspathBuilder
 
build() - Method in class com.android.builder.core.DesugarProcessBuilder
 
build(BuildToolInfo, DexOptions) - Method in class com.android.builder.core.DexProcessBuilder
 
build() - Method in class com.android.builder.symbols.SymbolTable.Builder
Builds a symbol table with all symbols added.
build() - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Builds an Inputs instance.
BUILD_CONFIG_NAME - Static variable in class com.android.builder.compiling.BuildConfigGenerator
 
BuildConfigGenerator - Class in com.android.builder.compiling
Class able to generate a BuildConfig class in an Android project.
BuildConfigGenerator(File, String) - Constructor for class com.android.builder.compiling.BuildConfigGenerator
Creates a generator
Builder(String, ILogger) - Constructor for class com.android.builder.png.AaptProcess.Builder
 
builder() - Static method in class com.android.builder.symbols.SymbolTable
Creates a new builder to create a SymbolTable.
Builder(FileCache.Command) - Constructor for class com.android.builder.utils.FileCache.Inputs.Builder
Creates a FileCache.Inputs.Builder instance to construct an FileCache.Inputs object.
BUILDER_MODEL_API_VERSION - Static variable in class com.android.builder.Version
 
BUILDER_NATIVE_MODEL_API_VERSION - Static variable in class com.android.builder.Version
 
BuilderConstants - Class in com.android.builder.core
Generic constants.
BuilderConstants() - Constructor for class com.android.builder.core.BuilderConstants
 

C

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
 
canonicalizeValueResourceName(String) - Static method in class com.android.builder.symbols.SymbolUtils
Updates the value resource name to mimic aapt's behaviour - replaces all dots and colons with underscores.
checkEntry(String) - Method in interface com.android.builder.packaging.ZipEntryFilter
Checks a file for inclusion in a Jar archive.
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.
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
Helper methods for creating ClassFileInput instances.
classMatcher - Static variable in interface com.android.builder.dexing.ClassFileInput
 
clear() - Method in class com.android.builder.files.FileCacheByPath
Clears the cache.
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.
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 - package com.android.builder
 
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.dexing - package com.android.builder.dexing
 
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.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.symbols - package com.android.builder.symbols
The Symbols package contains classes used for parsing and processing android resources and generating the R.java file.
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
 
compileAidlFile(File, File, File, File, Collection<String>, List<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.
computeApplicationHash(File) - Static method in class com.android.builder.packaging.PackagingUtils
Computes an "application hash", a reasonably unique identifier for an app.
computeBaseNameWithSplits(String) - Method in class com.android.builder.core.VariantConfiguration
Returns a base name that includes the given splits name.
computeDirNameWithSplits(String...) - Method in class com.android.builder.core.VariantConfiguration
Returns a unique directory name (can include multiple folders) for the variant, based on build type, flavor and test, and splits.
computeFilteredClasspath(IAndroidTarget, List<LibraryRequest>, ErrorReporter, File) - Static method in class com.android.builder.core.BootClasspathBuilder
 
computeFlavorName(List<F>) - Static method in class com.android.builder.core.VariantConfiguration
Returns the flavor name for a variant composed of the given flavors, including all flavor names in camel case (starting with a lower case).
computeFullBootClasspath(IAndroidTarget, File) - Static method in class com.android.builder.core.BootClasspathBuilder
 
computeFullName(String, B, VariantType, VariantType) - Static method in class com.android.builder.core.VariantConfiguration
Returns the full, unique name of the variant in camel case (starting with a lower case), including BuildType, Flavors and Test (if applicable).
computeFullNameWithSplits(String) - Method in class com.android.builder.core.VariantConfiguration
Returns a full name that includes the given splits name.
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
 
contains(Symbol) - Method in class com.android.builder.symbols.SymbolTable.Builder
Checks if a symbol with the same resource type and name as symbol have been added.
contains(ResourceType, String) - Method in class com.android.builder.symbols.SymbolTable.Builder
Checks if the table contains a symbol with the given resource type / name.
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.
createAndValidateSymbol(ResourceType, String, SymbolJavaType, String, List<String>) - Static method in class com.android.builder.symbols.Symbol
Creates a new symbol.
createD8DexBuilder(int, boolean) - Static method in class com.android.builder.dexing.DexArchiveBuilder
Creates an instance that is using d8 to convert class files to dex files.
createD8DexMerger(OutputStream, 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, do not block on completion, the notification will be issued through the job parameter's Job.finished() or Job.error(Throwable) ()} functions.
crunchPng(int, File, File) - Method in class com.android.builder.png.QueuedCruncher
 

D

DEBUG - Static variable in class com.android.builder.core.BuilderConstants
 
debugSigningConfig(File) - Static method in class com.android.builder.signing.DefaultSigningConfig
Creates a DefaultSigningConfig that uses the default debug alias and passwords.
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
Implementation of the ManifestAttributeSupplier.
DefaultManifestParser(File) - 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
 
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
IncrementalFileMergerInput that delegates all operations to another IncrementalFileMergerInput.
DelegateIncrementalFileMergerInput(IncrementalFileMergerInput) - Constructor for class com.android.builder.merge.DelegateIncrementalFileMergerInput
Creates a new input.
DelegateIncrementalFileMergerOutput - Class in com.android.builder.merge
IncrementalFileMergerOutput that delegates execution to another IncrementalFileMergerOutput.
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.
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
 
DesugarProcessBuilder - Class in com.android.builder.core
A builder to create an information necessary to run Desugar in a separate JVM process.
DesugarProcessBuilder(Path, boolean, Map<Path, Path>, List<Path>, List<Path>, int) - 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[], Path) - 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
Helper methods for the DexArchive.
DexByteCodeConverter - Class in com.android.builder.core
Java To Dex bytecode converter.
DexByteCodeConverter(ILogger, TargetInfo, JavaProcessExecutor, boolean, ErrorReporter) - 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
 
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
 
DuplicateFileException - Exception in com.android.builder.packaging
An exception thrown during packaging of an APK file.
DuplicateFileException(String, File...) - Constructor for exception com.android.builder.packaging.DuplicateFileException
 
DuplicateFileException(String, List<File>) - Constructor for exception com.android.builder.packaging.DuplicateFileException
 
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
Exception by StreamMergeAlgorithms.acceptOnlyOne() if more than one file needs to be merged.
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
 

E

end(int) - Method in class com.android.builder.png.QueuedCruncher
 
entries(Predicate<Path>) - Method in interface com.android.builder.dexing.ClassFileInput
 
equals(Object) - Method in class com.android.builder.core.DefaultApiVersion
 
equals(Object) - Method in class com.android.builder.core.DefaultBuildType
 
equals(Object) - Method in class com.android.builder.core.DefaultProductFlavor
 
equals(Object) - Method in class com.android.builder.dependency.level2.AndroidDependency
 
equals(Object) - Method in class com.android.builder.dependency.level2.Dependency
 
equals(Object) - Method in class com.android.builder.dependency.level2.DependencyNode
 
equals(Object) - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
equals(Object) - Method in class com.android.builder.dependency.level2.JavaDependency
 
equals(Object) - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
equals(Object) - Method in class com.android.builder.files.RelativeFile
 
equals(Object) - Method in class com.android.builder.signing.DefaultSigningConfig
 
ErrorReporter - Class in com.android.builder.core
An error reporter for project evaluation and execution.
ErrorReporter(ErrorReporter.EvaluationMode) - Constructor for class com.android.builder.core.ErrorReporter
 
ErrorReporter.EvaluationMode - Enum in com.android.builder.core
 
ExceptionConsumer<T> - Interface in com.android.builder.utils
Consumer that can throw an Exception.
ExceptionFunction<T,R> - Interface in com.android.builder.utils
Function that can throw an Exception.
ExceptionRunnable - Interface in com.android.builder.utils
A runnable that can throw any exceptions.
executeProcess(ProcessInfo, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
 
executeShellCommand(String, IShellOutputReceiver, long, TimeUnit) - Method in class com.android.builder.testing.ConnectedDevice
 
executeShellCommand(String, IShellOutputReceiver, long, long, TimeUnit) - Method in class com.android.builder.testing.ConnectedDevice
 
exportToJava(SymbolTable, File, boolean) - Static method in class com.android.builder.symbols.SymbolIo
Exports a symbol table to a java R class source.
EXT_ATOMBUNDLE_ARCHIVE - Static variable in class com.android.builder.core.BuilderConstants
Extension for atom bundles.
EXT_LIB_ARCHIVE - Static variable in class com.android.builder.core.BuilderConstants
Extension for library packages.
EXTERNAL_BUILD - Static variable in class com.android.builder.core.BuilderConstants
 
ExtractedDependency - Class in com.android.builder.dependency.level2
Based implementation for all dependency types that need to extract its archive before usage.
ExtractedDependency(File, MavenCoordinates, String, String, File, String) - Constructor for class com.android.builder.dependency.level2.ExtractedDependency
Creates the mBundle dependency with an optional mName.

F

FD_ANDROID_RESULTS - Static variable in class com.android.builder.core.BuilderConstants
 
FD_ANDROID_TESTS - Static variable in class com.android.builder.core.BuilderConstants
 
FD_FLAVORS - Static variable in class com.android.builder.core.BuilderConstants
 
FD_FLAVORS_ALL - Static variable in class com.android.builder.core.BuilderConstants
 
FD_REPORTS - Static variable in class com.android.builder.core.BuilderConstants
 
FileCache - Class in com.android.builder.utils
A cache for already-created files/directories.
FileCache.Command - Enum in com.android.builder.utils
Command to be provided by the client when using FileCache.
FileCache.Inputs - Class in com.android.builder.utils
List of input parameters to be provided by the client when using FileCache.
FileCache.Inputs.Builder - Class in com.android.builder.utils
Builder of FileCache.Inputs.
FileCache.QueryEvent - Enum in com.android.builder.utils
The event that happens when the client queries a cache entry: the cache entry may be hit, missed, or corrupted.
FileCache.QueryResult - Class in com.android.builder.utils
The result of a cache query, which includes a FileCache.QueryEvent indicating whether the cache is hit, missed, or corrupted, a cause if the cache is corrupted, and an (optional) path to the cached output file/directory.
FileCacheByPath - Class in com.android.builder.files
File cache that stored files based on their origin path.
FileCacheByPath(File) - Constructor for class com.android.builder.files.FileCacheByPath
Creates a new cache.
filter(SymbolTable) - Method in class com.android.builder.symbols.SymbolTable
Produces a subset of this symbol table that has the symbols with resource type / name defined in filter.
FilterIncrementalFileMergerInput - Class in com.android.builder.merge
IncrementalFileMergerInput that filters input based on a predicate over the accepted paths.
FilterIncrementalFileMergerInput(IncrementalFileMergerInput, Predicate<String>) - Constructor for class com.android.builder.merge.FilterIncrementalFileMergerInput
Creates a new incremental input based on another input filtering all files whose OS-independent path are not accepted by the provided predicate.
fromAlgorithmAndWriter(StreamMergeAlgorithm, MergeOutputWriter) - Static method in class com.android.builder.merge.IncrementalFileMergerOutputs
Creates a new output that merges files using the provided algorithm and writes the merged file using the provided writer.
fromDirectory(File) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Reads a directory and adds all files in the directory in a new incremental relative set.
fromDirectory(File) - Static method in class com.android.builder.files.RelativeFiles
Loads all files in a directory recursively.
fromDirectory(File, Predicate<RelativeFile>) - Static method in class com.android.builder.files.RelativeFiles
Loads all files in a directory recursively, filtering the results with a predicate.
fromInput(Path) - Static method in class com.android.builder.dexing.DexArchives
Creates a DexArchive from the specified path.
fromNew(String, Set<File>) - Static method in class com.android.builder.merge.LazyIncrementalFileMergerInputs
Creates an input from a set of directories or zips without any incremental information.
fromPath(Path) - Static method in class com.android.builder.dexing.ClassFileInputs
Creates a ClassFileInput by analyzing the specified root path.
fromPathPredicate(Predicate<String>) - Static method in class com.android.builder.files.RelativeFiles
Constructs a predicate over relative files from a predicate over paths, applying it to the normalized relative path contained in the relative file.
fromUpdates(String, Set<File>, Map<File, FileStatus>, FileCacheByPath, IncrementalRelativeFileSets.FileDeletionPolicy) - Static method in class com.android.builder.merge.LazyIncrementalFileMergerInputs
Creates an input from a set of directories or zips with incremental information.
fromZip(File) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Reads a zip file and adds all files in the file in a new incremental relative set.
fromZip(File, FileStatus) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Reads a zip file and adds all files in the file in a new incremental relative set.
fromZip(File, FileCacheByPath, Set<Runnable>) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Computes the incremental file set that results from comparing a zip file with a possibly existing cached file.
fromZip(File) - Static method in class com.android.builder.files.RelativeFiles
Reads a zip file and adds all files in the file in a new relative set.
fromZipsAndDirectories(Iterable<File>) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Reads files and builds an incremental relative file set.

G

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
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
 
generateMainDexKeepRules(ManifestData, File) - Static method in class com.android.builder.symbols.SymbolUtils
Generates keep rules based on the nodes declared in the manifest file.
generateMinifyKeepRules(ManifestData, File) - Static method in class com.android.builder.symbols.SymbolUtils
Generates keep rules based on the nodes declared in the manifest file.
generateRForLibraries(SymbolTable, Collection<SymbolTable>, File, boolean) - Static method in class com.android.builder.symbols.RGeneration
Given a symbol table for the main program (that could be an application, a library or anything that actually generates symbols), and given the symbol tables for all libraries it depends on, generates the R.java files for each individual library.
generateRTxt(SymbolTable, File) - Static method in class com.android.builder.symbols.SymbolUtils
Creates and writes a symbol table into an R.txt file in a given directory.
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.
get(Symbol) - Method in class com.android.builder.symbols.SymbolTable.Builder
Returns the symbol form the table matching the provided symbol
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
Returns a unique address that matches DependencyNode.getAddress().
getAddress() - Method in class com.android.builder.dependency.level2.DependencyNode
Returns a unique address that matches Dependency.getAddress().
getAddress() - Method in class com.android.builder.dependency.level2.ExtractedDependency
Returns a unique address that matches DependencyNode.getAddress().
getAidlFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getAidlSourceList() - Method in class com.android.builder.core.VariantConfiguration
 
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
 
getAllDexToMerge() - Method in class com.android.builder.dexing.ReferenceCountMergingStrategy
 
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
 
getAnalyticsVariantType() - Method in enum com.android.builder.core.VariantType
Returns the corresponding variant type used by the analytics system.
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 class com.android.builder.core.VariantConfiguration
Returns the application ID for this variant.
getApplicationId() - Method in interface com.android.builder.testing.TestData
Returns the application id.
getArchivePath() - Method in exception com.android.builder.packaging.DuplicateFileException
 
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
 
getArtifactName() - Method in enum com.android.builder.core.VariantType
Returns the name used in the builder model for artifacts that correspond to this variant type.
getArtifactType() - Method in enum com.android.builder.core.VariantType
Returns the artifact type used in the builder model.
getAssetsFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getBase() - Method in class com.android.builder.files.RelativeFile
Obtains the base directory.
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.
getBaseName() - Method in class com.android.builder.core.VariantConfiguration
Returns the full, unique name of the variant, including BuildType, flavors and test, dash separated.
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
 
getBuildConfigItems() - Method in class com.android.builder.core.VariantConfiguration
Returns a list of items for the BuildConfig class.
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
getBuildType() - Method in class com.android.builder.core.VariantConfiguration
 
getBuildTypeSourceSet() - Method in class com.android.builder.core.VariantConfiguration
The SourceProvider for the BuildType.
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
 
getChildren() - Method in class com.android.builder.symbols.Symbol
Obtains the list of the symbol's children.
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.
getDefaultConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getDefaultNoCompressPredicate() - Static method in class com.android.builder.packaging.PackagingUtils
 
getDefaultSourceSet() - Method in class com.android.builder.core.VariantConfiguration
 
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.
getDeviceConfig() - Method in class com.android.builder.testing.ConnectedDevice
 
getDevices() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getDexByteCodeConverter() - Method in class com.android.builder.core.AndroidBuilder
 
getDexFileContent() - Method in class com.android.builder.dexing.DexArchiveEntry
Returns content of this DEX file.
getDexingType() - Method in class com.android.builder.core.VariantConfiguration
 
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
Name of the dimension this product flavor belongs to.
getDirectorySegments() - Method in class com.android.builder.core.VariantConfiguration
Returns a unique directory name (can include multiple folders) for the variant, based on build type, flavor and test.
getDirName() - Method in class com.android.builder.core.VariantConfiguration
Returns a unique directory name (can include multiple folders) for the variant, based on build type, flavor and test.
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
 
getEnum(String) - Static method in enum com.android.builder.symbols.SymbolJavaType
 
getErrorOut() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getErrorReporter() - Method in class com.android.builder.core.AndroidBuilder
 
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.
getFile() - Method in class com.android.builder.files.RelativeFile
Obtains the file.
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
Returns collection of all entries, DexArchiveEntry, in this dex archive.
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 class com.android.builder.core.VariantConfiguration
Returns the flavor name of the variant, including all flavors in camel case (starting with a lower case).
getFlavorName() - Method in interface com.android.builder.testing.TestData
Returns the flavor name being test.
getFlavorNamesWithDimensionNames() - Method in class com.android.builder.core.VariantConfiguration
Return the names of the applied flavors.
getFlavorSelections() - Method in class com.android.builder.core.VariantConfiguration
 
getFlavorSourceProviders() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of SourceProviders for the flavors.
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.
getFullName() - Method in class com.android.builder.core.VariantConfiguration
Returns the full, unique name of the variant in camel case (starting with a lower case), including BuildType, Flavors and Test (if applicable).
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.
getFunctionalTest() - Method in class com.android.builder.core.VariantConfiguration
Returns functionalTest value to use to test this variant, or if the variant is a test, the one to use to test the tested variant.
getFunctionalTestFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
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.
getHandleProfiling() - Method in class com.android.builder.core.VariantConfiguration
Returns handleProfiling value to use to test this variant, or if the variant is a test, the one to use to test the tested variant.
getHandleProfilingFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
getHeight() - Method in class com.android.builder.testing.ConnectedDevice
 
getIdOverride() - Method in class com.android.builder.core.VariantConfiguration
Returns the application id override value coming from the Product Flavor and/or the Build Type.
getInBufferSize() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
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 where synchronization takes effect for threads both within the same process and across different processes.
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 where synchronization takes effect for threads within the same process but not for threads across different processes.
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 class com.android.builder.core.VariantConfiguration
Returns the instrumentationRunner to use to test this variant, or if the variant is a test, the one to use to test the tested variant.
getInstrumentationRunner() - Method in interface com.android.builder.testing.TestData
 
getInstrumentationRunnerArguments() - Method in class com.android.builder.core.VariantConfiguration
Returns the instrumentationRunner arguments to use to test this variant, or if the variant is a test, the ones to use to test the tested variant
getInstrumentationRunnerArguments() - Method in interface com.android.builder.testing.TestData
 
getInstrumentationRunnerFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
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.
getJarJarRuleFiles() - Method in class com.android.builder.core.VariantConfiguration
 
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
 
getJavaType() - Method in class com.android.builder.symbols.Symbol
Obtains the java type of the symbol.
getJniFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getJniSourceList() - Method in class com.android.builder.core.VariantConfiguration
 
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.
getLogger() - Method in class com.android.builder.core.AndroidBuilder
 
getMainDexList() - Method in class com.android.builder.core.DexProcessBuilder
 
getMainManifest() - Method in class com.android.builder.core.VariantConfiguration
 
getManifest() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getManifestOverlays() - Method in class com.android.builder.core.VariantConfiguration
 
getManifestPlaceholders() - Method in class com.android.builder.core.VariantConfiguration
Returns the merged manifest placeholders.
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
 
getMergedBuildConfigFields() - Method in class com.android.builder.core.VariantConfiguration
Return the merged build config fields for the variant.
getMergedFlavor() - Method in class com.android.builder.core.VariantConfiguration
 
getMergedResValues() - Method in class com.android.builder.core.VariantConfiguration
Return the merged res values for the variant.
getMessage() - Method in exception com.android.builder.packaging.DuplicateFileException
 
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.core.VariantConfiguration
Return the minSdkVersion for this variant.
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
getMinSdkVersionValue() - Method in class com.android.builder.core.VariantConfiguration
Returns the minSdkVersion as integer.
getMode() - Method in class com.android.builder.core.ErrorReporter
 
getMultiDexKeepFile() - Method in class com.android.builder.core.VariantConfiguration
 
getMultiDexKeepProguard() - Method in class com.android.builder.core.VariantConfiguration
 
getMultiFlavorSourceProvider() - Method in class com.android.builder.core.VariantConfiguration
 
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.symbols.Symbol
Obtains the name of the symbol.
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) - Static method in class com.android.builder.packaging.PackagingUtils
 
getNoCompressPredicate(Collection<String>, File) - 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
Deprecated.
Dex is always optimized. This returns true always.
getOriginalApplicationId() - Method in class com.android.builder.core.VariantConfiguration
Returns the original application ID before any overrides from flavors.
getOsIndependentRelativePath() - Method in class com.android.builder.files.RelativeFile
Obtains the OS independent path.
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.
getPackageFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the package name from the manifest.
getPackageName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getPackageNameFromManifest(File) - Static method in class com.android.builder.symbols.SymbolUtils
Pulls out the package name from the given android manifest.
getPackageNameFromManifest(ManifestData) - Static method in class com.android.builder.symbols.SymbolUtils
Pulls out the package name from the given parsed android manifest.
getPackaging() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
getPreDexLibraries() - Method in class com.android.builder.core.DefaultDexOptions
Whether to pre-dex libraries.
getPreDexLibraries() - Method in interface com.android.builder.core.DexOptions
 
getPrefix() - Method in enum com.android.builder.core.VariantType
Returns prefix used for naming source directories.
getProcessExecutor() - Method in class com.android.builder.core.AndroidBuilder
 
getProductFlavors() - Method in class com.android.builder.core.VariantConfiguration
Returns the product flavors.
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
Returns the FileCache.QueryEvent indicating whether the cache is hit, missed, or corrupted.
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.
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
 
getRenderscriptNdkModeEnabled() - Method in class com.android.builder.core.VariantConfiguration
Returns the renderscript NDK mode.
getRenderscriptOptimLevel() - Method in class com.android.builder.core.DefaultBuildType
Optimization level to use by the renderscript compiler.
getRenderscriptSourceList() - Method in class com.android.builder.core.VariantConfiguration
Returns all the renderscript source folder from the main config, the flavors and the build type.
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
 
getRenderscriptSupportModeBlasEnabled() - Method in class com.android.builder.core.VariantConfiguration
Returns the renderscript BLAS support mode.
getRenderscriptSupportModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptSupportModeEnabled() - Method in class com.android.builder.core.VariantConfiguration
Returns the renderscript support mode.
getRenderscriptTarget() - Method in class com.android.builder.core.VariantConfiguration
 
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.
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')
getResourceSets(boolean) - Method in class com.android.builder.core.VariantConfiguration
Returns the dynamic list of ResourceSet for the source folders only.
getResourceType() - Method in class com.android.builder.symbols.Symbol
Obtains the resource type.
getResValues() - Method in class com.android.builder.core.VariantConfiguration
Returns a list of generated resource values.
getRootPath() - Method in interface com.android.builder.dexing.ClassFileInput
Base path of this input.
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.
getSigningConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getSize() - Method in interface com.android.builder.dexing.ClassFileEntry
Returns the entry size in bytes.
getSortedSourceProviders() - Method in class com.android.builder.core.VariantConfiguration
Returns a list of sorted SourceProvider in ascending order of importance.
getSourceFiles(Function<SourceProvider, Collection<File>>) - Method in class com.android.builder.core.VariantConfiguration
 
getSourceFiles() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getSourceFilesAsAssetSets(Function<SourceProvider, Collection<File>>) - Method in class com.android.builder.core.VariantConfiguration
Returns the dynamic list of AssetSet based on the configuration, for a particular property of SourceProvider.
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.
getSplitFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the split name from the manifest.
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
 
getSuffix() - Method in enum com.android.builder.core.VariantType
Returns suffix used for naming Gradle tasks.
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
 
getSymbols() - Method in class com.android.builder.symbols.SymbolTable
 
getSystemProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
 
getTablePackage() - Method in class com.android.builder.symbols.SymbolTable
Returns the table package.
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.
getTargetSdkVersion() - Method in class com.android.builder.core.VariantConfiguration
Return the targetSdkVersion for this variant.
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.
getTestApplicationId() - Method in class com.android.builder.core.VariantConfiguration
 
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 class com.android.builder.core.VariantConfiguration
 
getTestedApplicationId() - Method in interface com.android.builder.testing.TestData
Returns the tested application id.
getTestedApplicationIdFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
getTestedConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getTestFunctionalTest() - Method in class com.android.builder.core.DefaultProductFlavor
getTestHandleProfiling() - Method in class com.android.builder.core.DefaultProductFlavor
getTestingTypes() - Static method in enum com.android.builder.core.VariantType
 
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.
getTestLabel() - Method in class com.android.builder.core.VariantConfiguration
Gets the test label for this variant
getTestLabelFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
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.core.VariantConfiguration
 
getTypeName() - Method in enum com.android.builder.symbols.SymbolJavaType
 
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.
getValue() - Method in class com.android.builder.symbols.Symbol
Obtains the value of the symbol.
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.
getVariantSourceProvider() - Method in class com.android.builder.core.VariantConfiguration
Returns the variant specific source provider
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.
getVersionCode() - Method in class com.android.builder.core.VariantConfiguration
Returns the version code for this variant.
getVersionCodeFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
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.
getVersionName() - Method in class com.android.builder.core.VariantConfiguration
Returns the version name for this variant.
getVersionNameFromManifest() - Method in class com.android.builder.core.VariantConfiguration
 
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
 

H

handleIssue(String, int, int, String) - Method in interface com.android.builder.core.SyncIssueHandler
Reports an issue.
handleSyncError(String, int, String) - Method in class com.android.builder.core.ErrorReporter
Reports an error.
handleSyncWarning(String, int, String) - Method in class com.android.builder.core.ErrorReporter
Reports a warning.
hasFlavors() - Method in class com.android.builder.core.VariantConfiguration
 
hashCode() - Method in class com.android.builder.core.DefaultApiVersion
 
hashCode() - Method in class com.android.builder.core.DefaultBuildType
 
hashCode() - Method in class com.android.builder.core.DefaultProductFlavor
 
hashCode(Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode(Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode(Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode(Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode(Object, Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode(Object, Object, Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode(Object, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class com.android.builder.dependency.HashCodeUtils
 
hashCode() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
hashCode() - Method in class com.android.builder.dependency.level2.Dependency
 
hashCode() - Method in class com.android.builder.dependency.level2.DependencyNode
 
hashCode() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
hashCode() - Method in class com.android.builder.dependency.level2.JavaDependency
 
hashCode() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
hashCode() - Method in class com.android.builder.files.RelativeFile
 
hashCode() - Method in class com.android.builder.signing.DefaultSigningConfig
 
HashCodeUtils - Class in com.android.builder.dependency
Utilities to calculate hashcodes without creating temporary Object[] instances.
HashCodeUtils() - Constructor for class com.android.builder.dependency.HashCodeUtils
 
hasRuntimeAnnotations(byte[]) - Static method in class com.android.builder.dexing.RuntimeAnnotatedClassDetector
Detects if a given class has runtime visible annotations.
hasSyncIssue(int) - Method in interface com.android.builder.core.SyncIssueHandler
 

I

IdProvider - Interface in com.android.builder.symbols
Provides IDs for resource assignment.
IncrementalFileMerger - Class in com.android.builder.merge
Class performing an incremental merge operation.
IncrementalFileMergerInput - Interface in com.android.builder.merge
IncrementalFileMergerOutput - Interface in com.android.builder.merge
Output of a merge operation.
IncrementalFileMergerOutputs - Class in com.android.builder.merge
Factories for instances of IncrementalFileMergerOutput.
IncrementalFileMergerState - Class in com.android.builder.merge
State of an incremental file merge.
IncrementalFileMergerState() - Constructor for class com.android.builder.merge.IncrementalFileMergerState
Creates a new, empty, state.
IncrementalRelativeFileSets - Class in com.android.builder.files
Utilities for incremental relative file sets, immutable maps of relative files to status.
IncrementalRelativeFileSets.FileDeletionPolicy - Enum in com.android.builder.files
Policy for file deletions.
init() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
initWith(BuildType) - Method in class com.android.builder.core.DefaultBuildType
Copies all properties from the given build type.
installPackage(File, Collection<String>, int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
installPackages(List<File>, Collection<String>, int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
installSdkTool(SdkLibData, String) - Method in class com.android.builder.sdk.DefaultSdkLoader
 
installSdkTool(SdkLibData, String) - Method in class com.android.builder.sdk.PlatformLoader
 
installSdkTool(SdkLibData, String) - Method in interface com.android.builder.sdk.SdkLoader
Installs an Android Sdk Tool if it's not already installed.
isBundled() - Method in class com.android.builder.core.VariantConfiguration
Returns true if the variant output is a bundle.
isConfigured() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
isDebuggable() - Method in class com.android.builder.core.DefaultBuildType
Whether this build type should generate a debuggable apk.
isEmbedMicroApp() - Method in class com.android.builder.core.DefaultBuildType
Whether a linked Android Wear app should be embedded in variant using this build type.
isExportDataBindingClassList() - Method in enum com.android.builder.core.VariantType
Whether the artifact type should export the data binding class list.
isForTesting() - Method in enum com.android.builder.core.VariantType
Returns true if the variant is automatically generated for testing purposed, false otherwise.
isJniDebuggable() - Method in class com.android.builder.core.DefaultBuildType
Whether this build type is configured to generate an APK with debuggable native code.
isLegacyMultiDexMode() - Method in class com.android.builder.core.VariantConfiguration
 
isLibrary() - Method in interface com.android.builder.testing.TestData
 
isLocal() - Method in class com.android.builder.dependency.level2.Dependency
 
isLocal() - Method in class com.android.builder.dependency.level2.JavaDependency
Returns if the dependency is a local jar, i.e.
isMinifyEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether Minify is enabled for this build type.
isMinSdkVersionSupported(BuildToolInfo) - Static method in class com.android.builder.core.DexProcessBuilder
Returns if specifying min sdk version is supported by dx in the build tools.
isMultiDex() - Method in class com.android.builder.core.DexProcessBuilder
 
isMultiDex() - Method in enum com.android.builder.dexing.DexingType
 
isMultiDexEnabled() - Method in class com.android.builder.core.VariantConfiguration
 
isPreDex() - Method in enum com.android.builder.dexing.DexingType
 
isPreviewTarget() - Method in class com.android.builder.core.AndroidBuilder
Returns whether the compilation target is a preview.
isProvided() - Method in class com.android.builder.dependency.DependencyMutableData
 
isPseudoLocalesEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether to generate pseudo locale in the APK.
isRenderscriptDebuggable() - Method in class com.android.builder.core.DefaultBuildType
Whether the build type is configured to generate an apk with debuggable RenderScript code.
isRequired() - Method in class com.android.builder.core.LibraryRequest
Whether the library is required by the app or just optional.
isSigningReady() - Method in class com.android.builder.core.VariantConfiguration
 
isSigningReady() - Method in class com.android.builder.signing.DefaultSigningConfig
 
isSingleBuildType() - Method in enum com.android.builder.core.VariantType
Whether the artifact type supports only a single build type.
isSkipped() - Method in class com.android.builder.dependency.DependencyMutableData
 
isSubModule() - Method in class com.android.builder.dependency.level2.AndroidDependency
Returns whether the library is an android Lib sub-module.
isTestCoverageEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether test coverage is enabled for this build type.
isTestCoverageEnabled() - Method in class com.android.builder.core.VariantConfiguration
 
isTestCoverageEnabled() - Method in interface com.android.builder.testing.TestData
Returns whether the tested app is enabled for code coverage
isV1SigningEnabled() - Method in class com.android.builder.signing.DefaultSigningConfig
 
isV2SigningEnabled() - Method in class com.android.builder.signing.DefaultSigningConfig
 
isVerbose() - Method in class com.android.builder.core.DexProcessBuilder
 
isZipAlignEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether zipalign is enabled for this build type.

J

JavaDependency - Class in com.android.builder.dependency.level2
A Java dependency
JavaDependency(File, MavenCoordinates, String, String) - Constructor for class com.android.builder.dependency.level2.JavaDependency
 
JavaDependency(File) - Constructor for class com.android.builder.dependency.level2.JavaDependency
 

L

LazyIncrementalFileMergerInput - Class in com.android.builder.merge
Implementation of an IncrementalFileMergerInput that lazily loads required data.
LazyIncrementalFileMergerInput(String, CachedSupplier<ImmutableMap<RelativeFile, FileStatus>>, CachedSupplier<ImmutableSet<RelativeFile>>) - Constructor for class com.android.builder.merge.LazyIncrementalFileMergerInput
Creates a new input.
LazyIncrementalFileMergerInputs - Class in com.android.builder.merge
Factory methods for LazyIncrementalFileMergerInput.
LibraryRequest - Class in com.android.builder.core
a request for an optional library.
LibraryRequest(String, boolean) - Constructor for class com.android.builder.core.LibraryRequest
 
LINT - Static variable in class com.android.builder.core.BuilderConstants
 
loadDependenciesSymbolTables(Set<File>, String) - Static method in class com.android.builder.symbols.SymbolUtils
Load symbol tables of each library on which the main library/application depends on.
loadFromMetadataFile(File) - Method in interface com.android.builder.testing.TestData
load the tested variant build output metadata file.

M

MAIN - Static variable in class com.android.builder.core.BuilderConstants
The name of the default config.
makeFromBaseFiles(Collection<File>, Map<File, FileStatus>, FileCacheByPath, Set<Runnable>, IncrementalRelativeFileSets.FileDeletionPolicy) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Builds an incremental relative file set from a set of modified files.
ManifestAttributeSupplier - Interface in com.android.builder.core
An interface that provides methods for reading some of the attribute values from the manifest.
MavenCoordinatesImpl - Class in com.android.builder.dependency
Serializable implementation of MavenCoordinates for use in the model.
MavenCoordinatesImpl(String, String, String) - Constructor for class com.android.builder.dependency.MavenCoordinatesImpl
 
MavenCoordinatesImpl(String, String, String, String, String) - Constructor for class com.android.builder.dependency.MavenCoordinatesImpl
 
merge(List<IncrementalFileMergerInput>, IncrementalFileMergerOutput, IncrementalFileMergerState) - Static method in class com.android.builder.merge.IncrementalFileMerger
Performs an incremental merge operation.
merge(String, List<InputStream>, Closer) - Method in interface com.android.builder.merge.StreamMergeAlgorithm
Merges the given streams.
merge(SymbolTable) - Method in class com.android.builder.symbols.SymbolTable
Short for merging this and m.
merge(List<SymbolTable>) - Static method in class com.android.builder.symbols.SymbolTable
Merges a list of tables into a single table.
mergeApplicationIdSuffix(String, String) - Static method in class com.android.builder.core.DefaultProductFlavor
 
mergeDexArchives(Iterable<Path>, Path, Path, DexingType) - Method in interface com.android.builder.dexing.DexArchiveMerger
Merges the specified dex archive to final dex file(s).
mergeDexArchives(Iterable<Path>, Path, Path, DexingType) - Method in class com.android.builder.dexing.DxDexArchiveMerger
Triggers the actual merging by processing all DEX files from dex archives, and outputting the DEX file(s) in the specified directory.
mergeManifestsForApplication(File, List<File>, List<? extends ManifestProvider>, String, int, String, String, String, Integer, String, String, String, ManifestMerger2.MergeType, Map<String, Object>, List<ManifestMerger2.Invoker.Feature>, File) - Method in class com.android.builder.core.AndroidBuilder
Invoke the Manifest Merger version 2.
mergeManifestsForTestVariant(String, String, String, String, String, Boolean, Boolean, String, File, List<? extends ManifestProvider>, Map<String, Object>, File, File) - Method in class com.android.builder.core.AndroidBuilder
Creates the manifest for a test variant
MergeOutputWriter - Interface in com.android.builder.merge
Writes the output of a merge.
MergeOutputWriters - Class in com.android.builder.merge
Factory methods for MergeOutputWriter.
mergeVersionNameSuffix(String, String) - Static method in class com.android.builder.core.DefaultProductFlavor
 
MIN_BUILD_TOOLS_REV - Static variable in class com.android.builder.core.AndroidBuilder
Minimal supported version of build tools.
MIN_SDK_WITH_VECTOR_SUPPORT - Static variable in class com.android.builder.png.VectorDrawableRenderer
Projects with minSdk set to this or higher don't need to generate PNGs.
MIN_SUPPORTED_API_TRY_WITH_RESOURCES - Static variable in class com.android.builder.core.DesugarProcessBuilder
 
mName - Variable in class com.android.builder.signing.DefaultSigningConfig
 
MockableJarGenerator - Class in com.android.builder.testing
Given a "standard" android.jar, creates a "mockable" version, where all classes and methods are not final.
MockableJarGenerator(boolean) - Constructor for class com.android.builder.testing.MockableJarGenerator
 

N

NaiveDexMergingStrategy - Class in com.android.builder.dexing
Naive DEX merging strategy.
NaiveDexMergingStrategy() - Constructor for class com.android.builder.dexing.NaiveDexMergingStrategy
 
name() - Method in interface com.android.builder.dexing.ClassFileEntry
Returns the entry name.
NativeLibraryAbiPredicate - Class in com.android.builder.files
Predicate applicable to file paths that only accepts native libraries optionally filtered by a set of ABIs.
NativeLibraryAbiPredicate(Set<String>, boolean) - Constructor for class com.android.builder.files.NativeLibraryAbiPredicate
Creates a new predicate.
needsCacheReset() - Method in class com.android.builder.sdk.SdkLibData
 
needsPreprocessing(File) - Method in class com.android.builder.png.VectorDrawableRenderer
 
newCruncher(String, ILogger, int) - Method in enum com.android.builder.png.QueuedCruncher.Builder
Creates a new QueuedCruncher or return an existing one based on the underlying AAPT executable location.
next(ResourceType) - Method in interface com.android.builder.symbols.IdProvider
Provides another unique ID.
NO_CHILDREN - Static variable in class com.android.builder.symbols.Symbol
 
NO_OP - Static variable in interface com.android.builder.compiling.DependencyFileProcessor
 
NoAuthorizedDeviceFoundException() - Constructor for exception com.android.builder.testing.TestRunner.NoAuthorizedDeviceFoundException
 
NON_DEX_HEAP_SIZE - Static variable in class com.android.builder.utils.PerformanceUtils
Approximate amount of heap space necessary for non-dexing steps of the build process.

O

OnDeviceOrchestratorTestRunner - Class in com.android.builder.testing
Implementation of TestRunner that invokes tests through Odo.
OnDeviceOrchestratorTestRunner(File, ProcessExecutor) - Constructor for class com.android.builder.testing.OnDeviceOrchestratorTestRunner
 
open() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
 
open() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
 
open() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
 
open() - Method in interface com.android.builder.merge.OpenableCloseable
Opens the object.
OpenableCloseable - Interface in com.android.builder.merge
Specifies the general contract for an object that needs to be open or closed.
openPath(String) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
 
openPath(String) - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
 
openPath(String) - Method in interface com.android.builder.merge.IncrementalFileMergerInput
Opens a path for reading.
openPath(String) - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
 
openPath(String) - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
 
OPTIMIZE_WARNING - Static variable in class com.android.builder.core.DefaultDexOptions
 

P

packageCodeSplitApk(File, Set<File>, SigningConfig, File, File, ApkCreatorFactory) - Method in class com.android.builder.core.AndroidBuilder
Creates a new split APK containing only code.
PackagerException - Exception in com.android.builder.packaging
An exception thrown during packaging of an APK file.
PackagerException(String, Object...) - Constructor for exception com.android.builder.packaging.PackagerException
 
PackagerException(Throwable, String, Object...) - Constructor for exception com.android.builder.packaging.PackagerException
 
PackagerException(Throwable) - Constructor for exception com.android.builder.packaging.PackagerException
 
PackagingUtils - Class in com.android.builder.packaging
Utility class for packaging.
PackagingUtils() - Constructor for class com.android.builder.packaging.PackagingUtils
 
parse(Document, IdProvider) - Static method in class com.android.builder.symbols.ResourceExtraXmlParser
Finds all constructions of type <@code '"@+id/name"'> in the given file.
parse(Document, IdProvider, SymbolTable) - Static method in class com.android.builder.symbols.ResourceValuesXmlParser
Constructs a SymbolTable from the given parsed XML document.
parseApk(File) - Method in class com.android.builder.core.ApkInfoParser
Computes and returns the info for an APK
parseDirectory(File, IdProvider, SymbolTable) - Static method in class com.android.builder.symbols.ResourceDirectoryParser
Parses a resource directory.
parseManifest(File) - Static method in class com.android.builder.symbols.SymbolUtils
 
parseSizeToBytes(String) - Static method in class com.android.builder.utils.PerformanceUtils
Returns a number, Long, that is non-null when the size can be parsed successfully.
PerformanceUtils - Class in com.android.builder.utils
Helper methods when analyzing the environment in which the plugin in run.
PerformanceUtils() - Constructor for class com.android.builder.utils.PerformanceUtils
 
pickFirst() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
Algorithm that copies the content of the first stream.
PlatformLoader - Class in com.android.builder.sdk
Singleton-based implementation of SdkLoader for a platform-based SDK.
preDexLibrary(File, File, boolean, DexOptions, ProcessOutputHandler, int) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format, using the PreDexCache layer.
preDexLibraryNoCache(File, File, boolean, DexOptions, ProcessOutputHandler, int) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format, ignoring the PreDexCache layer.
processExecutor - Variable in class com.android.builder.testing.BaseTestRunner
 
processFile(File) - Method in interface com.android.builder.compiling.DependencyFileProcessor
Processes the dependency file.
processLibraryMainSymbolTable(SymbolTable, Set<File>, String, File, File, File, File, File, SymbolTable, boolean) - Static method in class com.android.builder.symbols.SymbolUtils
Processes the symbol table and generates necessary files: R.txt, R.java and proguard rules (aapt_rules.txt).
processResources(Aapt, AaptPackageConfig.Builder) - Method in class com.android.builder.core.AndroidBuilder
Process the resources and generate R.java and/or the packaged resources.
pullFile(String, String) - Method in class com.android.builder.testing.ConnectedDevice
 
putBoolean(String, boolean) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds an input parameter with a Boolean value.
putFileHash(String, File) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds the hash of a file's contents as an input parameter.
putFilePath(String, File) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds the path of a file/directory as an input parameter.
putFilePathLengthTimestamp(String, File) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds a file's path, length and timestamp as input parameters.
putLong(String, long) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds an input parameter with a Long value.
putString(String, String) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds an input parameter with a String value.

Q

QueuedCruncher - Class in com.android.builder.png
Implementation of PngCruncher that queues request and use a pool of aapt server processes to serve those.
QueuedCruncher.Builder - Enum in com.android.builder.png
 

R

read(File, String) - Static method in class com.android.builder.symbols.SymbolIo
Loads a symbol table from a symbol file.
read(ExceptionFunction<File, V>) - Method in class com.android.builder.utils.SynchronizedFile
Executes an action that reads the file with a SHARED lock.
readAllBytes() - Method in interface com.android.builder.dexing.ClassFileEntry
Read the content into a newly allocated byte[].
readAllBytes(byte[]) - Method in interface com.android.builder.dexing.ClassFileEntry
Read the content of the file into an existing byte[]
readFromAapt(File, String) - Static method in class com.android.builder.symbols.SymbolIo
Loads a symbol table from a symbol file created by aapt
readTableWithPackage(File) - Static method in class com.android.builder.symbols.SymbolIo
Loads a symbol table from a synthetic namespaced symbol file.
readTableWithPackage(Path) - Static method in class com.android.builder.symbols.SymbolIo
 
ReferenceCountMergingStrategy - Class in com.android.builder.dexing
Dex merging strategy that tracks field and method references that can be merged.
ReferenceCountMergingStrategy() - Constructor for class com.android.builder.dexing.ReferenceCountMergingStrategy
 
RelativeFile - Class in com.android.builder.files
Representation of a file with respect to a base directory.
RelativeFile(File, File) - Constructor for class com.android.builder.files.RelativeFile
Creates a new relative file.
RelativeFiles - Class in com.android.builder.files
Utilities to handle RelativeFile.
RELEASE - Static variable in class com.android.builder.core.BuilderConstants
 
remove(File) - Method in class com.android.builder.files.FileCacheByPath
Removes any cached version of the given path.
remove(String) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
 
remove(String) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
A path needs to be removed from the output.
remove(String) - Method in interface com.android.builder.merge.MergeOutputWriter
Removes a path from the output.
removeFile(Path) - Method in interface com.android.builder.dexing.DexArchive
Removes the specified DEX file from the dex archive.
rename(String) - Method in class com.android.builder.symbols.SymbolTable
Builds a new symbol table that has the same symbols as this one, but was renamed with the given package.
RenameIncrementalFileMergerInput - Class in com.android.builder.merge
IncrementalFileMergerInput that renames files in another input according to a renaming function.
RenameIncrementalFileMergerInput(IncrementalFileMergerInput, Function<String, String>, Function<String, String>) - Constructor for class com.android.builder.merge.RenameIncrementalFileMergerInput
Creates a new input.
replace(String, InputStream) - Method in interface com.android.builder.merge.MergeOutputWriter
Replaces a path's contents with new contents.
RES_VALUE_FILENAME_XML - Static variable in class com.android.builder.compiling.ResValueGenerator
 
ResourceDirectoryParseException - Exception in com.android.builder.symbols
Exception thrown when failed to parse a resource directory.
ResourceDirectoryParseException(String) - Constructor for exception com.android.builder.symbols.ResourceDirectoryParseException
Creates a new exception.
ResourceDirectoryParseException(String, Throwable) - Constructor for exception com.android.builder.symbols.ResourceDirectoryParseException
Creates a new exception.
ResourceDirectoryParser - Class in com.android.builder.symbols
Parser that scans a resource directory for all resources and builds a SymbolTable.
ResourceExtraXmlParser - Class in com.android.builder.symbols
A parser used for finding all inline declaration of android resources in XML files.
ResourceExtraXmlParser() - Constructor for class com.android.builder.symbols.ResourceExtraXmlParser
 
ResourceValuesXmlParseException - Exception in com.android.builder.symbols
Exception thrown when failed to parse the resource values XML.
ResourceValuesXmlParseException(String) - Constructor for exception com.android.builder.symbols.ResourceValuesXmlParseException
Creates a new exception.
ResourceValuesXmlParser - Class in com.android.builder.symbols
Parser that can load a SymbolTable from a resource XML file.
ResValueGenerator - Class in com.android.builder.compiling
Class able to generate a res value file in an Android project.
ResValueGenerator(File) - Constructor for class com.android.builder.compiling.ResValueGenerator
Creates a generator
RGeneration - Class in com.android.builder.symbols
Utility class to generate R.java files.
run() - Method in interface com.android.builder.utils.ExceptionRunnable
 
runDexer(DexProcessBuilder, DexOptions, ProcessOutputHandler) - Method in class com.android.builder.core.DexByteCodeConverter
 
runTests(String, String, TestData, Set<File>, List<? extends DeviceConnector>, int, Collection<String>, File, File, ILogger) - Method in class com.android.builder.testing.BaseTestRunner
 
runTests(String, String, TestData, Set<File>, List<? extends DeviceConnector>, int, Collection<String>, File, File, ILogger) - Method in interface com.android.builder.testing.TestRunner
Returns true if the tests succeeded.
RuntimeAnnotatedClassCollector - Class in com.android.builder.dexing
A collector for runtime annotated classes.
RuntimeAnnotatedClassCollector(Predicate<byte[]>) - Constructor for class com.android.builder.dexing.RuntimeAnnotatedClassCollector
 
RuntimeAnnotatedClassDetector - Class in com.android.builder.dexing
A detector for runtime annotated classes.

S

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.
sequential() - Static method in interface com.android.builder.symbols.IdProvider
Obtains a new ID provider that provides sequential IDs.
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
 
setMultiFlavorSourceProvider(SourceProvider) - Method in class com.android.builder.core.VariantConfiguration
Sets the variant-specific source provider.
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
 
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
 
setVariantSourceProvider(SourceProvider) - Method in class com.android.builder.core.VariantConfiguration
Sets the variant-specific source provider.
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
Basic TestRunner running tests on all devices.
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
 
start() - Method in class com.android.builder.png.AaptProcess.Builder
 
start() - Method in class com.android.builder.png.QueuedCruncher
 
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
 
startNewDex() - Method in class com.android.builder.dexing.ReferenceCountMergingStrategy
 
StreamMergeAlgorithm - Interface in com.android.builder.merge
Algorithm to merge streams.
StreamMergeAlgorithms - Class in com.android.builder.merge
File merge algorithms.
Symbol - Class in com.android.builder.symbols
A symbol is a 4-tuple containing a resource type, a name, a java type and a value.
Symbol() - Constructor for class com.android.builder.symbols.Symbol
 
SymbolIo - Class in com.android.builder.symbols
Reads and writes symbol tables to files.
SymbolJavaType - Enum in com.android.builder.symbols
 
SymbolTable - Class in com.android.builder.symbols
List of symbols identifying resources in an Android application.
SymbolTable() - Constructor for class com.android.builder.symbols.SymbolTable
 
SymbolTable.Builder - Class in com.android.builder.symbols
Builder that creates a symbol table.
SymbolUtils - Class in com.android.builder.symbols
Helper methods related to Symbols and resource processing.
SymbolUtils() - Constructor for class com.android.builder.symbols.SymbolUtils
 
SymbolUtils.SymbolTableGenerationMode - Enum in com.android.builder.symbols
 
SynchronizedFile - Class in com.android.builder.utils
A file whose access from multiple threads or processes is synchronized.
SyncIssueHandler - Interface in com.android.builder.core
Handler for issues during evaluation / sync.

T

tablePackage(String) - Method in class com.android.builder.symbols.SymbolTable.Builder
Sets the table package.
TargetInfo - Class in com.android.builder.sdk
The SDK Target information needed to build a project.
TargetInfo(IAndroidTarget, BuildToolInfo) - Constructor for class com.android.builder.sdk.TargetInfo
 
terminate() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
test(String) - Method in class com.android.builder.files.NativeLibraryAbiPredicate
 
TestData - Interface in com.android.builder.testing
Data representing the test app and the tested application/library.
TestRunner - Interface in com.android.builder.testing
A test runner able to run tests on a list of DeviceConnector
TestRunner.NoAuthorizedDeviceFoundException - Exception in com.android.builder.testing
 
toDirectory(File) - Static method in class com.android.builder.merge.MergeOutputWriters
Creates a writer that writes files to a directory.
toString() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
toString() - Method in class com.android.builder.core.DefaultApiVersion
 
toString() - Method in class com.android.builder.core.DefaultBuildType
 
toString() - Method in class com.android.builder.core.DefaultProductFlavor
 
toString() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
 
toString() - Method in class com.android.builder.dependency.DependencyMutableData
 
toString() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
toString() - Method in class com.android.builder.dependency.level2.JavaDependency
 
toString() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
toString() - Method in class com.android.builder.files.RelativeFile
 
toString() - Method in class com.android.builder.png.AaptProcess
 
toString() - Method in class com.android.builder.signing.DefaultSigningConfig
 
toString() - Method in class com.android.builder.utils.FileCache.Inputs
 
toString() - Method in class com.android.builder.utils.FileCache
 
toZip(File) - Static method in class com.android.builder.merge.MergeOutputWriters
Creates a writer that writes files to a zip file.
tryToAddForMerging(Dex) - Method in interface com.android.builder.dexing.DexMergingStrategy
Tries to add a new DEX file to the existing list of DEX files to be merged.
tryToAddForMerging(Dex) - Method in class com.android.builder.dexing.NaiveDexMergingStrategy
 
tryToAddForMerging(Dex) - Method in class com.android.builder.dexing.ReferenceCountMergingStrategy
 

U

uninstallPackage(String, int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
union(Iterable<ImmutableMap<RelativeFile, FileStatus>>) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Computes the incremental relative file set that is the union of all provided sets.
unload() - Static method in class com.android.builder.sdk.DefaultSdkLoader
 
unload() - Static method in class com.android.builder.sdk.PlatformLoader
 
update(String, List<String>, List<IncrementalFileMergerInput>) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
 
update(String, List<String>, List<IncrementalFileMergerInput>) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
A path needs to be updated.
updateRepositories(List<String>, SdkLibData, ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
 
updateRepositories(List<String>, SdkLibData, ILogger) - Method in class com.android.builder.sdk.PlatformLoader
 
updateRepositories(List<String>, SdkLibData, ILogger) - Method in interface com.android.builder.sdk.SdkLoader
Tries to update (or install) all local maven repositories and returns a list of directories that were modified.
useSdkDownload() - Method in class com.android.builder.sdk.SdkLibData
 

V

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.core.ErrorReporter.EvaluationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.core.VariantType
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.png.QueuedCruncher.Builder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.symbols.SymbolJavaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.symbols.SymbolUtils.SymbolTableGenerationMode
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.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.core.ErrorReporter.EvaluationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.core.VariantType
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.png.QueuedCruncher.Builder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.symbols.SymbolJavaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.symbols.SymbolUtils.SymbolTableGenerationMode
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.QueryEvent
Returns an array containing the constants of this enum type, in the order they are declared.
VariantConfiguration<T extends com.android.builder.model.BuildType,D extends com.android.builder.model.ProductFlavor,F extends com.android.builder.model.ProductFlavor> - Class in com.android.builder.core
A Variant configuration.
VariantConfiguration(D, SourceProvider, ManifestAttributeSupplier, T, SourceProvider, VariantType, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets for a given VariantType.
VariantConfiguration(D, SourceProvider, ManifestAttributeSupplier, T, SourceProvider, VariantType, VariantConfiguration<T, D, F>, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets, and an optional tested variant.
VariantType - Enum in com.android.builder.core
Type of a variant.
VectorDrawableRenderer - Class in com.android.builder.png
Generates PNG images (and XML copies) from VectorDrawable files.
VectorDrawableRenderer(int, File, Collection<Density>, Supplier<ILogger>) - Constructor for class com.android.builder.png.VectorDrawableRenderer
 
Version - Class in com.android.builder
 

W

waitForReady() - Method in class com.android.builder.png.AaptProcess
 
withClassExtension(Path) - Static method in class com.android.builder.dexing.DexArchiveEntry
Takes the specified .dex file, and changes its extension to .class.
withDexExtension(Path) - Static method in interface com.android.builder.dexing.ClassFileEntry
Takes the specified .class file, and changes its extension to .dex.
wrap(Throwable) - Static method in exception com.android.builder.dexing.DexArchiveBuilderException
 
write(SymbolTable, File) - Static method in class com.android.builder.symbols.SymbolIo
Writes a symbol table to a symbol file.
write(SymbolTable, Path) - Static method in class com.android.builder.symbols.SymbolIo
 
write(ExceptionFunction<File, V>) - Method in class com.android.builder.utils.SynchronizedFile
Executes an action that writes to (or deletes) the file with an EXCLUSIVE lock.
writeSymbolTableWithPackage(Path, Path, Path) - Static method in class com.android.builder.symbols.SymbolIo
Writes the symbol table with the package name as the first line.

Z

ZipAbortException - Exception in com.android.builder.packaging
An exception thrown during packaging of a zip file into APK file.
ZipAbortException() - Constructor for exception com.android.builder.packaging.ZipAbortException
 
ZipAbortException(String, Object...) - Constructor for exception com.android.builder.packaging.ZipAbortException
 
ZipAbortException(Throwable, String, Object...) - Constructor for exception com.android.builder.packaging.ZipAbortException
 
ZipAbortException(Throwable) - Constructor for exception com.android.builder.packaging.ZipAbortException
 
ZipEntryFilter - Interface in com.android.builder.packaging
Classes which implement this interface provides a method to check whether a file should be added to a Jar file.
A B C D E F G H I J L M N O P Q R S T U V W Z 
Skip navigation links