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

A

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(ZipCentralDirectory) - Method in class com.android.builder.files.FileCacheByPath
Adds a file to the cache, replacing any file that had the exact same absolute path.
addDeprecatedField(String, String, String, String) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addDirectory(Path) - Method in interface com.android.builder.packaging.JarCreator
 
addDirectory(Path, Predicate<String>, JarCreator.Transformer, JarCreator.Relocator) - Method in interface com.android.builder.packaging.JarCreator
 
addDirectory(Path) - Method in class com.android.builder.packaging.JarMerger
 
addDirectory(Path, Predicate<String>, JarCreator.Transformer, JarCreator.Relocator) - Method in class com.android.builder.packaging.JarMerger
 
addEntry(String, InputStream) - Method in interface com.android.builder.packaging.JarCreator
 
addEntry(String, InputStream) - Method in class com.android.builder.packaging.JarMerger
 
addField(String, String, String) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addFile(String, byte[], int, int) - Method in interface com.android.builder.dexing.DexArchive
Adds a DEX file to this dex archive from a byte[].
addFile(String, Path) - Method in interface com.android.builder.packaging.JarCreator
 
addFile(String, Path) - Method in class com.android.builder.packaging.JarMerger
 
addHint(String) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.ResValueGenerator
 
addJar(Path) - Method in interface com.android.builder.packaging.JarCreator
 
addJar(Path, Predicate<String>, JarCreator.Relocator) - Method in interface com.android.builder.packaging.JarCreator
 
addJar(Path) - Method in class com.android.builder.packaging.JarMerger
 
addJar(Path, Predicate<String>, JarCreator.Relocator) - Method in class com.android.builder.packaging.JarMerger
 
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')
analyze(Path) - Static method in class com.android.builder.desugaring.DesugaringClassAnalyzer
 
ANDROID_WEAR - Static variable in class com.android.builder.core.BuilderConstants
 
ANDROID_WEAR_MICRO_APK - Static variable in class com.android.builder.core.BuilderConstants
 
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, ExecutorServiceAdapter) - Constructor for class com.android.builder.testing.BaseTestRunner
 
BaseTestRunner.TestResult - Class in com.android.builder.testing
 
BaseTestRunner.TestResult.Result - Enum in com.android.builder.testing
 
build(boolean) - Method in class com.android.builder.core.DesugarProcessBuilder
 
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(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(FileCache.Command, FileCache.CacheSession) - Constructor for class com.android.builder.utils.FileCache.Inputs.Builder
Creates a FileCache.Inputs.Builder instance to construct an FileCache.Inputs object.
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
 
checkFileForApkPackaging(String, boolean) - Static method in class com.android.builder.packaging.PackagingUtils
Checks a file to make sure it should be packaged as standard resources.
chooseNotNull(T, T) - Static method in class com.android.builder.core.DefaultProductFlavor
 
CLASS_MATCHER - Static variable in interface com.android.builder.dexing.ClassFileInput
Accepts Unix-style absolute or relative path.
CLASSES_ONLY - Static variable in class com.android.builder.packaging.JarMerger
 
ClassFileEntry - Interface in com.android.builder.dexing
A single .class file abstraction.
ClassFileInput - Interface in com.android.builder.dexing
This represents input containing .class files.
ClassFileInputs - Class in com.android.builder.dexing
Helper methods for creating ClassFileInput instances.
ClassFileProviderFactory - Class in com.android.builder.dexing.r8
Provides ClassFileResourceProvider suitable for D8/R8 classpath and bootclasspath entries.
ClassFileProviderFactory(Collection<Path>) - Constructor for class com.android.builder.dexing.r8.ClassFileProviderFactory
 
clear() - Method in class com.android.builder.files.FileCacheByPath
Clears the cache.
cloneFrom(ProductFlavor) - Method in class com.android.builder.core.DefaultProductFlavor
 
close() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
 
close() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
 
close() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
 
close() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
 
close() - Method in interface com.android.builder.merge.OpenableCloseable
Closes the object.
close() - Method in class com.android.builder.packaging.JarMerger
 
com.android.builder.compiling - package com.android.builder.compiling
 
com.android.builder.core - package com.android.builder.core
 
com.android.builder.dependency - package com.android.builder.dependency
 
com.android.builder.dependency.level2 - package com.android.builder.dependency.level2
 
com.android.builder.desugaring - package com.android.builder.desugaring
 
com.android.builder.dexing - package com.android.builder.dexing
 
com.android.builder.dexing.r8 - package com.android.builder.dexing.r8
 
com.android.builder.files - package com.android.builder.files
 
com.android.builder.merge - package com.android.builder.merge
The merge package provides the implementation of an incremental merger.
com.android.builder.multidex - package com.android.builder.multidex
 
com.android.builder.packaging - package com.android.builder.packaging
 
com.android.builder.png - package com.android.builder.png
 
com.android.builder.sdk - package com.android.builder.sdk
 
com.android.builder.signing - package com.android.builder.signing
 
com.android.builder.testing - package com.android.builder.testing
 
com.android.builder.utils - package com.android.builder.utils
 
compareWithoutVersion(MavenCoordinates) - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
computeRequestedAndFallBacks(List<String>) - Method in class com.android.builder.core.DefaultProductFlavor
Computes the requested value and the fallback list from the list of values provided in the DSL
concat() - Static method in class com.android.builder.merge.StreamMergeAlgorithms
Algorithm that concatenates streams ensuring each stream ends with a UNIX newline character.
connect(int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
CONNECTED - Static variable in class com.android.builder.core.BuilderConstants
 
ConnectedDevice - Class in com.android.builder.testing
Local device connected to with ddmlib.
ConnectedDevice(IDevice, ILogger, long, TimeUnit) - Constructor for class com.android.builder.testing.ConnectedDevice
 
ConnectedDeviceProvider - Class in com.android.builder.testing
DeviceProvider for locally connected devices.
ConnectedDeviceProvider(File, int, ILogger) - Constructor for class com.android.builder.testing.ConnectedDeviceProvider
 
ConnectedDeviceProvider(Supplier<File>, int, ILogger) - Constructor for class com.android.builder.testing.ConnectedDeviceProvider
Uses a supplier for the adb executable, so we can avoid parsing the SDK until it's needed for the init.
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.
convertToMessage(Message.Kind, Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
 
copyOf(DexOptions) - Static method in class com.android.builder.core.DefaultDexOptions
 
copyOf(VectorDrawablesOptions) - Static method in class com.android.builder.core.DefaultVectorDrawablesOptions
 
create(Object) - Static method in class com.android.builder.core.DefaultApiVersion
 
create(String, List<IncrementalFileMergerInput>) - Method in class com.android.builder.merge.DelegateIncrementalFileMergerOutput
 
create(String, List<IncrementalFileMergerInput>) - Method in interface com.android.builder.merge.IncrementalFileMergerOutput
A path needs to be created.
create(String, InputStream) - Method in interface com.android.builder.merge.MergeOutputWriter
Creates a new path in the output.
createD8DexBuilder(int, boolean, ClassFileProviderFactory, ClassFileProviderFactory, boolean, MessageReceiver) - Static method in class com.android.builder.dexing.DexArchiveBuilder
Creates an instance that is using d8 to convert class files to dex files.
createD8DexMerger(MessageReceiver, int, boolean, ForkJoinPool) - 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, boolean) - 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.
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
 

D

D8DiagnosticsHandler - Class in com.android.builder.dexing
 
D8DiagnosticsHandler(MessageReceiver) - Constructor for class com.android.builder.dexing.D8DiagnosticsHandler
 
D8DiagnosticsHandler(MessageReceiver, String) - Constructor for class com.android.builder.dexing.D8DiagnosticsHandler
 
D8MainDexList - Class in com.android.builder.multidex
This is a utility class that is using D8 to get the main dex list.
D8MainDexList.MainDexListException - Exception in com.android.builder.multidex
 
DEBUG - Static variable in class com.android.builder.core.BuilderConstants
 
debugSigningConfig(File) - Static method in class com.android.builder.signing.DefaultSigningConfig
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.ToolsRevisionUtils
Default version of build tools that will be used if the user does not specify.
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) - Constructor for class com.android.builder.core.DefaultApiVersion
 
DefaultApiVersion(String) - Constructor for class com.android.builder.core.DefaultApiVersion
API version for a preview Android Version.
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, BooleanSupplier, EvalIssueReporter) - Constructor for class com.android.builder.core.DefaultManifestParser
Builds instance of the parser, and parses the supplied file.
DefaultProductFlavor - Class in com.android.builder.core
The configuration of a product flavor.
DefaultProductFlavor(String) - Constructor for class com.android.builder.core.DefaultProductFlavor
Creates a ProductFlavor with a given name.
DefaultProductFlavor(String, DefaultVectorDrawablesOptions) - Constructor for class com.android.builder.core.DefaultProductFlavor
 
