A B C D E F G H I J K L M 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
 
addProductFlavor(DefaultProductFlavor, SourceProvider, String) - Method in class com.android.builder.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.DefaultProductFlavor
 
addResourceConfigurations(String...) - Method in class com.android.builder.DefaultProductFlavor
 
addResourceConfigurations(Collection<String>) - Method in class com.android.builder.DefaultProductFlavor
 
AndroidBuilder - Class in com.android.builder
This is the main builder class.
AndroidBuilder(SdkParser, String, ILogger, boolean) - Constructor for class com.android.builder.AndroidBuilder
Creates an AndroidBuilder

This receives an SdkParser to provide the build with information about the SDK, as well as an ILogger to display output.


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

C

CertificateInfo - Class in com.android.builder.signing
Signing information.
CertificateInfo(PrivateKey, X509Certificate) - Constructor for class com.android.builder.signing.CertificateInfo
 
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.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.
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.dependency - package com.android.builder.dependency
 
com.android.builder.packaging - package com.android.builder.packaging
 
com.android.builder.signing - package com.android.builder.signing
 
com.android.builder.testing - package com.android.builder.testing
 
compileAidlFile(File, File, List<File>, DependencyFileProcessor) - Method in class com.android.builder.AndroidBuilder
Compiles the given aidl file.
compileAllAidlFiles(List<File>, File, List<File>, DependencyFileProcessor) - Method in class com.android.builder.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.AndroidBuilder
Compiles all the renderscript files found in the given source folders.
connect(int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
CONNECTED - Static variable in class com.android.builder.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(SdkParser) - Constructor for class com.android.builder.testing.ConnectedDeviceProvider
 
convertByteCode(Iterable<File>, Iterable<File>, File, DexOptions, List<String>, boolean) - Method in class com.android.builder.AndroidBuilder
Converts the bytecode to Dalvik format
createClassField(String, String, String) - Static method in class com.android.builder.AndroidBuilder
 
createDebugStore(SigningConfig, ILogger) - Static method in class com.android.builder.signing.KeystoreHelper
Creates a new debug store with the location, keyalias, and passwords specified in the config.

D

DEBUG - Static variable in class com.android.builder.BuilderConstants
 
DEFAULT_ALIAS - Static variable in class com.android.builder.signing.DefaultSigningConfig
 
DEFAULT_PASSWORD - Static variable in class com.android.builder.signing.DefaultSigningConfig
 
DefaultBuildType - Class in com.android.builder
 
DefaultBuildType(String) - Constructor for class com.android.builder.DefaultBuildType
 
defaultDebugKeystoreLocation() - Static method in class com.android.builder.signing.KeystoreHelper
Returns the location of the default debug keystore.
DefaultManifestParser - Class in com.android.builder
 
DefaultManifestParser() - Constructor for class com.android.builder.DefaultManifestParser
 
DefaultProductFlavor - Class in com.android.builder
The configuration of a product flavor.
DefaultProductFlavor(String) - Constructor for class com.android.builder.DefaultProductFlavor
Creates a ProductFlavor with a given name.
DefaultSdkParser - Class in com.android.builder
Default implementation of SdkParser for a normal Android SDK distribution.
DefaultSdkParser(String, File) - Constructor for class com.android.builder.DefaultSdkParser
 
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.BuilderConstants
 
DexOptions - Interface in com.android.builder
 
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.DefaultBuildType
 
equals(Object) - Method in class com.android.builder.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.BuilderConstants
Extension for library packages.

F

FD_FLAVORS - Static variable in class com.android.builder.BuilderConstants
 
FD_FLAVORS_ALL - Static variable in class com.android.builder.BuilderConstants
 
FD_INSTRUMENT_RESULTS - Static variable in class com.android.builder.BuilderConstants
 
FD_INSTRUMENT_TESTS - Static variable in class com.android.builder.BuilderConstants
 
FD_REPORTS - Static variable in class com.android.builder.BuilderConstants
 
FD_UI_RESULTS - Static variable in class com.android.builder.BuilderConstants
 
FD_UI_TESTS - Static variable in class com.android.builder.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
getAaptRunner() - Method in class com.android.builder.AndroidBuilder
Returns an AaptRunner able to run aapt commands.
getAbis() - Method in class com.android.builder.testing.ConnectedDevice
 
getAdb() - Method in class com.android.builder.DefaultSdkParser
 
getAdb() - Method in class com.android.builder.PlatformSdkParser
 
getAdb() - Method in interface com.android.builder.SdkParser
Returns the location of the adb tool.
getAidlFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getAidlImports() - Method in class com.android.builder.VariantConfiguration
Returns all the aidl import folder that are outside of the current project.
getAidlSourceList() - Method in class com.android.builder.VariantConfiguration
 
getAllLibraries() - Method in class com.android.builder.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.DefaultSdkParser
 
getAnnotationsJar() - Method in class com.android.builder.PlatformSdkParser
 
getAnnotationsJar() - Method in interface com.android.builder.SdkParser
Returns the location of the annotations jar for compilation targets that are <= 15.
getApiLevel() - Method in class com.android.builder.testing.ConnectedDevice
 
getArchivePath() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getAssetSets(boolean) - Method in class com.android.builder.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.VariantConfiguration
Returns the full, unique name of the variant, including BuildType, flavors and test, dash separated.
getBootClasspath(SdkParser) - Static method in class com.android.builder.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.VariantConfiguration
Returns a list of items for the BuildConfig class.
getBuildTools() - Method in class com.android.builder.DefaultSdkParser
 
getBuildTools() - Method in class com.android.builder.PlatformSdkParser
 
getBuildTools() - Method in interface com.android.builder.SdkParser
Returns the BuildToolInfo
getBuildType() - Method in class com.android.builder.VariantConfiguration
 
getBuildTypeSourceSet() - Method in class com.android.builder.VariantConfiguration
The SourceProvider for the BuildType.
getBundle() - Method in class com.android.builder.dependency.LibraryBundle
 
getBundleFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getCertificate() - Method in class com.android.builder.signing.CertificateInfo
 
getCertificateInfo(SigningConfig) - Static method in class com.android.builder.signing.KeystoreHelper
Returns the CertificateInfo for the given signing configuration.
getCommandLine() - Method in exception com.android.builder.signing.KeytoolException
 
getCommandLineRunner() - Method in class com.android.builder.AndroidBuilder
 
getCompileClasspath(VariantConfiguration) - Method in class com.android.builder.AndroidBuilder
Returns the compile classpath for this config.
getCompileClasspath() - Method in class com.android.builder.VariantConfiguration
Returns the compile classpath for this config.
getConsumerProguardFiles() - Method in class com.android.builder.VariantConfiguration
 
getDefaultConfig() - Method in class com.android.builder.VariantConfiguration
 
getDefaultSourceSet() - Method in class com.android.builder.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.VariantConfiguration
Returns the direct library dependencies
getDirName() - Method in class com.android.builder.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
 
getFlavorConfigs() - Method in class com.android.builder.VariantConfiguration
 
getFlavorName() - Method in class com.android.builder.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.VariantConfiguration
Return the names of the applied flavors.
getFlavorSourceProviders() - Method in class com.android.builder.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.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 interface com.android.builder.testing.TestData
 
getFunctionalTest() - Method in class com.android.builder.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 interface com.android.builder.testing.TestData
 
getHandleProfiling() - Method in class com.android.builder.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
 
getIncremental() - Method in interface com.android.builder.DexOptions
 
getInstrumentationRunner() - Method in interface com.android.builder.testing.TestData
 
getInstrumentationRunner() - Method in class com.android.builder.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.
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.VariantConfiguration
Returns the list of jar dependencies
getJavaHome() - Method in exception com.android.builder.signing.KeytoolException
 
getJavaMaxHeapSize() - Method in interface com.android.builder.DexOptions
 
getJniFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getJniLibsList() - Method in class com.android.builder.VariantConfiguration
 
getJniSourceList() - Method in class com.android.builder.VariantConfiguration
 
getJumboMode() - Method in interface com.android.builder.DexOptions
 
getKey() - Method in class com.android.builder.signing.CertificateInfo
 
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.AndroidBuilder
Computes and returns the leaf folders based on a given file extension.
getLibraryJniFolders() - Method in class com.android.builder.VariantConfiguration
 
getLintJar() - Method in class com.android.builder.dependency.LibraryBundle
 
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.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.VariantConfiguration
 
getManifestPackage(File) - Static method in class com.android.builder.VariantConfiguration
Parses the manifest file and return the package name.
getMergedFlavor() - Method in class com.android.builder.VariantConfiguration
 
getMessage() - Method in exception com.android.builder.packaging.DuplicateFileException
 
getMinSdkVersion(File) - Method in class com.android.builder.DefaultManifestParser
 
getMinSdkVersion() - Method in class com.android.builder.DefaultProductFlavor
 
getMinSdkVersion(File) - Method in interface com.android.builder.ManifestParser
Returns the minSdkVersion parsed from the given manifest file.
getMinSdkVersion() - Method in interface com.android.builder.testing.TestData
 
getMinSdkVersion() - Method in class com.android.builder.VariantConfiguration
Return the minSdkVersion for this variant.
getMultiFlavorSourceProvider() - Method in class com.android.builder.VariantConfiguration
 
getName() - Method in class com.android.builder.DefaultBuildType
 
getName() - Method in class com.android.builder.DefaultProductFlavor
 
getName() - Method in class com.android.builder.dependency.LibraryBundle
 
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.DefaultBuildType
 
getNdkConfig() - Method in class com.android.builder.DefaultProductFlavor
 
getNdkConfig() - Method in class com.android.builder.VariantConfiguration
 
getNdkLocation() - Method in class com.android.builder.DefaultSdkParser
 
getNdkLocation() - Method in class com.android.builder.PlatformSdkParser
 
getNdkLocation() - Method in interface com.android.builder.SdkParser
 
getOriginalPackageName() - Method in class com.android.builder.VariantConfiguration
Returns the original package name before any overrides from flavors.
getPackage(File) - Method in class com.android.builder.DefaultManifestParser
 
getPackage(File) - Method in interface com.android.builder.ManifestParser
Returns the package name parsed from the given manifest file.
getPackagedJars(VariantConfiguration) - Method in class com.android.builder.AndroidBuilder
Returns the list of packaged jars for this config.
getPackagedJars() - Method in class com.android.builder.VariantConfiguration
Returns the list of packaged jars for this config.
getPackageFromManifest() - Method in class com.android.builder.VariantConfiguration
Reads the package name from the manifest.
getPackageName() - Method in class com.android.builder.DefaultProductFlavor
 
getPackageName() - Method in interface com.android.builder.testing.TestData
Returns the package name.
getPackageName() - Method in class com.android.builder.VariantConfiguration
Returns the package name for this variant.
getPackageNameSuffix() - Method in class com.android.builder.DefaultBuildType
 
getPackageOverride() - Method in class com.android.builder.VariantConfiguration
Returns the package override values coming from the Product Flavor and/or the Build Type.
getPlatformToolsRevision() - Method in class com.android.builder.DefaultSdkParser
 
getPlatformToolsRevision() - Method in class com.android.builder.PlatformSdkParser
 
getPlatformToolsRevision() - Method in interface com.android.builder.SdkParser
Returns the revision of the installed platform tools component.
getPreDexLibraries() - Method in interface com.android.builder.DexOptions
 
getProguardFiles(boolean) - Method in class com.android.builder.VariantConfiguration
 
getProguardRules() - Method in class com.android.builder.dependency.LibraryBundle
 
getProject() - Method in class com.android.builder.dependency.LibraryBundle
 
getProvidedJars() - Method in class com.android.builder.VariantConfiguration
Returns the list of provided jars for this config.
getRenderscriptFolder() - Method in class com.android.builder.dependency.LibraryBundle
 
getRenderscriptImports() - Method in class com.android.builder.VariantConfiguration
Returns all the renderscript import folder that are outside of the current project.
getRenderscriptNdkMode() - Method in class com.android.builder.DefaultProductFlavor
 
getRenderscriptOptimLevel() - Method in class com.android.builder.DefaultBuildType
 
getRenderscriptSourceList() - Method in class com.android.builder.VariantConfiguration
Returns all the renderscript source folder from the main config, the flavors and the build type.
getRenderScriptSupportJar() - Method in class com.android.builder.AndroidBuilder
Returns the jar file for the renderscript mode.
getRenderscriptSupportMode() - Method in class com.android.builder.DefaultProductFlavor
 
getRenderscriptTargetApi() - Method in class com.android.builder.DefaultProductFlavor
 
getRepositories() - Method in class com.android.builder.DefaultSdkParser
 
getRepositories() - Method in class com.android.builder.PlatformSdkParser
 
getRepositories() - Method in interface com.android.builder.SdkParser
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.DefaultProductFlavor
 
getResourceSets(List<File>, boolean) - Method in class com.android.builder.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.VariantConfiguration
Returns a list of generated resource values.
getSigningConfig() - Method in class com.android.builder.DefaultBuildType
 
getSigningConfig() - Method in class com.android.builder.DefaultProductFlavor
 
getSigningConfig() - Method in class com.android.builder.VariantConfiguration
 
getSortedBaseConfigs() - Method in class com.android.builder.VariantConfiguration
 
getSortedSourceProviders() - Method in class com.android.builder.VariantConfiguration
Returns a list of sorted SourceProvider in order of ascending order, meaning, the earlier items are meant to be overridden by later items.
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 interface com.android.builder.testing.TestData
List of supported ABIs.
getSupportedAbis() - Method in class com.android.builder.VariantConfiguration
 
getSupportNativeLibFolder() - Method in class com.android.builder.AndroidBuilder
 
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.DefaultSdkParser
 
getTarget() - Method in class com.android.builder.PlatformSdkParser
 
getTarget() - Method in interface com.android.builder.SdkParser
Returns the compilation target
getTargetSdkVersion(File) - Method in class com.android.builder.DefaultManifestParser
 
getTargetSdkVersion() - Method in class com.android.builder.DefaultProductFlavor
 
getTargetSdkVersion(File) - Method in interface com.android.builder.ManifestParser
Returns the targetSdkVersion parsed from the given manifest file.
getTargetSdkVersion() - Method in class com.android.builder.VariantConfiguration
Return the targetSdkVersion for this variant.
getTestedConfig() - Method in class com.android.builder.VariantConfiguration
 
getTestedPackageName() - Method in interface com.android.builder.testing.TestData
Returns the tested package name.
getTestedPackageName() - Method in class com.android.builder.VariantConfiguration
 
getTestFunctionalTest() - Method in class com.android.builder.DefaultProductFlavor
 
getTestHandleProfiling() - Method in class com.android.builder.DefaultProductFlavor
 
getTestInstrumentationRunner() - Method in class com.android.builder.DefaultProductFlavor
 
getTestPackageName() - Method in class com.android.builder.DefaultProductFlavor
 
getTimeout() - Method in class com.android.builder.testing.ConnectedDeviceProvider
 
getType() - Method in class com.android.builder.VariantConfiguration
 
getVariantSourceProvider() - Method in class com.android.builder.VariantConfiguration
Returns the variant specific source provider
getVersionCode(File) - Method in class com.android.builder.DefaultManifestParser
 
getVersionCode() - Method in class com.android.builder.DefaultProductFlavor
 
getVersionCode(File) - Method in interface com.android.builder.ManifestParser
Returns the version code parsed from the given manifest file.
getVersionCode() - Method in class com.android.builder.VariantConfiguration
Returns the version code for this variant.
getVersionCodeFromManifest() - Method in class com.android.builder.VariantConfiguration
Reads the version code from the manifest.
getVersionName(File) - Method in class com.android.builder.DefaultManifestParser
 
getVersionName() - Method in class com.android.builder.DefaultProductFlavor
 
getVersionName(File) - Method in interface com.android.builder.ManifestParser
Returns the version name parsed from the given manifest file.
getVersionName() - Method in class com.android.builder.VariantConfiguration
Returns the version name for this variant.
getVersionNameFromManifest() - Method in class com.android.builder.VariantConfiguration
Reads the version name from the manifest.
getVersionNameSuffix() - Method in class com.android.builder.DefaultBuildType
 
getWidth() - Method in class com.android.builder.testing.ConnectedDevice
 
getZipAlign() - Method in class com.android.builder.DefaultSdkParser
 
getZipAlign() - Method in class com.android.builder.PlatformSdkParser
 
getZipAlign() - Method in interface com.android.builder.SdkParser
Returns the location of the zip align tool.

H

hasFlavors() - Method in class com.android.builder.VariantConfiguration
 
hashCode() - Method in class com.android.builder.DefaultBuildType
 
hashCode() - Method in class com.android.builder.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.VariantConfiguration
 

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.
initParser(String, FullRevision, ILogger) - Method in class com.android.builder.DefaultSdkParser
 
initParser(String, FullRevision, ILogger) - Method in class com.android.builder.PlatformSdkParser
 
initParser(String, FullRevision, ILogger) - Method in interface com.android.builder.SdkParser
Inits the parser with a target hash string and a build tools FullRevision.
initWith(DefaultBuildType) - Method in class com.android.builder.DefaultBuildType
 
installPackage(File, int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 
INSTRUMENT_TEST - Static variable in class com.android.builder.BuilderConstants
 
isBuildingLibrary() - Method in class com.android.builder.AndroidBuilder
Sets whether this builder is currently used to build a library
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.DefaultBuildType
 
isInsertSourceMarkers() - Method in class com.android.builder.AndroidBuilder
Returns whether we should insert source markers in generated files (such as XML resources and merged manifest files)
isJniDebugBuild() - Method in class com.android.builder.DefaultBuildType
 
isPackaged() - Method in class com.android.builder.dependency.JarDependency
 
isProguarded() - Method in class com.android.builder.dependency.JarDependency
 
isRenderscriptDebugBuild() - Method in class com.android.builder.DefaultBuildType
 
isRunProguard() - Method in class com.android.builder.DefaultBuildType
 
isSigningReady() - Method in class com.android.builder.signing.DefaultSigningConfig
 
isSigningReady() - Method in class com.android.builder.VariantConfiguration
 
isZipAlign() - Method in class com.android.builder.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
 

K

KeystoreHelper - Class in com.android.builder.signing
A Helper to create and read keystore/keys.
KeystoreHelper() - Constructor for class com.android.builder.signing.KeystoreHelper
 
KeytoolException - Exception in com.android.builder.signing
 

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
LibraryBundle(File, File) - Constructor for class com.android.builder.dependency.LibraryBundle
 
LibraryDependency - Interface in com.android.builder.dependency
Represents a dependency on a Library Project.
LINT - Static variable in class com.android.builder.BuilderConstants
 

M

MAIN - Static variable in class com.android.builder.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
A Manifest parser
ManifestProvider - Interface in com.android.builder.dependency
Provides a path to the Android Manifest
mCertificate - Variable in class com.android.builder.signing.CertificateInfo
 
mKey - Variable in class com.android.builder.signing.CertificateInfo
 
mName - Variable in class com.android.builder.signing.DefaultSigningConfig
 

P

packageApk(String, File, Collection<File>, String, Collection<File>, Set<String>, boolean, SigningConfig, PackagingOptions, String) - Method in class com.android.builder.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
 
PlatformSdkParser - Class in com.android.builder
Implementation of SdkParser for the SDK prebuilds in the Android source tree.
PlatformSdkParser(String) - Constructor for class com.android.builder.PlatformSdkParser
 
preDexLibrary(File, File, DexOptions) - Method in class com.android.builder.AndroidBuilder
Converts the bytecode to Dalvik format
processFile(File) - Method in interface com.android.builder.compiling.DependencyFileProcessor
Processes the dependency file.
processManifest(File, List<File>, List<? extends ManifestDependency>, String, int, String, int, int, String) - Method in class com.android.builder.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>) - Method in class com.android.builder.AndroidBuilder
Process the resources and generate R.java and/or the packaged resources.
processTestManifest(String, int, int, String, String, Boolean, Boolean, List<? extends ManifestDependency>, String) - Method in class com.android.builder.AndroidBuilder
Creates the manifest for a test variant

R

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

S

SdkParser - Interface in com.android.builder
A parser able to parse the SDK and return valuable information to the build system.
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
 
setBuildingLibrary(boolean) - Method in class com.android.builder.AndroidBuilder
Sets whether this builder is currently used to build a library.
setDebuggable(boolean) - Method in class com.android.builder.DefaultBuildType
 
setDependencies(DependencyContainer) - Method in class com.android.builder.VariantConfiguration
Sets the dependencies
setJniDebugBuild(boolean) - Method in class com.android.builder.DefaultBuildType
 
setKeyAlias(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setKeyPassword(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setMinSdkVersion(int) - Method in class com.android.builder.DefaultProductFlavor
 
setMultiFlavorSourceProvider(SourceProvider) - Method in class com.android.builder.VariantConfiguration
Sets the variant-specific source provider.
setOutput(LibraryDependency) - Method in class com.android.builder.VariantConfiguration
Sets the output of this variant.
setPackaged(boolean) - Method in class com.android.builder.dependency.JarDependency
 
setPackageName(String) - Method in class com.android.builder.DefaultProductFlavor
Sets the package name.
setPackageNameSuffix(String) - Method in class com.android.builder.DefaultBuildType
 
setRenderscriptDebugBuild(boolean) - Method in class com.android.builder.DefaultBuildType
 
setRenderscriptNdkMode(boolean) - Method in class com.android.builder.DefaultProductFlavor
 
setRenderscriptOptimLevel(int) - Method in class com.android.builder.DefaultBuildType
 
setRenderscriptSupportMode(boolean) - Method in class com.android.builder.DefaultProductFlavor
 
setRenderscriptTargetApi(int) - Method in class com.android.builder.DefaultProductFlavor
 
setRunProguard(boolean) - Method in class com.android.builder.DefaultBuildType
 
setSigningConfig(SigningConfig) - Method in class com.android.builder.DefaultBuildType
 
setSigningConfig(SigningConfig) - Method in class com.android.builder.DefaultProductFlavor
 
setStoreFile(File) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setStorePassword(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setStoreType(String) - Method in class com.android.builder.signing.DefaultSigningConfig
 
setTargetSdkVersion(int) - Method in class com.android.builder.DefaultProductFlavor
 
setTestFunctionalTest(boolean) - Method in class com.android.builder.DefaultProductFlavor
 
setTestHandleProfiling(boolean) - Method in class com.android.builder.DefaultProductFlavor
 
setTestInstrumentationRunner(String) - Method in class com.android.builder.DefaultProductFlavor
 
setTestPackageName(String) - Method in class com.android.builder.DefaultProductFlavor
 
setVariantSourceProvider(SourceProvider) - Method in class com.android.builder.VariantConfiguration
Sets the variant-specific source provider.
setVersionCode(int) - Method in class com.android.builder.DefaultProductFlavor
Sets the version code.
setVersionName(String) - Method in class com.android.builder.DefaultProductFlavor
Sets the version name.
setVersionNameSuffix(String) - Method in class com.android.builder.DefaultBuildType
 
setZipAlign(boolean) - Method in class com.android.builder.DefaultBuildType
 
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

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
toString() - Method in class com.android.builder.DefaultBuildType
 
toString() - Method in class com.android.builder.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
 

U

UI_TEST - Static variable in class com.android.builder.BuilderConstants
 
uninstallPackage(String, int, ILogger) - Method in class com.android.builder.testing.ConnectedDevice
 

V

valueOf(String) - Static method in enum com.android.builder.VariantConfiguration.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.builder.VariantConfiguration.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VariantConfiguration - Class in com.android.builder
A Variant configuration.
VariantConfiguration(DefaultProductFlavor, SourceProvider, DefaultBuildType, SourceProvider) - Constructor for class com.android.builder.VariantConfiguration
Creates the configuration with the base source sets.
VariantConfiguration(DefaultProductFlavor, SourceProvider, DefaultBuildType, SourceProvider, VariantConfiguration.Type) - Constructor for class com.android.builder.VariantConfiguration
Creates the configuration with the base source sets for a given VariantConfiguration.Type.
VariantConfiguration(DefaultProductFlavor, SourceProvider, DefaultBuildType, SourceProvider, VariantConfiguration.Type, VariantConfiguration) - Constructor for class com.android.builder.VariantConfiguration
Creates the configuration with the base source sets, and an optional tested variant.
VariantConfiguration.Type - Enum in com.android.builder
 

W

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 K L M P R S T U V W