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

A

AaptPackageProcessBuilder - Class in com.android.builder.core
Builds the ProcessInfo necessary for an aapt package invocation
AaptPackageProcessBuilder(File, AaptOptions) - Constructor for class com.android.builder.core.AaptPackageProcessBuilder
 
AaptProcess - Class in com.android.builder.png
interface to the aapt long running process.
AaptProcess.Builder - Class in com.android.builder.png
 
AaptProcess.Builder(String, ILogger) - Constructor for class com.android.builder.png.AaptProcess.Builder
 
addBuildConfigField(String, String, String) - Method in class com.android.builder.core.VariantConfiguration
Adds a variant-specific BuildConfig field.
addField(String, String, String) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addImportFiles(Collection<File>) - Method in class com.android.builder.core.JackProcessBuilder
 
addInput(File) - Method in class com.android.builder.core.DexProcessBuilder
 
addInputs(Collection<File>) - Method in class com.android.builder.core.DexProcessBuilder
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.ResValueGenerator
 
additionalParameters(List<String>) - Method in class com.android.builder.core.DexProcessBuilder
 
addProductFlavor(F, SourceProvider, String) - Method in class com.android.builder.core.VariantConfiguration
Add a new configured ProductFlavor.
addProguardFiles(Collection<File>) - Method in class com.android.builder.core.JackProcessBuilder
 
addResource(String, String, String) - Method in class com.android.builder.compiling.ResValueGenerator
 
addResourceConfiguration(String) - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
addResourceConfigurations(String...) - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
addResourceConfigurations(Collection<String>) - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
addResValue(String, String, String) - Method in class com.android.builder.core.VariantConfiguration
Adds a variant-specific res value.
ANDROID_GRADLE_PLUGIN_VERSION - Static variable in class com.android.builder.Version
 
ANDROID_WEAR - Static variable in class com.android.builder.core.BuilderConstants
 
ANDROID_WEAR_MICRO_APK - Static variable in class com.android.builder.core.BuilderConstants
 
AndroidBuilder - Class in com.android.builder.core
This is the main builder class.
AndroidBuilder(String, String, ProcessExecutor, JavaProcessExecutor, ProcessOutputHandler, EvaluationErrorReporter, ILogger, boolean) - Constructor for class com.android.builder.core.AndroidBuilder
Creates an AndroidBuilder.
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

B

build(BuildToolInfo, IAndroidTarget, ILogger) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
build(BuildToolInfo, DexOptions) - Method in class com.android.builder.core.DexProcessBuilder
 
build(BuildToolInfo) - Method in class com.android.builder.core.JackProcessBuilder
 
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_MODEL_API_VERSION - Static variable in class com.android.builder.Version
 
BuilderConstants - Class in com.android.builder.core
Generic constants.
BuilderConstants() - Constructor for class com.android.builder.core.BuilderConstants
 
BuildToolsServiceLoader - Enum in com.android.builder.core
ServiceLoader helpers for tools located in the SDK's build-tools folders.
BuildToolsServiceLoader.BuildToolServiceLoader - Class in com.android.builder.core
build-tools version specific ServiceLoader helper.
BuildToolsServiceLoader.Service<T> - Class in com.android.builder.core
Abstract notion of what a service is.
BuildToolsServiceLoader.Service(Collection<String>, Class<T>) - Constructor for class com.android.builder.core.BuildToolsServiceLoader.Service
 

C

checkEntry(String) - Method in interface com.android.builder.signing.SignedJarBuilder.IZipEntryFilter
Checks a file for inclusion in a Jar archive.
checkEntry(String) - Method in interface com.android.builder.signing.SignedJarBuilder.ZipEntryExtractor
 
cleanUp() - Method in class com.android.builder.signing.SignedJarBuilder
Clean up of the builder for interrupted workflow.
close() - Method in class com.android.builder.signing.SignedJarBuilder
Closes the Jar archive by creating the manifest, and signing the archive.
com.android.builder - package com.android.builder
 
com.android.builder.compiling - package com.android.builder.compiling
 
com.android.builder.core - package com.android.builder.core
 
com.android.builder.dependency - package com.android.builder.dependency
 
com.android.builder.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
 
compileAidlFile(File, File, File, File, List<File>, DependencyFileProcessor) - Method in class com.android.builder.core.AndroidBuilder
Compiles the given aidl file.
compileAllAidlFiles(List<File>, File, File, List<File>, DependencyFileProcessor) - Method in class com.android.builder.core.AndroidBuilder
Compiles all the aidl files found in the given source folders.
compileAllRenderscriptFiles(List<File>, List<File>, File, File, File, File, int, boolean, int, boolean, boolean, Set<String>) - Method in class com.android.builder.core.AndroidBuilder
Compiles all the renderscript files found in the given source folders.
computeBaseNameWithSplits(String) - Method in class com.android.builder.core.VariantConfiguration
Returns a base name that includes the given splits name.
computeDirNameWithSplits(String...) - Method in class com.android.builder.core.VariantConfiguration
Returns a unique directory name (can include multiple folders) for the variant, based on build type, flavor and test, and splits.
computeFullNameWithSplits(String) - Method in class com.android.builder.core.VariantConfiguration
Returns a full name that includes the given splits name.
computeRepositories() - Method in class com.android.builder.sdk.DefaultSdkLoader
 
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) - Constructor for class com.android.builder.testing.ConnectedDevice
 
ConnectedDeviceProvider - Class in com.android.builder.testing
DeviceProvider for locally connected devices.
ConnectedDeviceProvider(File, ILogger) - Constructor for class com.android.builder.testing.ConnectedDeviceProvider
 
convertByteCode(Collection<File>, Collection<File>, File, boolean, File, DexOptions, List<String>, File, boolean, boolean) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format
convertByteCodeUsingJackApis(File, File, Collection<File>, Collection<File>, Collection<File>, Collection<File>, File, Collection<File>, File, boolean, int) - Method in class com.android.builder.core.AndroidBuilder
Converts java source code into android byte codes using the jack integration APIs.
convertByteCodeWithJack(File, File, String, Collection<File>, File, Collection<File>, File, Collection<File>, boolean, int, boolean, String) - Method in class com.android.builder.core.AndroidBuilder
 
