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

A

addField(String, String, String) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.BuildConfigGenerator
 
addItems(Collection<Object>) - Method in class com.android.builder.compiling.ResValueGenerator
 
addManifestPlaceHolders(Map<String, String>) - Method in class com.android.builder.core.DefaultProductFlavor
 
addProductFlavor(DefaultProductFlavor, SourceProvider, String) - Method in class com.android.builder.core.VariantConfiguration
Add a new configured ProductFlavor.
addResource(String, String, String) - Method in class com.android.builder.compiling.ResValueGenerator
 
addResourceConfiguration(String) - Method in class com.android.builder.core.DefaultProductFlavor
 
addResourceConfigurations(String...) - Method in class com.android.builder.core.DefaultProductFlavor
 
addResourceConfigurations(Collection<String>) - Method in class com.android.builder.core.DefaultProductFlavor
 
ANDROID_TEST - Static variable in class com.android.builder.core.BuilderConstants
 
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, ILogger, boolean) - Constructor for class com.android.builder.core.AndroidBuilder
Creates an AndroidBuilder.

B

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
BuilderConstants - Class in com.android.builder.core
Generic constants.
BuilderConstants() - Constructor for class com.android.builder.core.BuilderConstants
 

C

checkEntry(String) - Method in interface com.android.builder.signing.SignedJarBuilder.IZipEntryFilter
Checks a file for inclusion in a Jar archive.
checkSourceProviders() - Method in class com.android.builder.core.VariantConfiguration
Checks the SourceProviders to ensure that they don't use the same folders.
cleanUp() - Method in class com.android.builder.signing.SignedJarBuilder
Clean up of the builder for interrupted workflow.
clearCache() - Static method in class com.android.builder.png.PngProcessor
 
close() - Method in class com.android.builder.signing.SignedJarBuilder
Closes the Jar archive by creating the manifest, and signing the archive.
ColorType - Enum in com.android.builder.png
PNG Color type enum.
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.
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) - Constructor for class com.android.builder.testing.ConnectedDeviceProvider
 
convertByteCode(Iterable<File>, Iterable<File>, File, DexOptions, List<String>, boolean) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format
create(Object) - Static method in class com.android.builder.core.DefaultApiVersion
 
createClassField(String, String, String) - Static method in class com.android.builder.core.AndroidBuilder
 

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
 
DefaultManifestParser - Class in com.android.builder.core
 
DefaultManifestParser() - Constructor for class com.android.builder.core.DefaultManifestParser
 
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
 
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

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
 
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.

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
 
FD_UI_RESULTS - Static variable in class com.android.builder.core.BuilderConstants
 
FD_UI_TESTS - Static variable in class com.android.builder.core.BuilderConstants
 
FN_PROGUARD_TXT - Static variable in class com.android.builder.dependency.LibraryBundle
 

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(File) - 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
 
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
 
getArchivePath() - Method in exception com.android.builder.packaging.DuplicateFileException
 
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.
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
 
getCodename() - Method in class com.android.builder.core.DefaultApiVersion
 
getCommandLineRunner() - Method in class com.android.builder.core.AndroidBuilder
 
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.
getDevices() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
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.
getFile1() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getFile2() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getFlag() - Method in enum com.android.builder.png.ColorType
 
getFlavorConfigs() - Method in class com.android.builder.core.VariantConfiguration
 
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).
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.
getFunctionalTest() - Method in interface com.android.builder.testing.TestData
 
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.
getHandleProfiling() - Method in interface com.android.builder.testing.TestData
 
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
 
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
 
getJars() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of jar dependencies
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
 
getLeafFolders(String, List<File>...) - Method in class com.android.builder.core.AndroidBuilder
Computes and returns the leaf folders based on a given file extension.
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.
getLocalJars() - Method in class com.android.builder.dependency.LibraryBundle
 
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.
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.DefaultProductFlavor
 
getMergedFlavor() - Method in class com.android.builder.core.VariantConfiguration
 
getMessage() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getMessage() - Method in exception com.android.builder.png.NinePatchException
 