DefaultProductFlavor.DimensionRequest - Class in com.android.builder.core
Class representing a request with fallbacks.
DefaultSdkLoader - Class in com.android.builder.sdk
Singleton-based implementation of SdkLoader for a standard SDK
DefaultSigningConfig - Class in com.android.builder.signing
SigningConfig encapsulates the information necessary to access certificates in a keystore file that can be used to sign APKs.
DefaultSigningConfig(String) - Constructor for class com.android.builder.signing.DefaultSigningConfig
DefaultVectorDrawablesOptions - Class in com.android.builder.core
Default implementation of VectorDrawablesOptions.
DefaultVectorDrawablesOptions() - Constructor for class com.android.builder.core.DefaultVectorDrawablesOptions
 
DelegateIncrementalFileMergerInput - Class in com.android.builder.merge
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.
deleteOldCacheEntries(long) - Method in class com.android.builder.utils.FileCache
Deletes all the cache entries that were last modified before or at the given timestamp.
Dependency - Class in com.android.builder.dependency.level2
Base attributes for a dependency element.
Dependency(File, MavenCoordinates, String, String) - Constructor for class com.android.builder.dependency.level2.Dependency
 
DependencyFileProcessor - Interface in com.android.builder.compiling
A Class that processes a dependency file after a compilation.
DependencyMutableData - Class in com.android.builder.dependency
Mutable data for an Android dependency.
DependencyMutableData() - Constructor for class com.android.builder.dependency.DependencyMutableData
 
DependencyNode - Class in com.android.builder.dependency.level2
A node in the dependency graph.
DependencyNode(Object, DependencyNode.NodeType, List<DependencyNode>, MavenCoordinates) - Constructor for class com.android.builder.dependency.level2.DependencyNode
 
DependencyNode.NodeType - Enum in com.android.builder.dependency.level2
 
DesugaringClassAnalyzer - Class in com.android.builder.desugaring
Analyzer implemented using ASM visitors to collect information about desugaring dependencies.
DesugaringClassAnalyzer() - Constructor for class com.android.builder.desugaring.DesugaringClassAnalyzer
 
DesugaringData - Class in com.android.builder.desugaring
This contains desugaring information for a single type, defined in a .class file or .jar whose path is DesugaringData.getPath().
DesugaringGraph - Class in com.android.builder.desugaring
Class that keeps track of desugaring dependencies.
DesugaringGraphs - Class in com.android.builder.desugaring
Factory class for DesugaringGraph.
DesugarProcessBuilder - Class in com.android.builder.core
A builder to create an information necessary to run Desugar in a separate JVM process.
DesugarProcessBuilder(DesugarProcessArgs, Path) - Constructor for class com.android.builder.core.DesugarProcessBuilder
 
DEVICE - Static variable in class com.android.builder.core.BuilderConstants
 
DEX_ENTRY_FILTER - Static variable in class com.android.builder.dexing.DexArchives
 