convertLibaryToJackUsingApis(File, File, DexOptions, BuildToolInfo, boolean, JavaProcessExecutor, ProcessOutputHandler, ILogger) - Static method in class com.android.builder.core.AndroidBuilder
 
convertLibraryToJack(File, File, DexOptions) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode of a library to the jack format
convertLibraryToJack(File, File, DexOptions, BuildToolInfo, boolean, JavaProcessExecutor, ProcessOutputHandler, ILogger) - Static method in class com.android.builder.core.AndroidBuilder
 
create(Object) - Static method in class com.android.builder.core.DefaultApiVersion
 
createClassField(String, String, String) - Static method in class com.android.builder.core.AndroidBuilder
 
createMainDexList(File, File) - Method in class com.android.builder.core.AndroidBuilder
 
createMockableJar(File, File) - Method in class com.android.builder.testing.MockableJarGenerator
 
createPngFiles(File, File, Collection<Density>) - Method in class com.android.builder.png.VectorDrawableRenderer
 
crunch(File, File, <any>) - Method in class com.android.builder.png.AaptProcess
Notifies the slave process of a new crunching request, do not block on completion, the notification will be issued through the job parameter's com.android.builder.tasks.Job#finished() or com.android.builder.tasks.Job#error() functions.
crunchPng(int, File, File) - Method in class com.android.builder.png.QueuedCruncher
 

D

DEBUG - Static variable in class com.android.builder.core.BuilderConstants
 
DEFAULT_ALIAS - Static variable in class com.android.builder.signing.DefaultSigningConfig
 
DEFAULT_PASSWORD - Static variable in class com.android.builder.signing.DefaultSigningConfig
 
DefaultApiVersion - Class in com.android.builder.core
Basic implementation of ApiVersion
DefaultApiVersion(int, String) - Constructor for class com.android.builder.core.DefaultApiVersion
 
DefaultApiVersion(int) - Constructor for class com.android.builder.core.DefaultApiVersion
 
DefaultApiVersion(String) - Constructor for class com.android.builder.core.DefaultApiVersion
 
DefaultBuildType - Class in com.android.builder.core
 
DefaultBuildType(String) - Constructor for class com.android.builder.core.DefaultBuildType
 
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.
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
Creates a SigningConfig.
DependencyContainer - Interface in com.android.builder.dependency
An object able to provide the three types of dependencies an Android project can have: - local jar dependencies - artifact jar dependencies - android library dependencies
DependencyFileProcessor - Interface in com.android.builder.compiling
A Class that processes a dependency file after a compilation.
DEVICE - Static variable in class com.android.builder.core.BuilderConstants
 
DexOptions - Interface in com.android.builder.core
 
DexProcessBuilder - Class in com.android.builder.core
A builder to create a dex-specific ProcessInfoBuilder
DexProcessBuilder(File) - Constructor for class com.android.builder.core.DexProcessBuilder
 