getMinSdkVersion(File) - Method in class com.android.builder.core.DefaultManifestParser
 
getMinSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
 
getMinSdkVersion(File) - Method in interface com.android.builder.core.ManifestParser
Returns the minSdkVersion parsed from the given manifest file.
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
getMultiFlavorSourceProvider() - Method in class com.android.builder.core.VariantConfiguration
 
getName() - Method in class com.android.builder.core.DefaultBuildType
 
getName() - Method in class com.android.builder.core.DefaultProductFlavor
 
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
 
getNdkConfig() - Method in class com.android.builder.core.DefaultBuildType
 
getNdkConfig() - Method in class com.android.builder.core.DefaultProductFlavor
 
getNdkConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getOriginalApplicationId() - Method in class com.android.builder.core.VariantConfiguration
Returns the original application ID before any overrides from flavors.
getPackage(File) - Method in class com.android.builder.core.DefaultManifestParser
 
getPackage(File) - Method in interface com.android.builder.core.ManifestParser
Returns the package name parsed from the given manifest file.
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.
getPreDexLibraries() - Method in interface com.android.builder.core.DexOptions
 
getProguardFiles(boolean) - Method in class com.android.builder.core.VariantConfiguration
 
getProguardRules() - Method in class com.android.builder.dependency.LibraryBundle
 
getProject() - Method in class com.android.builder.dependency.LibraryBundle
 
getProjectVariant() - Method in class com.android.builder.dependency.LibraryBundle
 
getProvidedOnlyJars() - Method in class com.android.builder.core.VariantConfiguration
Returns the list of provided-only jars for this config.
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.
getRenderscriptNdkMode() - Method in class com.android.builder.core.DefaultProductFlavor
 
getRenderscriptOptimLevel() - Method in class com.android.builder.core.DefaultBuildType
 
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.
getRenderscriptSupportMode() - 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.
getResFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getResourceConfigurations() - Method in class com.android.builder.core.DefaultProductFlavor
 
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.
getSigningConfig() - Method in class com.android.builder.core.DefaultBuildType
 
getSigningConfig() - Method in class com.android.builder.core.DefaultProductFlavor
 
getSigningConfig() - Method in class com.android.builder.core.VariantConfiguration
 
getSortedBaseConfigs() - Method in class com.android.builder.core.VariantConfiguration
 
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.
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
 
getSupportedAbis() - Method in class com.android.builder.core.VariantConfiguration
 
getSupportedAbis() - Method in interface com.android.builder.testing.TestData
List of supported ABIs.
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
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(File) - Method in class com.android.builder.core.DefaultManifestParser
 
getTargetSdkVersion() - Method in class com.android.builder.core.DefaultProductFlavor
 
getTargetSdkVersion(File) - Method in interface com.android.builder.core.ManifestParser
Returns the targetSdkVersion parsed from the given manifest file.
getTargetSdkVersion() - Method in class com.android.builder.core.VariantConfiguration
Return the targetSdkVersion for this variant.
getTestApplicationId() - Method in class com.android.builder.core.DefaultProductFlavor
 
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
 
getTestHandleProfiling() - Method in class com.android.builder.core.DefaultProductFlavor
 
getTestInstrumentationRunner() - Method in class com.android.builder.core.DefaultProductFlavor
 
getThreadCount() - Method in interface com.android.builder.core.DexOptions
 
getTimeout() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
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(File) - Method in class com.android.builder.core.DefaultManifestParser
 
getVersionCode() - Method in class com.android.builder.core.DefaultProductFlavor
 
getVersionCode(File) - Method in interface com.android.builder.core.ManifestParser
Returns the version code parsed from the given manifest file.
getVersionCode() - Method in class com.android.builder.core.VariantConfiguration
Returns the version code for this variant.
getVersionCodeFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the version code from the manifest.
getVersionName(File) - Method in class com.android.builder.core.DefaultManifestParser
 
getVersionName() - Method in class com.android.builder.core.DefaultProductFlavor
 