DexArchive - Interface in com.android.builder.dexing
Interface describing the DEX archive.
DexArchiveBuilder - Class in com.android.builder.dexing
An abstract dex archive builder that converts input class files to dex files that are written to dex archive.
DexArchiveBuilder() - Constructor for class com.android.builder.dexing.DexArchiveBuilder
 
DexArchiveBuilderConfig - Class in com.android.builder.dexing
Configuration object used to setup dx when creating a dex archive.
DexArchiveBuilderConfig(DxContext, boolean, int, int, DexerTool, int, boolean) - Constructor for class com.android.builder.dexing.DexArchiveBuilderConfig
Creates a configuration object used to set up the dex archive conversion.
DexArchiveBuilderException - Exception in com.android.builder.dexing
Exception thrown if something goes wrong when building a dex archive.
DexArchiveBuilderException(String, Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveBuilderException
 
DexArchiveBuilderException(Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveBuilderException
 
DexArchiveEntry - Class in com.android.builder.dexing
A single DEX file in a dex archive.
DexArchiveEntry(byte[], String, DexArchive) - Constructor for class com.android.builder.dexing.DexArchiveEntry
 
DexArchiveMerger - Interface in com.android.builder.dexing
A dex archive merger that can merge dex files from multiple dex archives into one or more dex files.
DexArchiveMergerCallable - Class in com.android.builder.dexing
Helper class used to merge specified DEX files to a location.
DexArchiveMergerCallable(Collection<Dex>, Path, DxContext) - Constructor for class com.android.builder.dexing.DexArchiveMergerCallable
 
DexArchiveMergerException - Exception in com.android.builder.dexing
An exception thrown is dex archive merging fails.
DexArchiveMergerException(Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
 
DexArchiveMergerException(String) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
 
DexArchiveMergerException(String, Throwable) - Constructor for exception com.android.builder.dexing.DexArchiveMergerException
 
DexArchives - Class in com.android.builder.dexing
Helper methods for the DexArchive.
DexerTool - Enum in com.android.builder.dexing
Tool used to dex the inputs.
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
 
DimensionRequest(String, ImmutableList<String>) - Constructor for class com.android.builder.core.DefaultProductFlavor.DimensionRequest
 
disconnect(int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
dontDownload() - Static method in class com.android.builder.sdk.SdkLibData
 
download(Downloader, SettingsController) - Static method in class com.android.builder.sdk.SdkLibData
 
DuplicatePathInIncrementalInputException - Exception in com.android.builder.merge
Exception thrown when more than one file with the same relative path is found in an incremental input for a merge.
DuplicatePathInIncrementalInputException(String) - Constructor for exception com.android.builder.merge.DuplicatePathInIncrementalInputException
Creates a new exception.
DuplicateRelativeFileException - Exception in com.android.builder.merge
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, boolean) - Constructor for class com.android.builder.dexing.DxDexArchiveMerger
Creates an instance of merger.

E

EMPTY - Static variable in class com.android.builder.desugaring.DesugaringGraph
 
entries(Predicate<String>) - 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.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
 
error(Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
 
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.
EXCLUDE_CLASSES - Static variable in class com.android.builder.packaging.JarMerger
 
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
 
executor - Variable in class com.android.builder.testing.BaseTestRunner
 
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.CacheSession - Class in com.android.builder.utils
A common point between different cache operations occurring during one single task, the cache session allows to factorize some operations, For example file hash are computed only once per session.
FileCache.Command - Enum in com.android.builder.utils
Command to be provided by the client when using FileCache.
FileCache.DirectoryProperties - Enum in com.android.builder.utils
Properties of a directory to be used when constructing the cache inputs.
FileCache.FileProperties - Enum in com.android.builder.utils
Properties of a regular file (not a directory) to be used when constructing the cache inputs.
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.
fileInDirectory(String, File) - Static method in class com.android.builder.files.RelativeFile
 
filter(String, InputStream) - Method in interface com.android.builder.packaging.JarCreator.Transformer
Transforms the given file.
filter(String, InputStream) - Method in class com.android.builder.packaging.TypedefRemover
Filter the given file (given by a path).
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.
forRemoved(Path) - Static method in class com.android.builder.desugaring.DesugaringClassAnalyzer
 
forVariant(String, Supplier<Collection<DesugaringData>>, Supplier<Collection<DesugaringData>>) - Static method in class com.android.builder.desugaring.DesugaringGraphs
Get a DesugaringGraph associated with this key.
forVariant(String, Collection<DesugaringData>) - Static method in class com.android.builder.desugaring.DesugaringGraphs
Create a DesugaringGraph associated with this key.
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
Deprecated.
Prefer the new Gradle InputChanges API.
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(ZipCentralDirectory) - 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(ZipCentralDirectory, 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(ZipCentralDirectory, 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(ZipCentralDirectory) - 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
Deprecated.
Prefer the new Gradle InputChanges API.

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
generate(List<String>, List<Path>, Collection<Path>, Collection<Path>, MessageReceiver) - Static method in class com.android.builder.multidex.D8MainDexList
Returns the list of classes that should be kept in the main dex file for legacy multidex.
generateFile(File, File) - Method in class com.android.builder.png.VectorDrawableRenderer
 
get(File) - Method in class com.android.builder.files.FileCacheByPath
Obtains the cached file corresponding to the file with the given path.
getAaptOutput(File) - Method in class com.android.builder.core.ApkInfoParser
Returns the full 'aapt2 dump badging' output for the given APK.
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().
getAffectedPackages() - Method in exception com.android.builder.sdk.InstallFailedException
 
getAffectedPackages() - Method in exception com.android.builder.sdk.LicenceNotAcceptedException
 
getAidlFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getAllDexToMerge() - Method in interface com.android.builder.dexing.DexMergingStrategy
Returns the current list of DEX files that can be merged.
getAllDexToMerge() - Method in class com.android.builder.dexing.NaiveDexMergingStrategy
 
getAllPaths() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
 
getAllPaths() - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
 
getAllPaths() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
Obtains all OS-independent paths of all files that in this input, regardless of being changed or not.
getAllPaths() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
 
getAllPaths() - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
 
getAnimationsDisabled() - Method in interface com.android.builder.testing.TestData
 
getAnnotationsJar() - Method in class com.android.builder.sdk.SdkInfo
Returns the location of the annotations jar for compilation targets that are ≤ 15.
getApiCodeName() - Method in class com.android.builder.testing.ConnectedDevice
 
getApiLevel() - Method in class com.android.builder.core.DefaultApiVersion
 
getApiLevel() - Method in class com.android.builder.testing.ConnectedDevice
 
getApiString() - Method in class com.android.builder.core.DefaultApiVersion
 
getApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
Returns the application ID.
getApplicationId() - Method in interface com.android.builder.testing.TestData
Returns the application id.
getArtifactFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getArtifactFile() - Method in class com.android.builder.dependency.level2.Dependency
Returns the artifact location.
getArtifactId() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
getAssetsFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getBase() - Method in class com.android.builder.files.RelativeFile
Obtains the base directory or jar.
getBuildConfigFile() - Method in class com.android.builder.compiling.BuildConfigGenerator
 
getBuildTools() - Method in class com.android.builder.sdk.TargetInfo
Returns the BuildToolInfo
getCachedFile() - Method in class com.android.builder.utils.FileCache.QueryResult
Returns the path to the cached output file/directory, can be null if the cache does not want to expose this information.
getCacheDirectory() - Method in class com.android.builder.utils.FileCache
 
getCauseOfCorruption() - Method in class com.android.builder.utils.FileCache.QueryResult
Returns a cause if the cache is corrupted, and null otherwise.
getCfOptions() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getClassifier() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
getClasspathFile() - Method in class com.android.builder.dependency.level2.Dependency
 
getClasspathFile() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getClasspathFile() - Method in class com.android.builder.dependency.level2.JavaDependency
 
getCodename() - Method in class com.android.builder.core.DefaultApiVersion
 
getConfigurations(File) - Method in class com.android.builder.core.ApkInfoParser
Returns the configurations (e.g.
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.
getDefaultNoCompressPredicate() - Static method in class com.android.builder.packaging.PackagingUtils
 
getDensity() - Method in class com.android.builder.testing.ConnectedDevice
 
getDependencies() - Method in class com.android.builder.dependency.level2.DependencyNode
Return the direct dependency of this node.
getDependenciesPaths(Path) - Method in class com.android.builder.desugaring.DesugaringGraph
Returns a set of paths the given path is depending on.
getDependentPaths(Path) - Method in class com.android.builder.desugaring.DesugaringGraph
Returns a set of paths that should be additionally processed, based on the changed input path.
getDeviceConfig() - Method in class com.android.builder.testing.ConnectedDevice
 
getDevices() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getDexArchive() - Method in class com.android.builder.dexing.DexArchiveEntry
 
getDexFileContent() - Method in class com.android.builder.dexing.DexArchiveEntry
Returns content of this DEX file.
getDexInProcess() - Method in class com.android.builder.core.DefaultDexOptions
Whether to run the dx compiler as a separate process or inside the Gradle daemon JVM.
getDexInProcess() - Method in interface com.android.builder.core.DexOptions
 
getDexOptions() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getDimension() - Method in class com.android.builder.core.DefaultProductFlavor
getDownloader() - Method in class com.android.builder.sdk.SdkLibData
Returns the downloader used to download the missing SDK components.
getDxContext() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getErrorOut() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getExternalAnnotations() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getExtractedFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getExtractNativeLibs() - Method in class com.android.builder.core.DefaultManifestParser
 
getExtractNativeLibs() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns value of the extractNativeLibs attribute of the application tag, if present.
getFallbacks() - Method in class com.android.builder.core.DefaultProductFlavor.DimensionRequest
 
getFile() - Method in class com.android.builder.files.RelativeFile
Returns the actual file from the directory.
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
 
getFilesToBeGenerated(File) - Method in class com.android.builder.png.VectorDrawableRenderer
 
getFlavorName() - Method in interface com.android.builder.testing.TestData
Returns the flavor name being test.
getFolderPath() - Method in class com.android.builder.compiling.BuildConfigGenerator
Returns a File representing where the BuildConfig class will be.
getFolderPath() - Method in class com.android.builder.compiling.ResValueGenerator
Returns a File representing where the BuildConfig class will be.
getFunctionalTest() - Method in class com.android.builder.core.DefaultManifestParser
Gets the functionalTest for instrumentation in the manifest file processed by this parser.
getFunctionalTest() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the functionalTest from the instrumentation tag in the manifest file.
getGeneratedDensities() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
Densities used when generating PNGs from vector drawables at build time.
getGroupId() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
getHandleProfiling() - Method in class com.android.builder.core.DefaultManifestParser
Gets the handleProfiling for instrumentation in the manifest file processed by this parser.
getHandleProfiling() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the handleProfiling from the instrumentation tag in the manifest file.
getHeight() - Method in class com.android.builder.testing.ConnectedDevice
 
getId() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
 
getIDevice() - Method in class com.android.builder.testing.ConnectedDevice
Returns the corresponding IDevice.
getInBufferSize() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getInput() - Method in interface com.android.builder.dexing.ClassFileEntry
Return the ClassFileInput that has produced this entry
getInstanceWithMultiProcessLocking(File) - Static method in class com.android.builder.utils.FileCache
Returns a FileCache instance where synchronization takes effect for threads both within the same process and across different processes.
getInstanceWithMultiProcessLocking(File) - Static method in class com.android.builder.utils.SynchronizedFile
Returns a SynchronizedFile instance for the given file, where synchronization on the same file takes effect for threads both within the same process and across different processes (two files are the same if they refer to the same physical file).
getInstanceWithSingleProcessLocking(File) - Static method in class com.android.builder.utils.FileCache
Returns a FileCache instance where synchronization takes effect for threads within the same process but not for threads across different processes.
getInstanceWithSingleProcessLocking(File) - Static method in class com.android.builder.utils.SynchronizedFile
Returns a SynchronizedFile instance for the given file, where synchronization on the same file takes effect for threads within the same process but not for threads across different processes (two files are the same if they refer to the same physical file).
getInstrumentationRunner() - Method in class com.android.builder.core.DefaultManifestParser
Gets the instrumentation runner for the manifest file processed by this parser.
getInstrumentationRunner() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the instrumentation runner from the instrumentation tag in the manifest file.
getInstrumentationRunner() - Method in interface com.android.builder.testing.TestData
 
getInstrumentationRunnerArguments() - Method in interface com.android.builder.testing.TestData
 
getJarFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getJarFile() - Method in class com.android.builder.dependency.level2.ExtractedDependency
Returns the location of the jar file to use for either packaging or compiling depending on the bundle type.
getJarsRootFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getJavaMaxHeapSize() - Method in class com.android.builder.core.DefaultDexOptions
Specifies the -Xmx value when calling dx.
getJavaMaxHeapSize() - Method in interface com.android.builder.core.DexOptions
 
getJniFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getJumboMode() - Method in class com.android.builder.core.DefaultDexOptions
Enable jumbo mode in dx (--force-jumbo).
getJumboMode() - Method in interface com.android.builder.core.DexOptions
 
getKeepRuntimeAnnotatedClasses() - Method in class com.android.builder.core.DefaultDexOptions
Keep all classes with runtime annotations in the main dex in legacy multidex.
getKeepRuntimeAnnotatedClasses() - Method in interface com.android.builder.core.DexOptions
 
getKey() - Method in class com.android.builder.utils.FileCache.Inputs
Returns a key representing this list of input parameters.
getKeyAlias() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getKeyPassword() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getLanguage() - Method in class com.android.builder.testing.ConnectedDevice
 
getLanguageSplits() - Method in class com.android.builder.testing.ConnectedDevice
 
getLintJar() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getLoader(File) - Static method in class com.android.builder.sdk.DefaultSdkLoader
 
getLoader(File) - Static method in class com.android.builder.sdk.PlatformLoader
 
getLocalJars() - Method in class com.android.builder.dependency.level2.AndroidDependency
returns the list of local jar for this android AAR.
getLockFile(File) - Static method in class com.android.builder.utils.SynchronizedFile
Returns the path to the lock file that has been or will be created next to the file being synchronized under the same parent directory.
getManifest() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getManifestContent(File) - Method in class com.android.builder.core.ApkInfoParser
 
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
 
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 interface com.android.builder.core.ManifestAttributeSupplier
Returns the minSdkVersion from the manifest file.
getMinSdkVersion() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getMinSdkVersion() - Method in interface com.android.builder.testing.TestData
The min SDK version of the app
getMissingDimensionStrategies() - Method in class com.android.builder.core.DefaultProductFlavor
 
getName() - Method in class com.android.builder.core.DefaultBuildType
Name of this build type.
getName() - Method in class com.android.builder.core.DefaultProductFlavor
 
getName() - Method in class com.android.builder.core.LibraryRequest
The name of the library.
getName() - Method in class com.android.builder.dependency.level2.Dependency
Returns a user friendly name.
getName() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
 
getName() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
Obtains the name of this input.
getName() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
 
getName() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getName() - Method in class com.android.builder.testing.ConnectedDevice
 
getName() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getNameSuffix() - Method in class com.android.builder.testing.ConnectedDevice
 
getNativeLibrariesLibrariesPackagingMode(ManifestAttributeSupplier) - Static method in class com.android.builder.packaging.PackagingUtils
 
getNoCompressGlobsForBundle(Collection<String>) - Static method in class com.android.builder.packaging.PackagingUtils
 
getNoCompressPredicate(Collection<String>, ManifestAttributeSupplier) - Static method in class com.android.builder.packaging.PackagingUtils
 
getNodeType() - Method in class com.android.builder.dependency.level2.DependencyNode
 
getNullableProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
 
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.
getOrderedProvider() - Method in class com.android.builder.dexing.r8.ClassFileProviderFactory
 
getOrigin(ClassFileEntry) - Static method in class com.android.builder.dexing.D8DiagnosticsHandler
 
getOrigin(DexArchiveEntry) - Static method in class com.android.builder.dexing.D8DiagnosticsHandler
 
getOutBufferSize() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getPackage() - Method in class com.android.builder.core.DefaultManifestParser
Gets the package name for the manifest file processed by this parser.
getPackage() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the package name from the manifest file.
getPackageName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getPackaging() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
getPath() - Method in class com.android.builder.desugaring.DesugaringData
This can be either a jar or .class file defining the type.
getPath() - Method in interface com.android.builder.dexing.ClassFileInput
 
getPendingHints() - Method in class com.android.builder.dexing.D8DiagnosticsHandler
 
getPreDexLibraries() - Method in class com.android.builder.core.DefaultDexOptions
Whether to pre-dex libraries.
getPreDexLibraries() - Method in interface com.android.builder.core.DexOptions
 
getPreprocessingReasonDescription(File) - Method in class com.android.builder.png.VectorDrawableRenderer
 
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.
getRelativePath() - Method in class com.android.builder.files.RelativeFile
Obtains the OS independent path.
getRelativePathInArchive() - Method in class com.android.builder.dexing.DexArchiveEntry
Returns a path relative to the root path of the dex archive containing it.
getRenderscriptFolder() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getRenderscriptNdkModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptOptimLevel() - Method in class com.android.builder.core.DefaultBuildType
Optimization level to use by the renderscript compiler.
getRenderscriptSupportModeBlasEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptSupportModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptTargetApi() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRepositories() - Method in class com.android.builder.sdk.DefaultSdkLoader
 
getRepositories() - Method in class com.android.builder.sdk.PlatformLoader
 
getRepositories() - Method in interface com.android.builder.sdk.SdkLoader
Returns the location of artifact repositories built-in the SDK.
getRequested() - Method in class com.android.builder.core.DefaultProductFlavor.DimensionRequest
 
getRequestedCoordinates() - Method in class com.android.builder.dependency.level2.DependencyNode
Returns this library's Maven coordinates, as requested in the build file.
getResFolder() - Method in class com.android.builder.dependency.level2.ExtractedDependency
 
getResourceConfigurations() - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
getRootPath() - Method in interface com.android.builder.dexing.DexArchive
Returns the path to this DEX archive.
getSdkInfo(ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
 
getSdkInfo(ILogger) - Method in class com.android.builder.sdk.PlatformLoader
 
getSdkInfo(ILogger) - Method in interface com.android.builder.sdk.SdkLoader
Returns generic SDK information.
getSerialNumber() - Method in class com.android.builder.testing.ConnectedDevice
 
getSettings() - Method in class com.android.builder.sdk.SdkLibData
Returns the settings used to download the missing SDK components.
getSigningConfig() - Method in class com.android.builder.core.DefaultBuildType
Sets the signing configuration.
getSigningConfig() - Method in class com.android.builder.core.DefaultProductFlavor
Signing config used by this product flavor.
getSize() - Method in interface com.android.builder.dexing.ClassFileEntry
Returns the entry size in bytes.
getSplit() - Method in class com.android.builder.core.DefaultManifestParser
Gets the split name for the manifest file processed by this parser.
getSplit() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the split name from the manifest file.
getState() - Method in class com.android.builder.testing.ConnectedDevice
 
getStoreFile() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getStorePassword() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getStoreType() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getSymbolFile() - Method in class com.android.builder.dependency.level2.AndroidDependency
 
getSystemProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
 
getTarget() - Method in class com.android.builder.sdk.TargetInfo
Returns the compilation target
getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in class com.android.builder.sdk.DefaultSdkLoader
 
getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in class com.android.builder.sdk.PlatformLoader
 
getTargetInfo(String, Revision, ILogger, SdkLibData) - Method in interface com.android.builder.sdk.SdkLoader
Returns information about a build target.
getTargetPackage() - Method in class com.android.builder.core.DefaultManifestParser
Gets the target package for instrumentation in the manifest file processed by this parser.
getTargetPackage() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the targetPackage from the instrumentation tag in the manifest file.
getTargetSdkVersion() - Method in class com.android.builder.core.DefaultManifestParser
Gets the target sdk version for the manifest file processed by this parser.
getTargetSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
Target SDK version.
getTargetSdkVersion() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the targetSdkVersion from the manifest file.
getTestApk() - Method in interface com.android.builder.testing.TestData
Returns the APK containing the test classes for the application.
getTestApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
Test application ID.
getTestDirectories() - Method in interface com.android.builder.testing.TestData
Returns the list of directories containing test so the build system can check the presence of tests before deploying anything.
getTestedApks(ProcessExecutor, File, DeviceConfigProvider, ILogger) - Method in interface com.android.builder.testing.TestData
Returns an APK file to install based on given density and abis.
getTestedApplicationId() - Method in interface com.android.builder.testing.TestData
Returns the tested application id.
getTestFunctionalTest() - Method in class com.android.builder.core.DefaultProductFlavor
getTestHandleProfiling() - Method in class com.android.builder.core.DefaultProductFlavor
getTestInstrumentationRunner() - Method in class com.android.builder.core.DefaultProductFlavor
Test instrumentation runner class name.
getTestInstrumentationRunnerArguments() - Method in class com.android.builder.core.DefaultProductFlavor
Test instrumentation runner custom arguments.
getTestLabel() - Method in class com.android.builder.core.DefaultManifestParser
Gets the testLabel for instrumentation in the manifest file processed by this parser.
getTestLabel() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the testLabel from the instrumentation tag in the manifest file.
getTestResult() - Method in class com.android.builder.testing.BaseTestRunner.TestResult
 
getThreadCount() - Method in class com.android.builder.core.DefaultDexOptions
Number of threads to use when running dx.
getThreadCount() - Method in interface com.android.builder.core.DexOptions
 
getTimeoutInMs() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getTool() - Method in class com.android.builder.dexing.DexArchiveBuilderConfig
 
getType() - Method in class com.android.builder.files.RelativeFile
 
getUpdatedPaths() - Method in class com.android.builder.merge.DelegateIncrementalFileMergerInput
 
getUpdatedPaths() - Method in class com.android.builder.merge.FilterIncrementalFileMergerInput
 
getUpdatedPaths() - Method in interface com.android.builder.merge.IncrementalFileMergerInput
Obtains all OS-independent paths of all files that were changed in this input.
getUpdatedPaths() - Method in class com.android.builder.merge.LazyIncrementalFileMergerInput
 
getUpdatedPaths() - Method in class com.android.builder.merge.RenameIncrementalFileMergerInput
 
getUseEmbeddedDex() - Method in class com.android.builder.core.DefaultManifestParser
 
getUseEmbeddedDex() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns value of the useEmbeddedDex attribute of the application tag, if present.
getUseEmbeddedDex(ManifestAttributeSupplier) - Static method in class com.android.builder.packaging.PackagingUtils
 
getUserDefinedHeapSize() - Static method in class com.android.builder.utils.PerformanceUtils
Returns the heap size that was specified by the -Xmx value from the user, or an approximated value if the -Xmx value was not set or was set improperly.
getUseSupportLibrary() - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
Whether to use runtime support for vector drawables, instead of build-time support.
getVariant() - Method in class com.android.builder.dependency.level2.ExtractedDependency
Returns an optional configuration name if the library is output by a module that publishes more than one variant.
getVectorDrawables() - Method in class com.android.builder.core.DefaultProductFlavor
Options to configure the build-time support for vector drawables.
getVersion() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
 
getVersionCode() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getVersionCode() - Method in class com.android.builder.core.DefaultManifestParser
Gets the version code for the manifest file processed by this parser.
getVersionCode() - Method in class com.android.builder.core.DefaultProductFlavor
Version code.
getVersionCode() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the version code from the manifest file.
getVersionlessId() - Method in class com.android.builder.dependency.MavenCoordinatesImpl
Returns this coordinates Id without the version attribute.
getVersionName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getVersionName() - Method in class com.android.builder.core.DefaultManifestParser
Gets the version name for the manifest file processed by this parser.
getVersionName() - Method in class com.android.builder.core.DefaultProductFlavor
Version name.
getVersionName() - Method in interface com.android.builder.core.ManifestAttributeSupplier
Returns the version name from the manifest file.
getWearAppUnbundled() - Method in class com.android.builder.core.DefaultProductFlavor
Returns whether to enable unbundling mode for embedded wear app.
getWidth() - Method in class com.android.builder.testing.ConnectedDevice
 

H

hashCode() - Method in class com.android.builder.core.DefaultApiVersion
 
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
 

I

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
Deprecated.
Prefer the new Gradle InputChanges API.
info(Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
 
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.
InstallFailedException - Exception in com.android.builder.sdk
Exception thrown when an SDK component installation fails for another reason than a licence not being accepted.
InstallFailedException(Path, List<RemotePackage>) - Constructor for exception com.android.builder.sdk.InstallFailedException
 
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.
invalidate(String) - Static method in class com.android.builder.desugaring.DesugaringGraphs
Removes the desugaring graph for the specified project variant.
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.
isJniDebuggable() - Method in class com.android.builder.core.DefaultBuildType
Whether this build type is configured to generate an APK with debuggable native code.
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.
isProvided() - Method in class com.android.builder.dependency.DependencyMutableData
 
isPseudoLocalesEnabled() - Method in class com.android.builder.core.DefaultBuildType
Specifies whether the plugin should generate resources for pseudolocales.
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.signing.DefaultSigningConfig
 
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 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
 
isZipAlignEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether zipalign is enabled for this build type.

J

JarCreator - Interface in com.android.builder.packaging
 
JarCreator.Relocator - Interface in com.android.builder.packaging
 
JarCreator.Transformer - Interface in com.android.builder.packaging
 
JarMerger - Class in com.android.builder.packaging
Jar Merger class.
JarMerger(Path) - Constructor for class com.android.builder.packaging.JarMerger
 
JarMerger(Path, Predicate<String>) - Constructor for class com.android.builder.packaging.JarMerger
 
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<Map<RelativeFile, FileStatus>>, CachedSupplier<Set<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
 
LicenceNotAcceptedException - Exception in com.android.builder.sdk
Exception thrown when an SDK component cannot be installed as the licence was not accepted.
LicenceNotAcceptedException(Path, List<RemotePackage>) - Constructor for exception com.android.builder.sdk.LicenceNotAcceptedException
 
LINT - Static variable in class com.android.builder.core.BuilderConstants
 
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.
MainDexListException(String, Throwable) - Constructor for exception com.android.builder.multidex.D8MainDexList.MainDexListException
 
makeFromBaseFiles(Collection<File>, Map<File, FileStatus>, FileCacheByPath, Set<Runnable>, IncrementalRelativeFileSets.FileDeletionPolicy) - Static method in class com.android.builder.files.IncrementalRelativeFileSets
Deprecated.
Prefer the new Gradle InputChanges API.
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.
mergeApplicationIdSuffix(String, String) - Static method in class com.android.builder.core.DefaultProductFlavor
 
mergeDexArchives(Iterator<Path>, Path, Path, DexingType) - Method in interface com.android.builder.dexing.DexArchiveMerger
Merges the specified dex archive to final dex file(s).
mergeDexArchives(Iterator<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.
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
 
mergeWithHigherPriorityFlavor(ProductFlavor) - Method in class com.android.builder.core.DefaultProductFlavor
Merges a higher-priority flavor (overlay) on top of this one.
MIN_BUILD_TOOLS_REV - Static variable in class com.android.builder.core.ToolsRevisionUtils
Minimal supported version of build tools.
missingDimensionStrategy(String, String) - Method in class com.android.builder.core.DefaultProductFlavor
Specifies a flavor that the plugin should try to use from a given dimension in a dependency.
missingDimensionStrategy(String, String...) - Method in class com.android.builder.core.DefaultProductFlavor
Specifies a sorted list of flavors that the plugin should try to use from a given dimension in a dependency.
missingDimensionStrategy(String, List<String>) - Method in class com.android.builder.core.DefaultProductFlavor
Specifies a sorted list of flavors that the plugin should try to use from a given dimension in a dependency.
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
 
MODULE_PATH - Static variable in class com.android.builder.packaging.JarMerger
 

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
 
newSession() - Static method in class com.android.builder.utils.FileCache
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, TestOptions.Execution, ExecutorServiceAdapter) - 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

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
 
parseApk(File) - Method in class com.android.builder.core.ApkInfoParser
Computes and returns the info for an APK
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.
processExecutor - Variable in class com.android.builder.testing.BaseTestRunner
 
processFile(File) - Method in interface com.android.builder.compiling.DependencyFileProcessor
Processes the dependency file.
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.
putDirectory(String, File, FileCache.DirectoryProperties) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds an input parameter to identify a directory using the given properties.
putFile(String, File, FileCache.FileProperties) - Method in class com.android.builder.utils.FileCache.Inputs.Builder
Adds an input parameter to identify a regular file (not a directory) using the given properties.
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.

R

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[]
receiveMessage(Message) - Method in class com.android.builder.core.StandardOutErrMessageReceiver
 
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.
RelativeFile(File, String) - Constructor for class com.android.builder.files.RelativeFile
Creates a new relative file.
RelativeFile.Type - Enum in com.android.builder.files
 
RelativeFiles - Class in com.android.builder.files
Utilities to handle RelativeFile.
RELEASE - Static variable in class com.android.builder.core.BuilderConstants
 
relocate(String) - Method in interface com.android.builder.packaging.JarCreator.Relocator
 
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.
remove(Collection<File>, List<String>) - Method in class com.android.builder.packaging.TypedefRemover
 
removeFromTypedefFile(File, File) - Method in class com.android.builder.packaging.TypedefRemover
 
removeFromTypedefFile(Collection<File>, File) - Method in class com.android.builder.packaging.TypedefRemover
 
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
 
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
run() - Method in interface com.android.builder.utils.ExceptionRunnable
 
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.

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.
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.
setCompressionLevel(int) - Method in interface com.android.builder.packaging.JarCreator
 
setCompressionLevel(int) - Method in class com.android.builder.packaging.JarMerger
Change the compression level for the next entries added to this jar.
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
 
setManifestProperties(Map<String, String>) - Method in interface com.android.builder.packaging.JarCreator
 
setManifestProperties(Map<String, String>) - Method in class com.android.builder.packaging.JarMerger
 
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.
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.
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
 
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.
setTestResult(BaseTestRunner.TestResult.Result) - Method in class com.android.builder.testing.BaseTestRunner.TestResult
 
setThreadCount(Integer) - Method in class com.android.builder.core.DefaultDexOptions
 
setTypedefFile(File) - Method in class com.android.builder.packaging.TypedefRemover
 
setUseSupportLibrary(Boolean) - Method in class com.android.builder.core.DefaultVectorDrawablesOptions
 
setV1SigningEnabled(boolean) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setV2SigningEnabled(boolean) - Method in class com.android.builder.signing.DefaultSigningConfig
 
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, ExecutorServiceAdapter) - Constructor for class com.android.builder.testing.ShardedTestRunner
 
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, ExecutorServiceAdapter) - Constructor for class com.android.builder.testing.SimpleTestRunner
 
skip() - Method in class com.android.builder.dependency.DependencyMutableData
 
splitSelectExec - Variable in class com.android.builder.testing.BaseTestRunner
 
StandardOutErrMessageReceiver - Class in com.android.builder.core
 
StandardOutErrMessageReceiver() - Constructor for class com.android.builder.core.StandardOutErrMessageReceiver
 
startNewDex() - Method in interface com.android.builder.dexing.DexMergingStrategy
Starts a new list of DEX file(s) that can be merged.
startNewDex() - Method in class com.android.builder.dexing.NaiveDexMergingStrategy
 
StreamMergeAlgorithm - Interface in com.android.builder.merge
Algorithm to merge streams.
StreamMergeAlgorithms - Class in com.android.builder.merge
File merge algorithms.
SynchronizedFile - Class in com.android.builder.utils
Utility to synchronize access to a file from multiple threads or processes.

T

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.
TestResult() - Constructor for class com.android.builder.testing.BaseTestRunner.TestResult
 
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.
ToolsRevisionUtils - Class in com.android.builder.core
 
ToolsRevisionUtils() - Constructor for class com.android.builder.core.ToolsRevisionUtils
 
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.signing.DefaultSigningConfig
 
toString() - Method in class com.android.builder.utils.FileCache.Inputs
 
toString() - Method in class com.android.builder.utils.FileCache
 
toString() - Method in class com.android.builder.utils.SynchronizedFile
 
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
 
type - Variable in class com.android.builder.files.RelativeFile
 
TypedefRemover - Class in com.android.builder.packaging
Finds and deletes typedef annotation classes (and also warns if their retention is wrong, such that usages of the annotation embeds data into the .class file.)
TypedefRemover(boolean, boolean, boolean) - Constructor for class com.android.builder.packaging.TypedefRemover
 
TypedefRemover() - Constructor for class com.android.builder.packaging.TypedefRemover
 

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(Collection<DesugaringData>) - Method in class com.android.builder.desugaring.DesugaringGraph
Initializes or updates the graph with the new data.
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.
updateVariant(String, Supplier<Collection<DesugaringData>>) - Static method in class com.android.builder.desugaring.DesugaringGraphs
Update a DesugaringGraph associated with this key if a cached version exists.
useSdkDownload() - Method in class com.android.builder.sdk.SdkLibData
 

V

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.DexMergerTool
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.files.IncrementalRelativeFileSets.FileDeletionPolicy
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.files.RelativeFile.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.testing.BaseTestRunner.TestResult.Result
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.utils.FileCache.Command
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.utils.FileCache.DirectoryProperties
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.utils.FileCache.FileProperties
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.utils.FileCache.QueryEvent
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.builder.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.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
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.files.RelativeFile.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.testing.BaseTestRunner.TestResult.Result
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.utils.FileCache.Command
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.utils.FileCache.DirectoryProperties
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.utils.FileCache.FileProperties
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.utils.FileCache.QueryEvent
Returns an array containing the constants of this enum type, in the order they are declared.
VectorDrawableRenderer - Class in com.android.builder.png
Generates PNG images (and XML copies) from VectorDrawable files.
VectorDrawableRenderer(int, boolean, File, Collection<Density>, Supplier<ILogger>) - Constructor for class com.android.builder.png.VectorDrawableRenderer
 

W

warning(Diagnostic) - Method in class com.android.builder.dexing.D8DiagnosticsHandler
 
withClassExtension(String) - Static method in class com.android.builder.dexing.DexArchiveEntry
Takes the specified .dex file, and changes its extension to .class.
withDexExtension(String) - Static method in interface com.android.builder.dexing.ClassFileEntry
Takes the specified .class file, and changes its extension to .dex.
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.

Z

ZERO_TIME - Static variable in class com.android.builder.packaging.JarMerger
 

_

_initWith(BaseConfig) - Method in class com.android.builder.core.DefaultProductFlavor
 
A B C D E F G H I J L M N O P R S T U V W Z _ 
Skip navigation links