disconnect(int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
DuplicateFileException - Exception in com.android.builder.packaging
An exception thrown during packaging of an APK file.
DuplicateFileException(String, File, File) - Constructor for exception com.android.builder.packaging.DuplicateFileException
 

E

end(int) - Method in class com.android.builder.png.QueuedCruncher
 
equals(Object) - Method in class com.android.builder.core.DefaultApiVersion
 
equals(Object) - Method in class com.android.builder.core.DefaultBuildType
 
equals(Object) - Method in class com.android.builder.core.DefaultProductFlavor
 
equals(Object) - Method in class com.android.builder.dependency.LibraryBundle
 
equals(Object) - Method in class com.android.builder.signing.DefaultSigningConfig
 
EvaluationErrorReporter - Class in com.android.builder.core
An error reporter for project evaluation.
EvaluationErrorReporter(EvaluationErrorReporter.EvaluationMode) - Constructor for class com.android.builder.core.EvaluationErrorReporter
 
EvaluationErrorReporter.EvaluationMode - Enum in com.android.builder.core
 
executeProcess(ProcessInfo) - Method in class com.android.builder.core.AndroidBuilder
 
executeProcess(ProcessInfo, ProcessOutputHandler) - Method in class com.android.builder.core.AndroidBuilder
 
executeShellCommand(String, IShellOutputReceiver, long, TimeUnit) - Method in class com.android.builder.testing.ConnectedDevice
 
EXT_LIB_ARCHIVE - Static variable in class com.android.builder.core.BuilderConstants
Extension for library packages.
extract(String, InputStream) - Method in interface com.android.builder.signing.SignedJarBuilder.ZipEntryExtractor
 

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
 
FN_PROGUARD_TXT - Static variable in class com.android.builder.dependency.LibraryBundle
 
forVersion(BuildToolInfo) - Method in enum com.android.builder.core.BuildToolsServiceLoader
Load a built-tools version specific ServiceLoader helper.

G

generate() - Method in class com.android.builder.compiling.BuildConfigGenerator
Generates the BuildConfig class.
generate() - Method in class com.android.builder.compiling.ResValueGenerator
Generates the resource files
generateApkData(File, File, String, String) - Method in class com.android.builder.core.AndroidBuilder
 
generateApkDataEntryInManifest(int, int, File) - Static method in class com.android.builder.core.AndroidBuilder
 
getAaptCruncher() - Method in class com.android.builder.core.AndroidBuilder
Returns an PngCruncher using aapt underneath
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.
getAidlFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getAidlImports() - Method in class com.android.builder.core.VariantConfiguration
Returns all the aidl import folder that are outside of the current project.
getAidlSourceList() - Method in class com.android.builder.core.VariantConfiguration
 
getAllLibraries() - Method in class com.android.builder.core.VariantConfiguration
Returns all the library dependencies, direct and transitive.
getAndroidDependencies() - Method in interface com.android.builder.dependency.DependencyContainer
Returns a list top level dependency.
getAnnotationsJar() - Method in class com.android.builder.sdk.SdkInfo
Returns the location of the annotations jar for compilation targets that are <= 15.
getApiCodeName() - Method in class com.android.builder.testing.ConnectedDevice
 
getApiLevel() - Method in class com.android.builder.core.DefaultApiVersion
 
getApiLevel() - Method in class com.android.builder.testing.ConnectedDevice
 
getApiString() - Method in class com.android.builder.core.DefaultApiVersion
 
getApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
Returns the application ID.
getApplicationId() - Method in class com.android.builder.core.VariantConfiguration
Returns the application ID for this variant.
getApplicationId() - Method in interface com.android.builder.testing.TestData
Returns the application id.
getApplicationIdSuffix() - Method in class com.android.builder.core.DefaultBuildType
Application id suffix applied to this build type.
getArchivePath() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getArtifactName() - Method in enum com.android.builder.core.VariantType
Returns the name used in the builder model for artifacts that correspond to this variant type.
getArtifactType() - Method in enum com.android.builder.core.VariantType
Returns the artifact type used in the builder model.
getAssetSets(List<File>, boolean) - Method in class com.android.builder.core.VariantConfiguration
Returns the dynamic list of AssetSet based on the configuration, its dependencies, as well as tested config if applicable (test of a library).
getAssetsFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getBaseName() - Method in class com.android.builder.core.VariantConfiguration
Returns the full, unique name of the variant, including BuildType, flavors and test, dash separated.
getBootClasspath() - Method in class com.android.builder.core.AndroidBuilder
Helper method to get the boot classpath to be used during compilation.
getBootClasspathAsStrings() - Method in class com.android.builder.core.AndroidBuilder
Helper method to get the boot classpath to be used during compilation.
getBuildConfigFile() - Method in class com.android.builder.compiling.BuildConfigGenerator
 
getBuildConfigItems() - Method in class com.android.builder.core.VariantConfiguration
Returns a list of items for the BuildConfig class.
getBuildTools() - Method in class com.android.builder.sdk.TargetInfo
Returns the BuildToolInfo
getBuildType() - Method in class com.android.builder.core.VariantConfiguration
 
getBuildTypeSourceSet() - Method in class com.android.builder.core.VariantConfiguration
The SourceProvider for the BuildType.
getBundle() - Method in class com.android.builder.dependency.LibraryBundle
 
getBundleFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getClasspath() - Method in class com.android.builder.core.BuildToolsServiceLoader.Service
 
getCodename() - Method in class com.android.builder.core.DefaultApiVersion
 
getCompileClasspath(VariantConfiguration<?, ?, ?>) - Method in class com.android.builder.core.AndroidBuilder
Returns the compile classpath for this config.
getCompileClasspath() - Method in class com.android.builder.core.VariantConfiguration
Returns the compile classpath for this config.
getConsumerProguardFiles() - Method in class com.android.builder.core.VariantConfiguration
 
getDefaultConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getDefaultSourceSet() - Method in class com.android.builder.core.VariantConfiguration
 
getDensity() - Method in class com.android.builder.testing.ConnectedDevice
 
getDependencies() - Method in interface com.android.builder.dependency.LibraryDependency
Returns the direct dependency of this dependency.
getDeviceConfig() - Method in class com.android.builder.testing.ConnectedDevice
 
getDevices() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getDimension() - Method in class com.android.builder.core.DefaultProductFlavor
Name of the dimension this product flavor belongs to.
getDirectLibraries() - Method in class com.android.builder.core.VariantConfiguration
Returns the direct library dependencies
getDirName() - Method in class com.android.builder.core.VariantConfiguration
Returns a unique directory name (can include multiple folders) for the variant, based on build type, flavor and test.
getDxJar() - Method in class com.android.builder.core.AndroidBuilder
 
getExternalAnnotations() - Method in class com.android.builder.dependency.LibraryBundle
 
getExternalJarDependencies() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of external/module jar dependencies
getFile1() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getFile2() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getFlavorName() - Method in class com.android.builder.core.VariantConfiguration
Returns the flavor name of the variant, including all flavors in camel case (starting with a lower case).
getFlavorName() - Method in interface com.android.builder.testing.TestData
Returns the flavor name being test.
getFlavorNamesWithDimensionNames() - Method in class com.android.builder.core.VariantConfiguration
Return the names of the applied flavors.
getFlavorSourceProviders() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of SourceProviders for the flavors.
getFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
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.
getFullName() - Method in class com.android.builder.core.VariantConfiguration
Returns the full, unique name of the variant in camel case (starting with a lower case), including BuildType, Flavors and Test (if applicable).
getFunctionalTest() - Method in class com.android.builder.core.VariantConfiguration
Returns functionalTest value to use to test this variant, or if the variant is a test, the one to use to test the tested variant.
getHandleProfiling() - Method in class com.android.builder.core.VariantConfiguration
Returns handleProfiling value to use to test this variant, or if the variant is a test, the one to use to test the tested variant.
getHeight() - Method in class com.android.builder.testing.ConnectedDevice
 
getIdOverride() - Method in class com.android.builder.core.VariantConfiguration
Returns the application id override value coming from the Product Flavor and/or the Build Type.
getIncremental() - Method in interface com.android.builder.core.DexOptions
 
getInstrumentationRunner() - Method in class com.android.builder.core.VariantConfiguration
Returns the instrumentationRunner to use to test this variant, or if the variant is a test, the one to use to test the tested variant.
getInstrumentationRunner() - Method in interface com.android.builder.testing.TestData
 
getInstrumentationRunnerArguments() - Method in class com.android.builder.core.VariantConfiguration
Returns the instrumentationRunner arguments to use to test this variant, or if the variant is a test, the ones to use to test the tested variant
getInstrumentationRunnerArguments() - Method in interface com.android.builder.testing.TestData
 
getJarDependencies() - Method in interface com.android.builder.dependency.DependencyContainer
 
getJarFile() - Method in class com.android.builder.dependency.JarDependency
 
getJarFile() - Method in class com.android.builder.dependency.LibraryBundle
 
getJarJarRuleFiles() - Method in class com.android.builder.core.VariantConfiguration
 
getJarsRootFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getJavaMaxHeapSize() - Method in interface com.android.builder.core.DexOptions
 
getJniFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getJniLibsList() - Method in class com.android.builder.core.VariantConfiguration
 
getJniSourceList() - Method in class com.android.builder.core.VariantConfiguration
 
getJumboMode() - Method in interface com.android.builder.core.DexOptions
 
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
 
getLeafFolders(String, List<File>...) - Method in class com.android.builder.core.AndroidBuilder
Computes and returns the leaf folders based on a given file extension.
getLibraries() - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
getLibraryJniFolders() - Method in class com.android.builder.core.VariantConfiguration
 
getLintJar() - Method in class com.android.builder.dependency.LibraryBundle
 
getLoader(File) - Static method in class com.android.builder.sdk.DefaultSdkLoader
 
getLoader(File) - Static method in class com.android.builder.sdk.PlatformLoader
 
getLocalDependencies() - Method in interface com.android.builder.dependency.DependencyContainer
 
getLocalDependencies() - Method in class com.android.builder.dependency.LibraryBundle
 
getLocalDependencies() - Method in interface com.android.builder.dependency.LibraryDependency
Returns the collection of local Jar files that are included in the dependency.
getLocalJarDependencies() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of local jar dependencies
getLocalJars() - Method in class com.android.builder.dependency.LibraryBundle
 
getLogger() - Method in class com.android.builder.core.AndroidBuilder
 
getMainManifest() - Method in class com.android.builder.core.VariantConfiguration
 
getManifest() - Method in class com.android.builder.dependency.LibraryBundle
 
getManifest() - Method in interface com.android.builder.dependency.ManifestProvider
Returns the location of the manifest.
getManifestDependencies() - Method in interface com.android.builder.dependency.ManifestDependency
Returns the direct dependency of this dependency.
getManifestFile() - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
getManifestOverlays() - Method in class com.android.builder.core.VariantConfiguration
 
getManifestPackage(File) - Static method in class com.android.builder.core.VariantConfiguration
Parses the manifest file and return the package name.
getManifestPlaceholders() - Method in class com.android.builder.core.VariantConfiguration
Returns the merged manifest placeholders.
getMaxSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
 
getMergedBuildConfigFields() - Method in class com.android.builder.core.VariantConfiguration
Return the merged build config fields for the variant.
getMergedFlavor() - Method in class com.android.builder.core.VariantConfiguration
 
getMergedResValues() - Method in class com.android.builder.core.VariantConfiguration
Return the merged res values for the variant.
getMessage() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getMinSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
Min SDK version.
getMinSdkVersion() - Method in class com.android.builder.core.VariantConfiguration
Return the minSdkVersion for this variant.
getMinSdkVersion() - Method in interface com.android.builder.testing.TestData
The min SDK version of the app
getMode() - Method in class com.android.builder.core.EvaluationErrorReporter
 
getMultiDexKeepFile() - Method in class com.android.builder.core.VariantConfiguration
 
getMultiDexKeepProguard() - Method in class com.android.builder.core.VariantConfiguration
 
getMultiFlavorSourceProvider() - Method in class com.android.builder.core.VariantConfiguration
 
getName() - Method in class com.android.builder.core.DefaultBuildType
Name of this build type.
getName() - Method in class com.android.builder.core.DefaultProductFlavor
 
getName() - Method in class com.android.builder.core.LibraryRequest
The name of the library.
getName() - Method in class com.android.builder.dependency.LibraryBundle
 
getName() - Method in interface com.android.builder.dependency.ManifestDependency
Returns a user friendly name.
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
 
getOriginalApplicationId() - Method in class com.android.builder.core.VariantConfiguration
Returns the original application ID before any overrides from flavors.
getOutput() - Method in class com.android.builder.core.VariantConfiguration
Returns the LibraryDependency that this library variant produces.
getPackagedJars(VariantConfiguration<?, ?, ?>) - Method in class com.android.builder.core.AndroidBuilder
Returns the list of packaged jars for this config.
getPackagedJars() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of packaged jars for this config.
getPackageFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the package name from the manifest.
getPackageName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getPreDexLibraries() - Method in interface com.android.builder.core.DexOptions
 
getPrefix() - Method in enum com.android.builder.core.VariantType
Returns prefix used for naming source directories.
getProcessExecutor() - Method in class com.android.builder.core.AndroidBuilder
 
getProductFlavors() - Method in class com.android.builder.core.VariantConfiguration
Returns the product flavors.
getProguardFiles(boolean, List<File>) - Method in class com.android.builder.core.VariantConfiguration
Returns the proguard config files coming from the project but also from the dependencies.
getProguardRules() - Method in class com.android.builder.dependency.LibraryBundle
 
getProject() - Method in class com.android.builder.dependency.LibraryBundle
 
getProjectPath() - Method in class com.android.builder.dependency.JarDependency
 
getProjectVariant() - Method in class com.android.builder.dependency.LibraryBundle
 
getProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
 
getProvidedOnlyJars() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of provided-only jars for this config.
getPublicResources() - Method in class com.android.builder.dependency.LibraryBundle
 
getRegion() - Method in class com.android.builder.testing.ConnectedDevice
 
getRenderscriptFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getRenderscriptImports() - Method in class com.android.builder.core.VariantConfiguration
Returns all the renderscript import folder that are outside of the current project.
getRenderscriptNdkModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptNdkModeEnabled() - Method in class com.android.builder.core.VariantConfiguration
Returns the renderscript NDK mode.
getRenderscriptOptimLevel() - Method in class com.android.builder.core.DefaultBuildType
Optimization level to use by the renderscript compiler.
getRenderscriptSourceList() - Method in class com.android.builder.core.VariantConfiguration
Returns all the renderscript source folder from the main config, the flavors and the build type.
getRenderScriptSupportJar() - Method in class com.android.builder.core.AndroidBuilder
Returns the jar file for the renderscript mode.
getRenderscriptSupportModeEnabled() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptSupportModeEnabled() - Method in class com.android.builder.core.VariantConfiguration
Returns the renderscript support mode.
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.
getResFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getResolvedCoordinates() - Method in class com.android.builder.dependency.JarDependency
 
getResourceConfigurations() - Method in class com.android.builder.core.DefaultProductFlavor
Adds a res config filter (for instance 'hdpi')
getResourceSets(List<File>, boolean) - Method in class com.android.builder.core.VariantConfiguration
Returns the dynamic list of ResourceSet based on the configuration, its dependencies, as well as tested config if applicable (test of a library).
getResValues() - Method in class com.android.builder.core.VariantConfiguration
Returns a list of generated resource values.
getSdkInfo() - Method in class com.android.builder.core.AndroidBuilder
Returns the SdkInfo, if set.
getSdkInfo(ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
 
getSdkInfo(ILogger) - Method in class com.android.builder.sdk.PlatformLoader
 
getSdkInfo(ILogger) - Method in interface com.android.builder.sdk.SdkLoader
Returns generic SDK information.
getSerialNumber() - Method in class com.android.builder.testing.ConnectedDevice
 
getServiceClass() - Method in class com.android.builder.core.BuildToolsServiceLoader.Service
 
getServiceLoader(BuildToolsServiceLoader.Service<T>) - Method in class com.android.builder.core.BuildToolsServiceLoader.BuildToolServiceLoader
Returns a newly allocated or existing ServiceLoader instance for the passed BuildToolsServiceLoader.Service type in the context of the build-tools version this instance was created for.
getSigningConfig() - Method in class com.android.builder.core.DefaultBuildType
Sets the signing configuration.
getSigningConfig() - Method in class com.android.builder.core.DefaultProductFlavor
Signing config used by this product flavor.
getSigningConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getSingleService(ILogger, BuildToolsServiceLoader.Service<T>) - Method in class com.android.builder.core.BuildToolsServiceLoader.BuildToolServiceLoader
Return the first service instance for the requested service type or Optional.absent() if none exist.
getSortedSourceProviders() - Method in class com.android.builder.core.VariantConfiguration
Returns a list of sorted SourceProvider in order of ascending order, meaning, the earlier items are meant to be overridden by later items.
getSourceOutputDir() - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
getState() - Method in class com.android.builder.testing.ConnectedDevice
 
getStoreFile() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getStorePassword() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getStoreType() - Method in class com.android.builder.signing.DefaultSigningConfig
 
getSuffix() - Method in enum com.android.builder.core.VariantType
Returns suffix used for naming Gradle tasks.
getSupportNativeLibFolder() - Method in class com.android.builder.core.AndroidBuilder
Returns the native lib folder for the renderscript mode.
getSymbolFile() - Method in class com.android.builder.dependency.LibraryBundle
 
getSymbolFile() - Method in interface com.android.builder.dependency.SymbolFileProvider
Returns the location of the text symbol file
getSymbolOutputDir() - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
getSystemProperty(String) - Method in class com.android.builder.testing.ConnectedDevice
 
getTarget() - Method in class com.android.builder.core.AndroidBuilder
Returns the compilation target, if set.
getTarget() - Method in class com.android.builder.sdk.TargetInfo
Returns the compilation target
getTargetCodename() - Method in class com.android.builder.core.AndroidBuilder
 
getTargetInfo() - Method in class com.android.builder.core.AndroidBuilder
Returns the TargetInfo, if set.
getTargetInfo(String, FullRevision, ILogger) - Method in class com.android.builder.sdk.DefaultSdkLoader
 
getTargetInfo(String, FullRevision, ILogger) - Method in class com.android.builder.sdk.PlatformLoader
 
getTargetInfo(String, FullRevision, ILogger) - Method in interface com.android.builder.sdk.SdkLoader
Returns information about a build target.
getTargetSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
Target SDK version.
getTargetSdkVersion() - Method in class com.android.builder.core.VariantConfiguration
Return the targetSdkVersion for this variant.
getTestApk() - Method in interface com.android.builder.testing.TestData
Returns the APK containing the test classes for the application.
getTestApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
Test application ID.
getTestDirectories() - Method in interface com.android.builder.testing.TestData
Returns the list of directories containing test so the build system can check the presence of tests before deploying anything.
getTestedApks(ProcessExecutor, File, DeviceConfigProvider, ILogger) - Method in interface com.android.builder.testing.TestData
Returns an APK file to install based on given density and abis.
getTestedApplicationId() - Method in class com.android.builder.core.VariantConfiguration
 
getTestedApplicationId() - Method in interface com.android.builder.testing.TestData
Returns the tested application id.
getTestedConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getTestFunctionalTest() - Method in class com.android.builder.core.DefaultProductFlavor
See instrumentation.
getTestHandleProfiling() - Method in class com.android.builder.core.DefaultProductFlavor
See instrumentation.
getTestingTypes() - Static method in enum com.android.builder.core.VariantType
 
getTestInstrumentationRunner() - Method in class com.android.builder.core.DefaultProductFlavor
Test instrumentation runner class name.
getTestInstrumentationRunnerArguments() - Method in class com.android.builder.core.DefaultProductFlavor
Test instrumentation runner custom arguments.
getTestProguardFiles() - Method in class com.android.builder.core.VariantConfiguration
Returns the proguard config files to be used for the test APK.
getThreadCount() - Method in interface com.android.builder.core.DexOptions
 
getTimeoutInMs() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getType() - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
getType() - Method in class com.android.builder.core.VariantConfiguration
 
getVariantSourceProvider() - Method in class com.android.builder.core.VariantConfiguration
Returns the variant specific source provider
getVersionCode() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getVersionCode() - Method in class com.android.builder.core.DefaultProductFlavor
Version code.
getVersionCode() - Method in class com.android.builder.core.VariantConfiguration
Returns the version code for this variant.
getVersionCodeFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the version code from the manifest.
getVersionName() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
getVersionName() - Method in class com.android.builder.core.DefaultProductFlavor
Version name.
getVersionName() - Method in class com.android.builder.core.VariantConfiguration
Returns the version name for this variant.
getVersionNameFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the version name from the manifest.
getVersionNameSuffix() - Method in class com.android.builder.core.DefaultBuildType
Version name suffix.
getWidth() - Method in class com.android.builder.testing.ConnectedDevice
 

H

handleSyncError(String, int, String) - Method in class com.android.builder.core.EvaluationErrorReporter
 
hasFlavors() - Method in class com.android.builder.core.VariantConfiguration
 
hashCode() - Method in class com.android.builder.core.DefaultApiVersion
 
hashCode() - Method in class com.android.builder.core.DefaultBuildType
 
hashCode() - Method in class com.android.builder.core.DefaultProductFlavor
 
hashCode() - Method in class com.android.builder.dependency.LibraryBundle
 
hashCode() - Method in class com.android.builder.signing.DefaultSigningConfig
 

I

init() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
initDebug() - Method in class com.android.builder.signing.DefaultSigningConfig
Initializes the SigningConfig with the debug keystore/key alias data.
initWith(DefaultBuildType) - Method in class com.android.builder.core.DefaultBuildType
 
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
 
isCompiled() - Method in class com.android.builder.dependency.JarDependency
 
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.
isForTesting() - Method in enum com.android.builder.core.VariantType
Returns true if the variant is automatically generated for testing purposed, false otherwise.
isJniDebuggable() - Method in class com.android.builder.core.DefaultBuildType
Whether this build type is configured to generate an APK with debuggable native code.
isLegacyMultiDexMode() - Method in class com.android.builder.core.VariantConfiguration
 
isLibrary() - Method in interface com.android.builder.testing.TestData
 
isMinifyEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether Minify is enabled for this build type.
isMultiDexEnabled() - Method in class com.android.builder.core.VariantConfiguration
 
isOptional() - Method in interface com.android.builder.dependency.SymbolFileProvider
Returns whether the library is considered optional, meaning that it may or may not be present in the final APK.
isPackaged() - Method in class com.android.builder.dependency.JarDependency
 
isPreviewTarget() - Method in class com.android.builder.core.AndroidBuilder
Returns whether the compilation target is a preview.
isProguarded() - Method in class com.android.builder.dependency.JarDependency
 
isPseudoLocalesEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether to generate pseudo locale in the APK.
isRenderscriptDebuggable() - Method in class com.android.builder.core.DefaultBuildType
Whether the build type is configured to generate an apk with debuggable RenderScript code.
isRequired() - Method in class com.android.builder.core.LibraryRequest
Whether the library is required by the app or just optional.
isSigningReady() - Method in class com.android.builder.core.VariantConfiguration
 
isSigningReady() - Method in class com.android.builder.signing.DefaultSigningConfig
 
isSingleBuildType() - Method in enum com.android.builder.core.VariantType
Whether the artifact type supports only a single build type.
isTestCoverageEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether test coverage is enabled for this build type.
isTestCoverageEnabled() - Method in class com.android.builder.core.VariantConfiguration
 
isTestCoverageEnabled() - Method in interface com.android.builder.testing.TestData
Returns whether the tested app is enabled for code coverage
isZipAlignEnabled() - Method in class com.android.builder.core.DefaultBuildType
Whether zipalign is enabled for this build type.

J

JACK - Static variable in enum com.android.builder.core.BuildToolsServiceLoader
Jack service description.
JackProcessBuilder - Class in com.android.builder.core
A builder to create a Jack-specific ProcessInfoBuilder
JackProcessBuilder() - Constructor for class com.android.builder.core.JackProcessBuilder
 
JarDependency - Class in com.android.builder.dependency
Represents a Jar dependency.
JarDependency(File, boolean, boolean, boolean, MavenCoordinates, String) - Constructor for class com.android.builder.dependency.JarDependency
 
JarDependency(File, boolean, boolean, MavenCoordinates, String) - Constructor for class com.android.builder.dependency.JarDependency
 
JILL - Static variable in enum com.android.builder.core.BuildToolsServiceLoader
Jill service description.

L

LibraryBundle - Class in com.android.builder.dependency
Default implementation of the LibraryDependency interface that handles a default bundle project structure.
LibraryBundle(File, File, String, String) - Constructor for class com.android.builder.dependency.LibraryBundle
Creates the bundle dependency with an optional name
LibraryDependency - Interface in com.android.builder.dependency
Represents a dependency on a Library Project.
LibraryRequest - Class in com.android.builder.core
a request for an optional library.
LibraryRequest(String, boolean) - Constructor for class com.android.builder.core.LibraryRequest
 
LINT - Static variable in class com.android.builder.core.BuilderConstants
 

M

MAIN - Static variable in class com.android.builder.core.BuilderConstants
The name of the default config.
ManifestDependency - Interface in com.android.builder.dependency
Represents the manifest of a dependency as well as the dependencies
ManifestProvider - Interface in com.android.builder.dependency
Provides a path to the Android Manifest
mergeManifests(File, List<File>, List<? extends ManifestDependency>, String, int, String, String, String, Integer, String, String, ManifestMerger2.MergeType, Map<String, String>, File) - Method in class com.android.builder.core.AndroidBuilder
Invoke the Manifest Merger version 2.
MIN_SDK_WITH_VECTOR_SUPPORT - Static variable in class com.android.builder.png.VectorDrawableRenderer
Projects with minSdk set to this or higher don't need to generate PNGs.
mName - Variable in class com.android.builder.signing.DefaultSigningConfig
 
MockableJarGenerator - Class in com.android.builder.testing
Given a "standard" android.jar, creates a "mockable" version, where all classes and methods are not final.
MockableJarGenerator(boolean) - Constructor for class com.android.builder.testing.MockableJarGenerator
 

N

needsPreprocessing(File) - Method in class com.android.builder.png.VectorDrawableRenderer
 
newCruncher(String, ILogger) - Method in enum com.android.builder.png.QueuedCruncher.Builder
Creates a new QueuedCruncher or return an existing one based on the underlying AAPT executable location.

P

packageApk(String, File, Collection<File>, Collection<File>, String, Collection<File>, File, Set<String>, boolean, SigningConfig, PackagingOptions, String) - Method in class com.android.builder.core.AndroidBuilder
Packages the apk.
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
 
parseApk(File) - Method in class com.android.builder.core.ApkInfoParser
Computes and returns the info for an APK
PlatformLoader - Class in com.android.builder.sdk
Singleton-based implementation of SdkLoader for a platform-based SDK.
preDexLibrary(File, File, boolean, DexOptions) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format
preDexLibrary(File, File, boolean, DexOptions, BuildToolInfo, boolean, JavaProcessExecutor, ProcessOutputHandler) - Static method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format
processFile(File) - Method in interface com.android.builder.compiling.DependencyFileProcessor
Processes the dependency file.
processResources(AaptPackageProcessBuilder, boolean) - Method in class com.android.builder.core.AndroidBuilder
Process the resources and generate R.java and/or the packaged resources.
processTestManifest(String, String, String, String, String, Boolean, Boolean, File, List<? extends ManifestDependency>, Map<String, Object>, File, File) - Method in class com.android.builder.core.AndroidBuilder
Creates the manifest for a test variant
pullFile(String, String) - Method in class com.android.builder.testing.ConnectedDevice
 

Q

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

R

RELEASE - Static variable in class com.android.builder.core.BuilderConstants
 
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
runTests(String, String, File, TestData, List<? extends DeviceConnector>, int, int, Collection<String>, File, File, ILogger) - Method in class com.android.builder.testing.SimpleTestRunner
 
runTests(String, String, File, TestData, List<? extends DeviceConnector>, int, int, Collection<String>, File, File, ILogger) - Method in interface com.android.builder.testing.TestRunner
Returns true if the tests succeeded.

S

SdkInfo - Class in com.android.builder.sdk
General information about the SDK.
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
 
setApplicationId(String) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the application id.
setApplicationIdSuffix(String) - Method in class com.android.builder.core.DefaultBuildType
Application id suffix applied to this build type.
setAssetsFolder(File) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setClasspath(String) - Method in class com.android.builder.core.JackProcessBuilder
 
setDebuggable(boolean) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setDebuggable(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether this build type should generate a debuggable apk.
setDebugLog(boolean) - Method in class com.android.builder.core.JackProcessBuilder
 
setDependencies(DependencyContainer) - Method in class com.android.builder.core.VariantConfiguration
Sets the dependencies
setDexOutputFolder(File) - Method in class com.android.builder.core.JackProcessBuilder
 
setDimension(String) - Method in class com.android.builder.core.DefaultProductFlavor
 
setEcjOptionFile(File) - Method in class com.android.builder.core.JackProcessBuilder
 
setEmbedMicroApp(boolean) - Method in class com.android.builder.core.DefaultBuildType
 
setIncremental(boolean) - Method in class com.android.builder.core.DexProcessBuilder
 
setJackOutputFile(File) - Method in class com.android.builder.core.JackProcessBuilder
 
setJarJarRuleFiles(Collection<File>) - Method in class com.android.builder.core.JackProcessBuilder
 
setJavaMaxHeapSize(String) - Method in class com.android.builder.core.JackProcessBuilder
 
setJniDebuggable(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether this build type is configured to generate an APK with debuggable native code.
setKeyAlias(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setKeyPassword(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setLibraries(List<? extends SymbolFileProvider>) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setMainDexList(File) - Method in class com.android.builder.core.DexProcessBuilder
 
setMappingFile(File) - Method in class com.android.builder.core.JackProcessBuilder
 
setMaxSdkVersion(Integer) - Method in class com.android.builder.core.DefaultProductFlavor
 
setMinifyEnabled(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether Minify is enabled for this build type.
setMinSdkVersion(ApiVersion) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the minSdkVersion to the given value.
setMinSdkVersion(int) - Method in class com.android.builder.core.JackProcessBuilder
 
setMultiDex(boolean) - Method in class com.android.builder.core.DexProcessBuilder
 
setMultiDex(boolean) - Method in class com.android.builder.core.JackProcessBuilder
 
setMultiFlavorSourceProvider(SourceProvider) - Method in class com.android.builder.core.VariantConfiguration
Sets the variant-specific source provider.
setNoOptimize(boolean) - Method in class com.android.builder.core.DexProcessBuilder
 
setOutput(LibraryDependency) - Method in class com.android.builder.core.VariantConfiguration
Sets the output of this variant.
setPackageForR(String) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setPreferredDensity(String) - Method in class com.android.builder.core.AaptPackageProcessBuilder
Specifies a preference for a particular density.
setProguardOutput(String) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setPseudoLocalesEnabled(boolean) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
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.
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.
setResFolder(File) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setResourceConfigs(Collection<String>) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setResPackageOutput(String) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
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.
setSourceOutputDir(String) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setSplits(Collection<String>) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
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
 
setSymbolOutputDir(String) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setTargetInfo(SdkInfo, TargetInfo, Collection<LibraryRequest>) - Method in class com.android.builder.core.AndroidBuilder
Sets the SdkInfo and the targetInfo on the builder.
setTargetSdkVersion(ApiVersion) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the targetSdkVersion to the given value.
setTempInputFolder(File) - Method in class com.android.builder.core.DexProcessBuilder
 
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.
setType(VariantType) - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setVariantSourceProvider(SourceProvider) - Method in class com.android.builder.core.VariantConfiguration
Sets the variant-specific source provider.
setVerbose() - Method in class com.android.builder.core.AaptPackageProcessBuilder
 
setVerbose(boolean) - Method in class com.android.builder.core.DexProcessBuilder
 
setVerbose(boolean) - Method in class com.android.builder.core.JackProcessBuilder
 
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.
setVersionNameSuffix(String) - Method in class com.android.builder.core.DefaultBuildType
Version name suffix.
setZipAlignEnabled(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether zipalign is enabled for this build type.
shutdown() - Method in class com.android.builder.png.AaptProcess
Shutdowns the slave process and release all resources.
signApk(File, SigningConfig, File) - Method in class com.android.builder.core.AndroidBuilder
Signs a single jar file using the passed SigningConfig.
SignedJarBuilder - Class in com.android.builder.signing
A Jar file builder with signature support.
SignedJarBuilder(OutputStream, PrivateKey, X509Certificate, String, String) - Constructor for class com.android.builder.signing.SignedJarBuilder
Creates a SignedJarBuilder with a given output stream, and signing information.
SignedJarBuilder.IZipEntryFilter - Interface in com.android.builder.signing
Classes which implement this interface provides a method to check whether a file should be added to a Jar file.
SignedJarBuilder.IZipEntryFilter.ZipAbortException - Exception in com.android.builder.signing
An exception thrown during packaging of a zip file into APK file.
SignedJarBuilder.IZipEntryFilter.ZipAbortException() - Constructor for exception com.android.builder.signing.SignedJarBuilder.IZipEntryFilter.ZipAbortException
 
SignedJarBuilder.IZipEntryFilter.ZipAbortException(String, Object...) - Constructor for exception com.android.builder.signing.SignedJarBuilder.IZipEntryFilter.ZipAbortException
 
SignedJarBuilder.IZipEntryFilter.ZipAbortException(Throwable, String, Object...) - Constructor for exception com.android.builder.signing.SignedJarBuilder.IZipEntryFilter.ZipAbortException
 
SignedJarBuilder.IZipEntryFilter.ZipAbortException(Throwable) - Constructor for exception com.android.builder.signing.SignedJarBuilder.IZipEntryFilter.ZipAbortException
 
SignedJarBuilder.ZipEntryExtractor - Interface in com.android.builder.signing
Classes which implement this interface provides a method to check whether a file should be merged and extracted from the zip.
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, File, ProcessExecutor) - Constructor for class com.android.builder.testing.SimpleTestRunner
 
start() - Method in class com.android.builder.png.AaptProcess.Builder
 
start() - Method in class com.android.builder.png.QueuedCruncher
 
SymbolFileProvider - Interface in com.android.builder.dependency
Provides a path to the Text Symbol file and to the Android Manifest

T

TargetInfo - Class in com.android.builder.sdk
The SDK Target information needed to build a project.
terminate() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
TestData - Interface in com.android.builder.testing
Data representing the test app and the tested application/library.
TestRunner - Interface in com.android.builder.testing
A test runner able to run tests on a list of DeviceConnector
TestRunner.NoAuthorizedDeviceFoundException - Exception in com.android.builder.testing
 
TestRunner.NoAuthorizedDeviceFoundException() - Constructor for exception com.android.builder.testing.TestRunner.NoAuthorizedDeviceFoundException
 
toString() - Method in class com.android.builder.core.ApkInfoParser.ApkInfo
 
toString() - Method in class com.android.builder.core.BuildToolsServiceLoader.Service
 
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.dependency.JarDependency
 
toString() - Method in class com.android.builder.dependency.LibraryBundle
 
toString() - Method in class com.android.builder.png.AaptProcess
 
toString() - Method in class com.android.builder.signing.DefaultSigningConfig
 

U

uninstallPackage(String, int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
unload() - Static method in class com.android.builder.sdk.DefaultSdkLoader
 
unload() - Static method in class com.android.builder.sdk.PlatformLoader
 

V

valueOf(String) - Static method in enum com.android.builder.core.BuildToolsServiceLoader
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.core.EvaluationErrorReporter.EvaluationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.core.VariantType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.png.QueuedCruncher.Builder
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.builder.core.BuildToolsServiceLoader
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.core.EvaluationErrorReporter.EvaluationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.core.VariantType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.builder.png.QueuedCruncher.Builder
Returns an array containing the constants of this enum type, in the order they are declared.
VariantConfiguration<T extends com.android.builder.model.BuildType,D extends com.android.builder.model.ProductFlavor,F extends com.android.builder.model.ProductFlavor> - Class in com.android.builder.core
A Variant configuration.
VariantConfiguration(D, SourceProvider, T, SourceProvider, VariantType, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets for a given VariantType.
VariantConfiguration(D, SourceProvider, T, SourceProvider, VariantType, VariantConfiguration, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets, and an optional tested variant.
VariantType - Enum in com.android.builder.core
Type of a variant.
VectorDrawableRenderer - Class in com.android.builder.png
Generates PNG images (and XML copies) from VectorDrawable files.
VectorDrawableRenderer() - Constructor for class com.android.builder.png.VectorDrawableRenderer
 
Version - Class in com.android.builder
 

W

waitForReady() - Method in class com.android.builder.png.AaptProcess
 
writeFile(File, String) - Method in class com.android.builder.signing.SignedJarBuilder
Writes a new File into the archive.
writeZip(InputStream) - Method in class com.android.builder.signing.SignedJarBuilder
Copies the content of a Jar/Zip archive into the receiver archive.
writeZip(InputStream, SignedJarBuilder.IZipEntryFilter, SignedJarBuilder.ZipEntryExtractor) - Method in class com.android.builder.signing.SignedJarBuilder
Copies the content of a Jar/Zip archive into the receiver archive.

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