getVersionName(File) - Method in interface com.android.builder.core.ManifestParser
Returns the version name parsed from the given manifest file.
getVersionName() - Method in class com.android.builder.core.VariantConfiguration
Returns the version name for this variant.
getVersionNameFromManifest() - Method in class com.android.builder.core.VariantConfiguration
Reads the version name from the manifest.
getVersionNameSuffix() - Method in class com.android.builder.core.DefaultBuildType
 
getWidth() - Method in class com.android.builder.testing.ConnectedDevice
 

H

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

I

IDAT - Static variable in class com.android.builder.png.PngWriter
Chunk type for the Image-Data chunk.
IHDR - Static variable in class com.android.builder.png.PngWriter
Chunk type for the Image-Header chunk.
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, 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
 
isEmbedMicroApp() - Method in class com.android.builder.core.DefaultBuildType
 
isJniDebugBuild() - Method in class com.android.builder.core.DefaultBuildType
 
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
 
isRenderscriptDebugBuild() - Method in class com.android.builder.core.DefaultBuildType
 
isRunProguard() - Method in class com.android.builder.core.DefaultBuildType
 
isSigningReady() - Method in class com.android.builder.core.VariantConfiguration
 
isSigningReady() - Method in class com.android.builder.signing.DefaultSigningConfig
 
isTestCoverageEnabled() - Method in class com.android.builder.core.DefaultBuildType
 
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
isZipAlign() - Method in class com.android.builder.core.DefaultBuildType
 

J

JarDependency - Class in com.android.builder.dependency
Represents a Jar dependency.
JarDependency(File, boolean, boolean, boolean) - Constructor for class com.android.builder.dependency.JarDependency
 
JarDependency(File, boolean, boolean) - Constructor for class com.android.builder.dependency.JarDependency
 

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) - 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.
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
ManifestParser - Interface in com.android.builder.core
A Manifest parser
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, String, ManifestMerger2.MergeType, Map<String, String>) - Method in class com.android.builder.core.AndroidBuilder
Invoke the Manifest Merger version 2.
mName - Variable in class com.android.builder.signing.DefaultSigningConfig
 

N

NinePatchException - Exception in com.android.builder.png
 

P

packageApk(String, File, Collection<File>, String, Collection<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
 
PlatformLoader - Class in com.android.builder.sdk
Singleton-based implementation of SdkLoader for a platform-based SDK.
PLTE - Static variable in class com.android.builder.png.PngWriter
Chunk type for the palette chunk.
PngProcessor - Class in com.android.builder.png
a PngProcessor.
PngWriter - Class in com.android.builder.png
PNG Writer.
PngWriter(File) - Constructor for class com.android.builder.png.PngWriter
 
preDexLibrary(File, File, DexOptions) - Method in class com.android.builder.core.AndroidBuilder
Converts the bytecode to Dalvik format
preDexLibrary(File, File, DexOptions, BuildToolInfo, boolean, CommandLineRunner) - Static method in class com.android.builder.core.AndroidBuilder
 
process(File, File) - Static method in class com.android.builder.png.PngProcessor
Processes a given png and writes the resulting png file.
processFile(File) - Method in interface com.android.builder.compiling.DependencyFileProcessor
Processes the dependency file.
processManifest(File, List<File>, List<? extends ManifestDependency>, String, int, String, String, String, String) - Method in class com.android.builder.core.AndroidBuilder
Merges all the manifests into a single manifest
processResources(File, File, File, List<? extends SymbolFileProvider>, String, String, String, String, String, VariantConfiguration.Type, boolean, AaptOptions, Collection<String>, 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, List<? extends ManifestDependency>, File) - Method in class com.android.builder.core.AndroidBuilder
Creates the manifest for a test variant
processTestManifest2(String, String, String, String, String, Boolean, Boolean, List<? extends ManifestDependency>, 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
 

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, File, TestData, List<? extends DeviceConnector>, int, int, File, File, ILogger) - Method in class com.android.builder.testing.SimpleTestRunner
 
runTests(String, String, File, File, TestData, List<? extends DeviceConnector>, int, int, 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.
setChunk(Chunk) - Method in class com.android.builder.png.PngWriter
 
setChunks(List<Chunk>) - Method in class com.android.builder.png.PngWriter
 
setDebuggable(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether this build type should generate a debuggable apk.
setDependencies(DependencyContainer) - Method in class com.android.builder.core.VariantConfiguration
Sets the dependencies
setEmbedMicroApp(boolean) - Method in class com.android.builder.core.DefaultBuildType
 
setIhdr(Chunk) - Method in class com.android.builder.png.PngWriter
 
setJniDebugBuild(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
 
setManifestPlaceholders(Map<String, String>) - Method in class com.android.builder.core.DefaultProductFlavor
 
setMinSdkVersion(ApiVersion) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the minSdkVersion to the given value.
setMultiFlavorSourceProvider(SourceProvider) - Method in class com.android.builder.core.VariantConfiguration
Sets the variant-specific source provider.
setOutput(LibraryDependency) - Method in class com.android.builder.core.VariantConfiguration
Sets the output of this variant.
setPackaged(boolean) - Method in class com.android.builder.dependency.JarDependency
 
setRenderscriptDebugBuild(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether the build type is configured to generate an apk with debuggable RenderScript code.
setRenderscriptNdkMode(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.
setRenderscriptSupportMode(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(int) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the renderscript target API to the given value.
setRunProguard(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether ProGuard is enabled for this build type.
setSigningConfig(SigningConfig) - Method in class com.android.builder.core.DefaultBuildType
Sets the signing configuration.
setSigningConfig(SigningConfig) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the signing configuration.
setStoreFile(File) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setStorePassword(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setStoreType(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setTargetInfo(SdkInfo, TargetInfo) - Method in class com.android.builder.core.AndroidBuilder
Sets the SdkInfo and the targetInfo on the builder.
setTargetSdkVersion(ApiVersion) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the targetSdkVersion to the given value.
setTestApplicationId(String) - Method in class com.android.builder.core.DefaultProductFlavor
Sets the test package name.
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.
setVariantSourceProvider(SourceProvider) - Method in class com.android.builder.core.VariantConfiguration
Sets the variant-specific source provider.
setVersionCode(int) - 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.
setZipAlign(boolean) - Method in class com.android.builder.core.DefaultBuildType
Whether zipalign is enabled for this build type.
SIGNATURE - Static variable in class com.android.builder.png.PngWriter
Signature of a PNG file.
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
 
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() - Constructor for class com.android.builder.testing.SimpleTestRunner
 
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
 
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.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.signing.DefaultSigningConfig
 
TRNS - Static variable in class com.android.builder.png.PngWriter
Chunk type for the transparency data chunk.

U

UI_TEST - Static variable in class com.android.builder.core.BuilderConstants
 
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.VariantConfiguration.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.builder.png.ColorType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.builder.core.VariantConfiguration.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.png.ColorType
Returns an array containing the constants of this enum type, in the order they are declared.
VariantConfiguration - Class in com.android.builder.core
A Variant configuration.
VariantConfiguration(DefaultProductFlavor, SourceProvider, DefaultBuildType, SourceProvider, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets.
VariantConfiguration(DefaultProductFlavor, SourceProvider, DefaultBuildType, SourceProvider, VariantConfiguration.Type, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets for a given VariantConfiguration.Type.
VariantConfiguration(DefaultProductFlavor, SourceProvider, DefaultBuildType, SourceProvider, VariantConfiguration.Type, VariantConfiguration, SigningConfig) - Constructor for class com.android.builder.core.VariantConfiguration
Creates the configuration with the base source sets, and an optional tested variant.
VariantConfiguration.Type - Enum in com.android.builder.core
 

W

write() - Method in class com.android.builder.png.PngWriter
 
writeFile(File, String) - Method in class com.android.builder.signing.SignedJarBuilder
Writes a new File into the archive.
writeZip(InputStream, SignedJarBuilder.IZipEntryFilter) - 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 R S T U V W