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

A

AbstractInstaller - Class in com.android.repository.impl.installer
Framework for an installer that creates a temporary directory, writes package.xml when it's done, and can resume if partly done.
AbstractInstaller(RemotePackage, RepoManager, Downloader, FileOp) - Constructor for class com.android.repository.impl.installer.AbstractInstaller
 
AbstractInstallerFactory - Class in com.android.repository.impl.installer
Framework for an actually InstallerFactory, with support for adding the listeners generated by the InstallerFactory.StatusChangeListenerFactory to the generated installer or uninstaller.
AbstractInstallerFactory() - Constructor for class com.android.repository.impl.installer.AbstractInstallerFactory
 
AbstractPackageOperation - Class in com.android.repository.impl.installer
Frameworks for concrete Installers and Uninstallers that manages creation of temp directories, writing package metadata and install status, and resuming in-progress installs.
AbstractPackageOperation(RepoManager, FileOp) - Constructor for class com.android.repository.impl.installer.AbstractPackageOperation
 
AbstractUninstaller - Class in com.android.repository.impl.installer
Framework for a basic uninstaller that keeps track of its status and invalidates the list of installed packages when complete.
AbstractUninstaller(LocalPackage, RepoManager, FileOp) - Constructor for class com.android.repository.impl.installer.AbstractUninstaller
 
addArchive(Archive) - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
addChannel(Channel) - Method in class com.android.repository.api.Repository
Convenience method to add a Channel to this repository.
addDependency(Dependency) - Method in class com.android.repository.impl.meta.RepoPackageImpl
Convenience method to add a Dependency to this package's list of dependencies.
addLicense(License) - Method in class com.android.repository.api.Repository
Convenience method to add a License to this repository.
addSource(RepositorySource) - Method in class com.android.repository.api.ConstantSourceProvider
 
addSource(RepositorySource) - Method in interface com.android.repository.api.RepositorySourceProvider
Add a source to this provider, if this provider is editable.
addSource(RepositorySource) - Method in class com.android.repository.impl.sources.LocalSourceProvider
Add a source to this provider.
addSource(RepositorySource) - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl
Not supported by this provider.
addSource(RepositorySource) - Method in class com.android.repository.testframework.FakeRepositorySourceProvider
 
addTo(Repository) - Method in class com.android.repository.impl.meta.LocalPackageImpl
 
addTo(Repository) - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
addTo(Repository) - Method in class com.android.repository.impl.meta.RepoPackageImpl
Adds this package to the given Repository, overwriting existing packages if necessary.
append(File, String...) - Static method in class com.android.repository.io.FileOpUtils
Appends the given segments to the base file.
append(String, String...) - Static method in class com.android.repository.io.FileOpUtils
Appends the given segments to the base file.
archive - Variable in class com.android.repository.impl.generated.v1.ArchivesType
 
Archive - Class in com.android.repository.impl.meta
A downloadable version of a RepoPackage, corresponding to a specific version number, and optionally host OS, host bitness, JVM version or JVM bitness.
Archive() - Constructor for class com.android.repository.impl.meta.Archive
 
Archive.ArchiveFile - Class in com.android.repository.impl.meta
General parent for the actual files referenced in an archive.
Archive.CompleteType - Class in com.android.repository.impl.meta
Parent for xjc-generated classes containing a complete zip of this archive.
Archive.PatchesType - Class in com.android.repository.impl.meta
A list of Archive.PatchTypes.
Archive.PatchType - Class in com.android.repository.impl.meta
A binary diff from a previous package version to this one.
ArchiveFile() - Constructor for class com.android.repository.impl.meta.Archive.ArchiveFile
 
archives - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
Archives() - Constructor for class com.android.repository.impl.meta.RepoPackageImpl.Archives
 
ArchivesType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
ArchivesType() - Constructor for class com.android.repository.impl.generated.v1.ArchivesType
 
ArchiveType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
ArchiveType() - Constructor for class com.android.repository.impl.generated.v1.ArchiveType
 
asMarshallable() - Method in interface com.android.repository.api.RepoPackage
Returns a package with the same content as this one that can be marshalled using JAXB (or this if it already can be marshalled).
asMarshallable() - Method in class com.android.repository.impl.meta.LocalPackageImpl
 
asMarshallable() - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
asMarshallable() - Method in class com.android.repository.testframework.FakePackage
 
assertNoErrors() - Method in class com.android.repository.testframework.FakeProgressIndicator
assert that no errors have been logged.
assertNoErrorsOrWarnings() - Method in class com.android.repository.testframework.FakeProgressIndicator
assert that no errors or warnings have been logged.

B

basedOn - Variable in class com.android.repository.impl.generated.v1.PatchType
 
BasicInstallerFactory - Class in com.android.repository.impl.installer
Factory for BasicInstallers and BasicUninstallers.
BasicInstallerFactory() - Constructor for class com.android.repository.impl.installer.BasicInstallerFactory
 

C

cancel() - Method in class com.android.repository.api.DelegatingProgressIndicator
 
cancel() - Method in interface com.android.repository.api.ProgressIndicator
Try to cancel this operation.
cancel() - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
cancel() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
canExecute(File) - Method in interface com.android.repository.io.FileOp
 
canExecute(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
canWrite(File) - Method in interface com.android.repository.io.FileOp
Invokes File.canWrite() on the given file.
canWrite(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
canWrite(File) - Method in class com.android.repository.testframework.MockFileOp
 
Channel - Class in com.android.repository.api
An update channel, e.g.
Channel() - Constructor for class com.android.repository.api.Channel
 
channel - Variable in class com.android.repository.impl.generated.v1.RepositoryType
 
channelRef - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
ChannelRef() - Constructor for class com.android.repository.impl.meta.RemotePackageImpl.ChannelRef
 
ChannelRefType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
ChannelRefType() - Constructor for class com.android.repository.impl.generated.v1.ChannelRefType
 
ChannelType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
ChannelType() - Constructor for class com.android.repository.impl.generated.v1.ChannelType
 
checkAccepted(File, FileOp) - Method in class com.android.repository.api.License
Checks whether this license has previously been accepted.
checksum - Variable in class com.android.repository.impl.generated.v1.CompleteType
 
checksum - Variable in class com.android.repository.impl.generated.v1.PatchType
 
checkValidPath(File, RepoManager, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
Checks to see whether path is a valid install path.
com.android.repository - package com.android.repository
 
com.android.repository.api - package com.android.repository.api
 
com.android.repository.impl.downloader - package com.android.repository.impl.downloader
 
com.android.repository.impl.generated.generic.v1 - package com.android.repository.impl.generated.generic.v1
DO NOT EDIT This file was generated by xjc from generic-01.xsd.
com.android.repository.impl.generated.v1 - package com.android.repository.impl.generated.v1
 
com.android.repository.impl.installer - package com.android.repository.impl.installer
 
com.android.repository.impl.manager - package com.android.repository.impl.manager
 
com.android.repository.impl.meta - package com.android.repository.impl.meta
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
com.android.repository.impl.sources - package com.android.repository.impl.sources
 
com.android.repository.impl.sources.generated.v1 - package com.android.repository.impl.sources.generated.v1
 
com.android.repository.io - package com.android.repository.io
 
com.android.repository.io.impl - package com.android.repository.io.impl
 
com.android.repository.testframework - package com.android.repository.testframework
 
com.android.repository.util - package com.android.repository.util
 
CommonFactory - Class in com.android.repository.impl.meta
Factory for creating the objects used by the repository framework.
CommonFactory() - Constructor for class com.android.repository.impl.meta.CommonFactory
 
compareTo(Channel) - Method in class com.android.repository.api.Channel
 
compareTo(UpdatablePackage) - Method in class com.android.repository.api.UpdatablePackage
 
compareTo(RepoPackage) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
compareTo(Revision) - Method in class com.android.repository.Revision
Trivial comparison of a version, e.g 17.1.2 < 18.0.0.
compareTo(Revision, Revision.PreviewComparison) - Method in class com.android.repository.Revision
Trivial comparison of a version, e.g 17.1.2 < 18.0.0.
compareTo(RepoPackage) - Method in class com.android.repository.testframework.FakePackage
 
complete(ProgressIndicator) - Method in interface com.android.repository.api.PackageOperation
Install/Uninstall the package.
complete - Variable in class com.android.repository.impl.generated.v1.ArchiveType
 
complete(ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Finds the prepared files using the installer metadata, and calls AbstractPackageOperation.doComplete(File, ProgressIndicator).
CompleteType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
CompleteType() - Constructor for class com.android.repository.impl.generated.v1.CompleteType
 
CompleteType() - Constructor for class com.android.repository.impl.meta.Archive.CompleteType
 
computeRequiredPackages(Collection<RemotePackage>, RepositoryPackages, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
Compute the complete list of packages that need to be installed to meet the dependencies of the given list (including the requested packages themselves, if they are not already installed).
ConsoleProgressIndicator - Class in com.android.repository.api
A simple ProgressIndicator that prints log messages to stdout and stderr.
ConsoleProgressIndicator() - Constructor for class com.android.repository.api.ConsoleProgressIndicator
 
ConstantSourceProvider - Class in com.android.repository.api
A RepositorySourceProvider that provides a single source allowing a single set of schema modules.
ConstantSourceProvider(String, String, Collection<SchemaModule>) - Constructor for class com.android.repository.api.ConstantSourceProvider
 
copyFile(File, File) - Method in interface com.android.repository.io.FileOp
Copies a binary file.
copyFile(File, File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
create(int) - Static method in class com.android.repository.api.Channel
Create a new Channel with the specified ID.
create(String, SchemaModule, Map<Class<? extends RepositorySource>, Collection<SchemaModule>>) - Static method in class com.android.repository.api.RemoteListSourceProvider
Creates a new provider.
create(FileOp) - Static method in class com.android.repository.api.RepoManager
 
create(RepoPackage) - Static method in class com.android.repository.impl.meta.LocalPackageImpl
Creates a LocalPackageImpl from an arbitrary RepoPackage.
create(RemotePackage) - Static method in class com.android.repository.impl.meta.RemotePackageImpl
Creates a RemotePackageImpl from an arbitrary RemotePackage.
create() - Static method in class com.android.repository.io.FileOpUtils
The standard way to create a FileOp that interacts with the real filesystem.
createArchivesType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of ArchivesType
createArchivesType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createArchiveType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of ArchiveType
createArchiveType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createChannelRefType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of ChannelRefType
createChannelRefType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createChannelType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of ChannelType
createChannelType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createChannelType(int) - Method in class com.android.repository.impl.meta.CommonFactory
Convenience method to create a Channel with the given numeric id.
createCompleteType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of CompleteType
createCompleteType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createDependenciesType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of DependenciesType
createDependenciesType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createDependencyType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of DependencyType
createDependencyType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createDependencyType(Revision, String) - Method in class com.android.repository.impl.meta.CommonFactory
Creates a Dependency with the given minRevision and path.
createFactory() - Method in interface com.android.repository.api.RepoPackage
Creates a CommonFactory corresponding to the SchemaModule.SchemaModuleVersion of this instance.
createFactory() - Method in class com.android.repository.api.Repository
 
createFactory() - Method in class com.android.repository.impl.generated.generic.v1.GenericDetailsType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.ArchivesType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.ChannelRefType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.ChannelType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.CompleteType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.DependenciesType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.DependencyType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.LicenseRefType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.LicenseType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.LocalPackage
 
createFactory() - Method in class com.android.repository.impl.generated.v1.PatchesType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.PatchType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
createFactory() - Method in class com.android.repository.impl.generated.v1.RepositoryType
 
createFactory() - Method in class com.android.repository.impl.generated.v1.RevisionType
 
createFactory() - Method in class com.android.repository.impl.meta.Archive
Create a CommonFactory corresponding to this instance's SchemaModule.SchemaModuleVersion.
createFactory() - Method in class com.android.repository.impl.sources.generated.v1.GenericSiteType
 
createFactory() - Method in class com.android.repository.impl.sources.generated.v1.SiteListType
 
createFactory() - Method in class com.android.repository.testframework.FakePackage
 
createGenericDetailsType() - Method in class com.android.repository.impl.generated.generic.v1.ObjectFactory
Create an instance of GenericDetailsType
createGenericDetailsType() - Method in class com.android.repository.impl.meta.GenericFactory
 
createGenericSiteType() - Method in class com.android.repository.impl.sources.generated.v1.ObjectFactory
Create an instance of GenericSiteType
createInstaller(RemotePackage, RepoManager, Downloader, FileOp) - Method in interface com.android.repository.api.InstallerFactory
Canonical way to create instances of Installer.
createInstaller(RemotePackage, RepoManager, Downloader, FileOp) - Method in class com.android.repository.impl.installer.AbstractInstallerFactory
 
createLatestFactory() - Method in class com.android.repository.api.SchemaModule
Creates an ObjectFactory for the latest known version of this module.
createLicenseRefType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of LicenseRefType
createLicenseRefType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createLicenseType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of LicenseType
createLicenseType(String, String) - Method in class com.android.repository.impl.meta.CommonFactory
Convenience method to create a license with the given id and value.
createLicenseType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createListeners(RepoPackage) - Method in interface com.android.repository.api.InstallerFactory.StatusChangeListenerFactory
 
createListeners(RepoPackage) - Method in class com.android.repository.testframework.FakeInstallListenerFactory
 
createLocalPackage() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of LocalPackage
createLocalPackage() - Method in class com.android.repository.impl.meta.CommonFactory
 
createNewFile(File) - Method in interface com.android.repository.io.FileOp
Creates a new file.
createNewFile(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
createPatchesType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of PatchesType
createPatchType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of PatchType
createPatchType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createRemotePackage() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of RemotePackage
createRemotePackage() - Method in class com.android.repository.impl.meta.CommonFactory
 
createRepositoryInternal(RepositoryType) - Method in class com.android.repository.impl.generated.generic.v1.ObjectFactory
Create an instance of JAXBElement<RepositoryType>}
createRepositoryInternal(RepositoryType) - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of JAXBElement<RepositoryType>}
createRepositoryType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of RepositoryType
createRepositoryType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createResourceResolver(Set<SchemaModule>, ProgressIndicator) - Static method in class com.android.repository.impl.meta.SchemaModuleUtil
Create an LSResourceResolver that will use the supplied SchemaModules to find an XSD from its namespace.
createRevisionType() - Method in class com.android.repository.impl.generated.v1.ObjectFactory
Create an instance of RevisionType
createRevisionType() - Method in class com.android.repository.impl.meta.CommonFactory
 
createRevisionType(Revision) - Method in class com.android.repository.impl.meta.CommonFactory
Creates a RevisionType from the specified Revision.
createSiteList(SiteListType) - Method in class com.android.repository.impl.sources.generated.v1.ObjectFactory
Create an instance of JAXBElement<SiteListType>}
createSiteListType() - Method in class com.android.repository.impl.sources.generated.v1.ObjectFactory
Create an instance of SiteListType
createUninstaller(LocalPackage, RepoManager, FileOp) - Method in interface com.android.repository.api.InstallerFactory
Canonical way to create instances of Uninstaller.
createUninstaller(LocalPackage, RepoManager, FileOp) - Method in class com.android.repository.impl.installer.AbstractInstallerFactory
 

D

DEFAULT - Static variable in class com.android.repository.api.Channel
The default channel is the most stable.
DEFAULT_EXPIRATION_PERIOD_MS - Static variable in class com.android.repository.api.RepoManager
After loading the repository, this is the amount of time that must pass before we consider it to be stale and need to be reloaded.
DEFAULT_SEPARATOR - Static variable in class com.android.repository.Revision
 
DelegatingProgressIndicator - Class in com.android.repository.api
ProgressIndicator that just delegates all its functionality to another.
DelegatingProgressIndicator(ProgressIndicator) - Constructor for class com.android.repository.api.DelegatingProgressIndicator
 
delete(File) - Method in interface com.android.repository.io.FileOp
Invokes File.delete() on the given file.
delete(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
deleteFileOrFolder(File) - Method in interface com.android.repository.io.FileOp
Helper to delete a file or a directory.
deleteFileOrFolder(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
deleteOnExit(File) - Method in interface com.android.repository.io.FileOp
 
deleteOnExit(File) - Method in class com.android.repository.io.impl.FileOpImpl
 
deleteOnExit(File) - Method in class com.android.repository.testframework.MockFileOp
 
dependencies - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
dependencies - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
Dependencies() - Constructor for class com.android.repository.impl.meta.RepoPackageImpl.Dependencies
 
DependenciesType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
DependenciesType() - Constructor for class com.android.repository.impl.generated.v1.DependenciesType
 
Dependency - Class in com.android.repository.api
A dependency of one package on another.
Dependency() - Constructor for class com.android.repository.api.Dependency
 
dependency - Variable in class com.android.repository.impl.generated.v1.DependenciesType
 
DependencyType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
DependencyType() - Constructor for class com.android.repository.impl.generated.v1.DependencyType
 
displayName - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
displayName - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
displayName - Variable in class com.android.repository.impl.sources.generated.v1.SiteType
 
doComplete(File, ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Subclasses should implement this to do any install/uninstall completion actions required.
doCreateInstaller(RemotePackage, RepoManager, Downloader, FileOp) - Method in class com.android.repository.impl.installer.AbstractInstallerFactory
Subclasses should override this to do the actual creation of an Installer.
doCreateInstaller(RemotePackage, RepoManager, Downloader, FileOp) - Method in class com.android.repository.impl.installer.BasicInstallerFactory
 
doCreateUninstaller(LocalPackage, RepoManager, FileOp) - Method in class com.android.repository.impl.installer.AbstractInstallerFactory
Subclasses should override this to do the actual creation of an Uninstaller.
doCreateUninstaller(LocalPackage, RepoManager, FileOp) - Method in class com.android.repository.impl.installer.BasicInstallerFactory
 
doPrepare(File, ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Subclasses should override this to prepare a package for (un)installation, including downloading, unzipping, etc.
doRun(RepositoryPackages) - Method in interface com.android.repository.api.RepoManager.RepoLoadedCallback
 
downloadAndStream(URL, ProgressIndicator) - Method in interface com.android.repository.api.Downloader
Gets a stream associated with the content at the given URL.
downloadAndStream(URL, ProgressIndicator) - Method in class com.android.repository.impl.downloader.LocalFileAwareDownloader
 
downloadAndStream(URL, ProgressIndicator) - Method in class com.android.repository.testframework.FakeDownloader
 
Downloader - Interface in com.android.repository.api
Implementations provide a general mechanism for downloading files.
downloadFully(URL, ProgressIndicator) - Method in interface com.android.repository.api.Downloader
Downloads the content at the given URL to a temporary file and returns a handle to that file.
downloadFully(URL, File, String, ProgressIndicator) - Method in interface com.android.repository.api.Downloader
Downloads the content at the given URL to the given file.
downloadFully(URL, ProgressIndicator) - Method in class com.android.repository.impl.downloader.LocalFileAwareDownloader
 
downloadFully(URL, File, String, ProgressIndicator) - Method in class com.android.repository.impl.downloader.LocalFileAwareDownloader
 
downloadFully(URL, ProgressIndicator) - Method in class com.android.repository.testframework.FakeDownloader
 
downloadFully(URL, File, String, ProgressIndicator) - Method in class com.android.repository.testframework.FakeDownloader
 
DummyProgressRunner(ProgressIndicator) - Constructor for class com.android.repository.api.RepoManager.DummyProgressRunner
 

E

EMPTY_FILE_ARRAY - Static variable in interface com.android.repository.io.FileOp
 
ensureRealFile(File) - Method in interface com.android.repository.io.FileOp
If in is an in-memory file, write it out as a proper file and return it.
ensureRealFile(File) - Method in class com.android.repository.io.impl.FileOpImpl
 
ensureRealFile(File) - Method in class com.android.repository.testframework.MockFileOp
 
equals(Object) - Method in class com.android.repository.api.Channel
 
equals(Object) - Method in class com.android.repository.api.License
 
equals(Object) - Method in class com.android.repository.api.SchemaModule
 
equals(Object) - Method in class com.android.repository.api.SchemaModule.SchemaModuleVersion
 
equals(Object) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
equals(Object) - Method in class com.android.repository.io.impl.FileOpImpl
 
equals(Object) - Method in class com.android.repository.Revision
Returns true if this revision is equal, including in precision to rhs.
equals(Object) - Method in class com.android.repository.testframework.FakePackage
 
exists(File) - Method in interface com.android.repository.io.FileOp
Invokes File.exists() on the given file.
exists(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 

F

FakeDependency - Class in com.android.repository.testframework
A Dependency for use in FakePackage.
FakeDependency(String) - Constructor for class com.android.repository.testframework.FakeDependency
 
FakeDependency(String, Integer, Integer, Integer) - Constructor for class com.android.repository.testframework.FakeDependency
 
FakeDownloader - Class in com.android.repository.testframework
Fake implementation of Downloader that returns some specified content for specified URLs.
FakeDownloader(MockFileOp) - Constructor for class com.android.repository.testframework.FakeDownloader
 
FakeInstallListenerFactory - Class in com.android.repository.testframework
A dummy install listener factory that just returns the provided list.
FakeInstallListenerFactory(PackageOperation.StatusChangeListener...) - Constructor for class com.android.repository.testframework.FakeInstallListenerFactory
 
FakePackage - Class in com.android.repository.testframework
A fake RepoPackage (implementing both LocalPackage and RemotePackage, for use in unit tests.
FakePackage(String, Revision, Collection<Dependency>) - Constructor for class com.android.repository.testframework.FakePackage
 
FakeProgressIndicator - Class in com.android.repository.testframework
Fake ProgressIndicator that keeps track of the messages that were logged to it, and provides a convenient method for asserting that no errors or warnings occurred.
FakeProgressIndicator() - Constructor for class com.android.repository.testframework.FakeProgressIndicator
 
FakeProgressRunner - Class in com.android.repository.testframework
FakeProgressRunner() - Constructor for class com.android.repository.testframework.FakeProgressRunner
 
FakeRepoManager - Class in com.android.repository.testframework
A fake RepoManager, for use in unit tests.
FakeRepoManager(RepositoryPackages) - Constructor for class com.android.repository.testframework.FakeRepoManager
 
FakeRepositorySourceProvider - Class in com.android.repository.testframework
A RepositorySourceProvider that just returns a given list of sources, for testing.
FakeRepositorySourceProvider(List<RepositorySource>) - Constructor for class com.android.repository.testframework.FakeRepositorySourceProvider
 
FakeSettingsController - Class in com.android.repository.testframework
A simple SettingsController where values can be set directly.
FakeSettingsController(boolean) - Constructor for class com.android.repository.testframework.FakeSettingsController
 
FallbackLocalRepoLoader - Interface in com.android.repository.api
An implementation of a local repository parser to use to try to identify a package if the normal mechanism doesn't.
FallbackRemoteRepoLoader - Interface in com.android.repository.api
An implementation of a remote repo parser to use to try to parse and xml file if the normal mechanism doesn't.
fetchPackages(ProgressIndicator, Downloader, SettingsController) - Method in interface com.android.repository.impl.manager.RemoteRepoLoader
Fetches the remote packages.
fetchPackages(ProgressIndicator, Downloader, SettingsController) - Method in class com.android.repository.impl.manager.RemoteRepoLoaderImpl
 
FileOp - Interface in com.android.repository.io
Wraps some common File operations on files and folders.
FileOpImpl - Class in com.android.repository.io.impl
Wraps some common File operations on files and folders.
FileOpImpl() - Constructor for class com.android.repository.io.impl.FileOpImpl
 
FileOpUtils - Class in com.android.repository.io
Some convenience methods for working with Files/FileOps.
FileSystemFileOp - Class in com.android.repository.io.impl
Base class for FileOp implementations based on a FileSystem.
FileSystemFileOp() - Constructor for class com.android.repository.io.impl.FileSystemFileOp
 

G

generateElement(RemoteListSourceProviderImpl.SiteList) - Method in class com.android.repository.impl.sources.generated.v1.ObjectFactory
 
generateRepository(Repository) - Method in class com.android.repository.impl.generated.generic.v1.ObjectFactory
 
generateRepository(Repository) - Method in class com.android.repository.impl.generated.v1.ObjectFactory
 
generateRepository(Repository) - Method in class com.android.repository.impl.meta.CommonFactory
 
GenericDetailsType - Class in com.android.repository.impl.generated.generic.v1
DO NOT EDIT This file was generated by xjc from generic-01.xsd.
GenericDetailsType() - Constructor for class com.android.repository.impl.generated.generic.v1.GenericDetailsType
 
GenericFactory - Class in com.android.repository.impl.meta
Factory for creating types used by the generic schema.
GenericFactory() - Constructor for class com.android.repository.impl.meta.GenericFactory
 
GenericSiteType - Class in com.android.repository.impl.sources.generated.v1
DO NOT EDIT This file was generated by xjc from repo-sites-common-1.xsd.
GenericSiteType() - Constructor for class com.android.repository.impl.sources.generated.v1.GenericSiteType
 
getAddonSite() - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl.SiteList
 
getAddonSiteOrSysImgSite() - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl.SiteList
 
getAgnosticAbsPath(File) - Method in class com.android.repository.testframework.MockFileOp
 
getAgnosticAbsPath(String) - Method in class com.android.repository.testframework.MockFileOp
 
getAllArchives() - Method in class com.android.repository.impl.meta.RemotePackageImpl
Convenience method to get all the Archives included in this package.
getAllDependencies() - Method in interface com.android.repository.api.RepoPackage
Gets information on what versions of what packages this package depends on.
getAllDependencies() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getAllDependencies() - Method in class com.android.repository.testframework.FakePackage
 
getAllPatches() - Method in class com.android.repository.impl.meta.Archive
Gets all the version-to-version patches for this Archive.
getArchive() - Method in interface com.android.repository.api.RemotePackage
 
getArchive() - Method in class com.android.repository.impl.generated.v1.ArchivesType
 
getArchive() - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
getArchive() - Method in class com.android.repository.impl.meta.RepoPackageImpl.Archives
 
getArchive() - Method in class com.android.repository.testframework.FakePackage
 
getArchiveInternal() - Method in class com.android.repository.impl.generated.v1.ArchivesType
Gets the value of the archive property.
getArchives() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the archives property.
getArchives() - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
getBasedOn() - Method in class com.android.repository.impl.generated.v1.PatchType
Gets the value of the basedOn property.
getBasedOn() - Method in class com.android.repository.impl.meta.Archive.PatchType
Gets the source revision for this patch.
getChannel() - Method in interface com.android.repository.api.RemotePackage
Gets the update channel (e.g.
getChannel() - Method in class com.android.repository.api.Repository
 
getChannel() - Method in interface com.android.repository.api.SettingsController
Gets the current channel.
getChannel() - Method in class com.android.repository.impl.generated.v1.RepositoryType
 
getChannel() - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
getChannel() - Method in class com.android.repository.testframework.FakePackage
 
getChannel() - Method in class com.android.repository.testframework.FakeSettingsController
 
getChannelInternal() - Method in class com.android.repository.impl.generated.v1.RepositoryType
Gets the value of the channel property.
getChannelRef() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the channelRef property.
getChannelRef() - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
getChecksum() - Method in class com.android.repository.impl.generated.v1.CompleteType
Gets the value of the checksum property.
getChecksum() - Method in class com.android.repository.impl.generated.v1.PatchType
Gets the value of the checksum property.
getChecksum() - Method in class com.android.repository.impl.meta.Archive.ArchiveFile
Gets the checksum for the zip.
getCommonModule() - Static method in class com.android.repository.api.RepoManager
Gets the core SchemaModule created by the RepoManager itself.
getComplete() - Method in class com.android.repository.impl.generated.v1.ArchiveType
Gets the value of the complete property.
getComplete() - Method in class com.android.repository.impl.meta.Archive
Gets the full zip of this package.
getConsolidatedPkgs() - Method in class com.android.repository.impl.meta.RepositoryPackages
Returns a map of package install ids to UpdatablePackages representing all known local and remote packages.
getContent(File) - Method in class com.android.repository.testframework.MockFileOp
 
getDependencies() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the dependencies property.
getDependencies() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the dependencies property.
getDependencies() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getDependency() - Method in class com.android.repository.impl.generated.v1.DependenciesType
 
getDependency() - Method in class com.android.repository.impl.meta.RepoPackageImpl.Dependencies
 
getDependencyInternal() - Method in class com.android.repository.impl.generated.v1.DependenciesType
Gets the value of the dependency property.
getDisplayName() - Method in class com.android.repository.api.Channel
Gets the display name for this channel.
getDisplayName() - Method in class com.android.repository.api.RemoteSource
 
getDisplayName() - Method in interface com.android.repository.api.RepoPackage
Gets the user-friendly name of this package.
getDisplayName() - Method in interface com.android.repository.api.RepositorySource
 
getDisplayName() - Method in class com.android.repository.api.SimpleRepositorySource
 
getDisplayName() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the displayName property.
getDisplayName() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the displayName property.
getDisplayName() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getDisplayName() - Method in class com.android.repository.impl.sources.generated.v1.SiteType
Gets the value of the displayName property.
getDisplayName() - Method in class com.android.repository.testframework.FakePackage
 
getDownloader() - Method in class com.android.repository.impl.installer.AbstractInstaller
 
getErrors() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
getExistingFiles() - Method in class com.android.repository.testframework.MockFileOp
Returns the list of paths added using MockFileOp.recordExistingFile(String) and eventually updated by FileSystemFileOp.delete(File) operations.
getExistingFolders() - Method in class com.android.repository.testframework.MockFileOp
Returns the list of folder paths added using MockFileOp.recordExistingFolder(String) and eventually updated FileSystemFileOp.delete(File) or FileSystemFileOp.mkdirs(File) operations.
getFetchError() - Method in class com.android.repository.api.RemoteSource
 
getFetchError() - Method in interface com.android.repository.api.RepositorySource
Gets the error (if any) encountered when fetching content from this source.
getFetchError() - Method in class com.android.repository.api.SimpleRepositorySource
 
getFileName(URL) - Method in class com.android.repository.testframework.FakeDownloader
 
getFileSystem() - Method in class com.android.repository.io.impl.FileOpImpl
 
getFileSystem() - Method in class com.android.repository.io.impl.FileSystemFileOp
Gets the FileSystem this is based on.
getFileSystem() - Method in class com.android.repository.testframework.MockFileOp
 
getForceHttp() - Method in interface com.android.repository.api.SettingsController
 
getForceHttp() - Method in class com.android.repository.testframework.FakeSettingsController
 
getFraction() - Method in class com.android.repository.api.DelegatingProgressIndicator
 
getFraction() - Method in interface com.android.repository.api.ProgressIndicator
 
getFraction() - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
getFraction() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
getGenericModule() - Static method in class com.android.repository.api.RepoManager
Gets the SchemaModule created by the RepoManager that includes the trivial generic typeDetails type.
getHostBits() - Method in class com.android.repository.impl.generated.v1.ArchiveType
Gets the value of the hostBits property.
getHostBits() - Method in class com.android.repository.impl.meta.Archive
Gets the required host bit size (32 or 64), if any
getHostOs() - Method in class com.android.repository.impl.generated.v1.ArchiveType
Gets the value of the hostOs property.
getHostOs() - Method in class com.android.repository.impl.meta.Archive
Gets the required host OS ("windows", "linux", "macosx"), if any.
getId() - Method in class com.android.repository.api.Channel
Gets the string ID for this channel, in the format channel-N.
getId() - Method in class com.android.repository.api.License
Gets the ID of this license, used to refer to it from within a RepoPackage.
getId() - Method in class com.android.repository.impl.generated.v1.ChannelType
Gets the value of the id property.
getId() - Method in class com.android.repository.impl.generated.v1.LicenseType
Gets the value of the id property.
getInfos() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
getInProgressInstallOperation(RepoPackage) - Method in class com.android.repository.api.RepoManager
Gets the previously-registered installer that is currently installing the given package, or null if there is none.
getInProgressInstallOperation(RepoPackage) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getInProgressInstallOperation(RepoPackage) - Method in class com.android.repository.testframework.FakeRepoManager
 
getInstallDir(RepoManager, ProgressIndicator) - Method in interface com.android.repository.api.RemotePackage
Gets the path into which this RemotePackage should be installed.
getInstallDir(RepoManager, ProgressIndicator) - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
getInstallDir(RepoManager, ProgressIndicator) - Method in class com.android.repository.testframework.FakePackage
 
getInstallStatus() - Method in interface com.android.repository.api.PackageOperation
Gets the current PackageOperation.InstallStatus of this installer.
getInstallStatus() - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Gets the current InstallStatus of this installer.
getJvmBits() - Method in class com.android.repository.impl.generated.v1.ArchiveType
Gets the value of the jvmBits property.
getJvmBits() - Method in class com.android.repository.impl.meta.Archive
Gets the required JVM bit size (32 or 64), if any
getLatestNamespace() - Method in class com.android.repository.api.SchemaModule
Gets the namespace of the our latest schema version.
getLatestPackageUpdateTime() - Method in interface com.android.repository.impl.manager.LocalRepoLoader
Gets the update timestamp of the most-recently updated installed package.
getLatestPackageUpdateTime() - Method in class com.android.repository.impl.manager.LocalRepoLoaderImpl
Gets the update timestamp of the most-recently updated installed package.
getLicense() - Method in interface com.android.repository.api.RepoPackage
Gets the License, if any, associated with this package.
getLicense() - Method in class com.android.repository.api.Repository
 
getLicense() - Method in class com.android.repository.impl.generated.v1.RepositoryType
 
getLicense() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getLicense() - Method in class com.android.repository.testframework.FakePackage
 
getLicenseHash() - Method in class com.android.repository.api.License
Returns the hash of the license text, used for persisting acceptance.
getLicenseInternal() - Method in class com.android.repository.impl.generated.v1.RepositoryType
Gets the value of the license property.
getLocal() - Method in class com.android.repository.api.UpdatablePackage
 
getLocalPackage() - Method in class com.android.repository.api.Repository
 
getLocalPackage() - Method in class com.android.repository.impl.generated.v1.RepositoryType
Gets the value of the localPackage property.
getLocalPackages() - Method in class com.android.repository.impl.meta.RepositoryPackages
Returns a map of path (the unique ID of a package) to LocalPackage, for all packages currently installed.
getLocalPackagesForPrefix(String) - Method in class com.android.repository.impl.meta.RepositoryPackages
 
getLocalPackagesHash() - Method in interface com.android.repository.impl.manager.LocalRepoLoader
Gets a hash of the known (suspected) package directories.
getLocalPackagesHash() - Method in class com.android.repository.impl.manager.LocalRepoLoaderImpl
Gets a hash of the known (suspected) package directories.
getLocalPath() - Method in class com.android.repository.api.RepoManager
Gets the path to the local repository root.
getLocalPath() - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getLocalPath() - Method in class com.android.repository.testframework.FakeRepoManager
 
getLocation() - Method in interface com.android.repository.api.LocalPackage
Gets the installed location of this package.
getLocation(ProgressIndicator) - Method in interface com.android.repository.api.PackageOperation
The filesystem path affected by this operation.
getLocation(ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractInstaller
 
getLocation(ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractUninstaller
 
getLocation() - Method in class com.android.repository.impl.meta.LocalPackageImpl
 
getLocation() - Method in class com.android.repository.testframework.FakePackage
 
getMajor() - Method in class com.android.repository.impl.generated.v1.RevisionType
Gets the value of the major property.
getMajor() - Method in class com.android.repository.impl.meta.RevisionType
The major component of the revision.
getMajor() - Method in class com.android.repository.Revision
 
getMicro() - Method in class com.android.repository.impl.generated.v1.RevisionType
Gets the value of the micro property.
getMicro() - Method in class com.android.repository.impl.meta.RevisionType
The micro component of the revision, or null if unspecified.
getMicro() - Method in class com.android.repository.Revision
 
getMinJvmVersion() - Method in class com.android.repository.impl.generated.v1.ArchiveType
Gets the value of the minJvmVersion property.
getMinJvmVersion() - Method in class com.android.repository.impl.meta.Archive
Gets the minimum JVM version needed for this Archive, if any.
getMinor() - Method in class com.android.repository.impl.generated.v1.RevisionType
Gets the value of the minor property.
getMinor() - Method in class com.android.repository.impl.meta.RevisionType
The minor component of the revision, or null if unspecified.
getMinor() - Method in class com.android.repository.Revision
 
getMinRevision() - Method in class com.android.repository.api.Dependency
 
getMinRevision() - Method in class com.android.repository.impl.generated.v1.DependencyType
Gets the value of the minRevision property.
getMinRevision() - Method in class com.android.repository.testframework.FakeDependency
 
getName() - Method in interface com.android.repository.api.PackageOperation
Gets the name of this operation, suitable for using in user-facing messages.
getName() - Method in class com.android.repository.api.RemoteSource
 
getName() - Method in class com.android.repository.impl.installer.AbstractInstaller
 
getName() - Method in class com.android.repository.impl.installer.AbstractUninstaller
 
getNamespace() - Method in class com.android.repository.api.SchemaModule.SchemaModuleVersion
Gets the target namespace of this schema version.
getNamespacePrefix() - Method in class com.android.repository.api.SchemaModule
Gets the namespace prefix (the namespace with the final number (if any) removed) for our latest schema version.
getNamespacePrefix() - Method in class com.android.repository.api.SchemaModule.SchemaModuleVersion
Gets our namespace prefix (the namespace with the final number (if any) removed).
getNamespaceVersionMap() - Method in class com.android.repository.api.SchemaModule
Gets the map of namespaces to SchemaModule.SchemaModuleVersions.
getNewPkgs() - Method in class com.android.repository.impl.meta.RepositoryPackages
Returns the set of new remote packages that are not locally present and that the user could install.
getNewTempDir(String, FileOp) - Static method in class com.android.repository.io.FileOpUtils
Creates a new subdirectory of the system temp directory.
getObjectFactory() - Method in class com.android.repository.api.SchemaModule.SchemaModuleVersion
Gets the ObjectFactory for this schema version.
getPackage() - Method in interface com.android.repository.api.Installer
The package (local or remote) that's being affected.
getPackage() - Method in interface com.android.repository.api.PackageOperation
The package (local or remote) that's being affected.
getPackage() - Method in interface com.android.repository.api.Uninstaller
The package (local or remote) that's being affected.
getPackage() - Method in class com.android.repository.impl.installer.AbstractInstaller
 
getPackage() - Method in class com.android.repository.impl.installer.AbstractUninstaller
 
getPackages() - Method in class com.android.repository.api.RepoManager
Gets the currently-loaded RepositoryPackages.
getPackages(ProgressIndicator) - Method in interface com.android.repository.impl.manager.LocalRepoLoader
Gets our packages, loading them if necessary.
getPackages(ProgressIndicator) - Method in class com.android.repository.impl.manager.LocalRepoLoaderImpl
 
getPackages() - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getPackages() - Method in class com.android.repository.testframework.FakeRepoManager
 
getPatch() - Method in class com.android.repository.impl.generated.v1.PatchesType
 
getPatch(Revision) - Method in class com.android.repository.impl.meta.Archive
 
getPatch() - Method in class com.android.repository.impl.meta.Archive.PatchesType
 
getPatches() - Method in class com.android.repository.impl.generated.v1.ArchiveType
Gets the value of the patches property.
getPatches() - Method in class com.android.repository.impl.meta.Archive
Gets the Archive.PatchesType for this Archive.
getPatchInternal() - Method in class com.android.repository.impl.generated.v1.PatchesType
Gets the value of the patch property.
getPath() - Method in class com.android.repository.api.Dependency
 
getPath() - Method in interface com.android.repository.api.RepoPackage
The install path (which also serves as unique id) for this package.
getPath() - Method in class com.android.repository.api.UpdatablePackage
 
getPath() - Method in class com.android.repository.impl.generated.v1.DependencyType
Gets the value of the path property.
getPath() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the path property.
getPath() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the path property.
getPath() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getPath() - Method in class com.android.repository.testframework.FakeDependency
 
getPath() - Method in class com.android.repository.testframework.FakePackage
 
getPermittedModules() - Method in class com.android.repository.api.RemoteSource
 
getPermittedModules() - Method in interface com.android.repository.api.RepositorySource
Gets the SchemaModules that are allowed to be used to parse XML from this source.
getPermittedModules() - Method in class com.android.repository.api.SimpleRepositorySource
 
getPreview() - Method in class com.android.repository.impl.generated.v1.RevisionType
Gets the value of the preview property.
getPreview() - Method in class com.android.repository.impl.meta.RevisionType
The preview component of the revision, or null if unspecified.
getPreview() - Method in class com.android.repository.Revision
 
getProgressIndicator() - Method in class com.android.repository.testframework.FakeProgressRunner
 
getProvider() - Method in class com.android.repository.api.RemoteSource
 
getProvider() - Method in interface com.android.repository.api.RepositorySource
 
getProvider() - Method in class com.android.repository.api.SimpleRepositorySource
 
getRef() - Method in class com.android.repository.impl.generated.v1.ChannelRefType
Gets the value of the ref property.
getRef() - Method in class com.android.repository.impl.generated.v1.LicenseRefType
Gets the value of the ref property.
getRef() - Method in class com.android.repository.impl.meta.RemotePackageImpl.ChannelRef
 
getRef() - Method in class com.android.repository.impl.meta.RepoPackageImpl.UsesLicense
 
getRemote() - Method in class com.android.repository.api.UpdatablePackage
 
getRemotePackage() - Method in class com.android.repository.api.Repository
 
getRemotePackage() - Method in class com.android.repository.impl.generated.v1.RepositoryType
 
getRemotePackageInternal() - Method in class com.android.repository.impl.generated.v1.RepositoryType
Gets the value of the remotePackage property.
getRemotePackages() - Method in class com.android.repository.impl.meta.RepositoryPackages
Returns a Map from path (the unique ID of a package) to RemotePackage.
getRemotePackagesForPrefix(String) - Method in class com.android.repository.impl.meta.RepositoryPackages
 
getRepoManager() - Method in interface com.android.repository.api.PackageOperation
Gets the RepoManager for which we're installing/uninstalling a package.
getRepoManager() - Method in class com.android.repository.impl.installer.AbstractPackageOperation
 
getRepresentative() - Method in class com.android.repository.api.UpdatablePackage
Gets a RepoPackage (either local or remote) corresponding to this updatable package.
getResourceResolver(ProgressIndicator) - Method in class com.android.repository.api.RepoManager
Gets an LSResourceResolver that can find the XSDs for all versions of the currently-registered SchemaModules by namespace.
getResourceResolver(ProgressIndicator) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getResourceResolver(ProgressIndicator) - Method in class com.android.repository.testframework.FakeRepoManager
 
getRevision() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the revision property.
getRevision() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the revision property.
getRevision() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getSchema(Collection<SchemaModule>, LSResourceResolver, ProgressIndicator) - Static method in class com.android.repository.impl.meta.SchemaModuleUtil
Creates a Schema from a collection of SchemaModules, with a given LSResourceResolver (probably obtained from #createResourceResolver(Collection, ProgressIndicator).
getSchemaModules() - Method in class com.android.repository.api.RepoManager
Gets the currently-registered SchemaModules.
getSchemaModules() - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getSchemaModules() - Method in class com.android.repository.testframework.FakeRepoManager
 
getSeparator() - Method in class com.android.repository.Revision
 
getSite() - Method in class com.android.repository.impl.sources.generated.v1.SiteListType
 
getSite() - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl.SiteList
Gets the parsed list of RemoteSources.
getSiteInternal() - Method in class com.android.repository.impl.sources.generated.v1.SiteListType
Gets the value of the site property.
getSize() - Method in class com.android.repository.impl.generated.v1.CompleteType
Gets the value of the size property.
getSize() - Method in class com.android.repository.impl.generated.v1.PatchType
Gets the value of the size property.
getSize() - Method in class com.android.repository.impl.meta.Archive.ArchiveFile
Gets the size of the zip.
getSource() - Method in interface com.android.repository.api.RemotePackage
 
getSource() - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
getSource() - Method in class com.android.repository.testframework.FakePackage
 
getSourceProviders() - Method in class com.android.repository.api.RepoManager
Gets the currently registered RepositorySourceProviders.
getSourceProviders() - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getSourceProviders() - Method in class com.android.repository.testframework.FakeRepoManager
 
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.api.ConstantSourceProvider
 
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.api.RepoManager
Gets the actual RepositorySources from the registered RepositorySourceProviders.
getSources(Downloader, ProgressIndicator, boolean) - Method in interface com.android.repository.api.RepositorySourceProvider
Gets the RepositorySources from this provider.
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.impl.sources.LocalSourceProvider
Gets the RepositorySources from this provider.
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl
Gets the sources from this provider.
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.testframework.FakeRepoManager
 
getSources(Downloader, ProgressIndicator, boolean) - Method in class com.android.repository.testframework.FakeRepositorySourceProvider
 
getTempDir(String, int) - Static method in class com.android.repository.io.FileOpUtils
Gets the temp dir corresponding to the given base and index.
getTimestampMs() - Method in class com.android.repository.impl.meta.RepositoryPackages
Returns the timestamp (in System.currentTimeMillis() time) when this object was created.
getType() - Method in class com.android.repository.api.License
Gets the type of the license.
getType() - Method in class com.android.repository.impl.generated.v1.LicenseType
Gets the value of the type property.
getTypeDetails() - Method in interface com.android.repository.api.RepoPackage
Gets the TypeDetails for this package.
getTypeDetails() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the typeDetails property.
getTypeDetails() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the typeDetails property.
getTypeDetails() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getTypeDetails() - Method in class com.android.repository.testframework.FakePackage
 
getUpdatedPkgs() - Method in class com.android.repository.impl.meta.RepositoryPackages
Returns the set of packages that have local updates available.
getUrl() - Method in class com.android.repository.api.RemoteSource
 
getUrl() - Method in interface com.android.repository.api.RepositorySource
 
getUrl() - Method in class com.android.repository.api.SimpleRepositorySource
 
getUrl() - Method in class com.android.repository.impl.generated.v1.CompleteType
Gets the value of the url property.
getUrl() - Method in class com.android.repository.impl.generated.v1.PatchType
Gets the value of the url property.
getUrl() - Method in class com.android.repository.impl.meta.Archive.ArchiveFile
Gets the URL to download from.
getUrl() - Method in class com.android.repository.impl.sources.generated.v1.SiteType
Gets the value of the url property.
getUsesLicense() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the usesLicense property.
getUsesLicense() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the usesLicense property.
getUsesLicense() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getValue() - Method in class com.android.repository.api.Channel
Gets the (possibly null) display name for this channel.
getValue() - Method in class com.android.repository.api.License
Gets the text of the license.
getValue() - Method in class com.android.repository.impl.generated.v1.ChannelType
Gets the value of the value property.
getValue() - Method in class com.android.repository.impl.generated.v1.LicenseType
Gets the value of the value property.
getVersion() - Method in interface com.android.repository.api.RepoPackage
Gets the Revision of this package.
getVersion() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
getVersion() - Method in class com.android.repository.testframework.FakePackage
 
getWarnings() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
getXsd() - Method in class com.android.repository.api.SchemaModule.SchemaModuleVersion
Gets the XSD file for this schema version.

H

hash(InputStream, long, ProgressIndicator) - Static method in interface com.android.repository.api.Downloader
Hash the given input stream.
hashCode() - Method in class com.android.repository.api.Channel
 
hashCode() - Method in class com.android.repository.api.License
 
hashCode() - Method in class com.android.repository.api.SchemaModule
 
hashCode() - Method in class com.android.repository.api.SchemaModule.SchemaModuleVersion
 
hashCode() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
hashCode() - Method in class com.android.repository.io.impl.FileOpImpl
 
hashCode() - Method in class com.android.repository.Revision
 
hashCode() - Method in class com.android.repository.testframework.FakePackage
 
hasLocal() - Method in class com.android.repository.api.UpdatablePackage
 
hasRecordedExistingFolder(File) - Method in class com.android.repository.testframework.MockFileOp
Returns true if a folder with the given path has been recorded.
hasRemote() - Method in class com.android.repository.api.UpdatablePackage
 
hostBits - Variable in class com.android.repository.impl.generated.v1.ArchiveType
 
hostOs - Variable in class com.android.repository.impl.generated.v1.ArchiveType
 

I

id - Variable in class com.android.repository.impl.generated.v1.ChannelType
 
id - Variable in class com.android.repository.impl.generated.v1.LicenseType
 
IMPLICIT_MICRO_REV - Static variable in class com.android.repository.Revision
 
IMPLICIT_MINOR_REV - Static variable in class com.android.repository.Revision
 
installBeginning(RepoPackage, PackageOperation) - Method in class com.android.repository.api.RepoManager
Record that the given package is in the process of being installed by the given installer.
installBeginning(RepoPackage, PackageOperation) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
installBeginning(RepoPackage, PackageOperation) - Method in class com.android.repository.testframework.FakeRepoManager
 
installEnded(RepoPackage) - Method in class com.android.repository.api.RepoManager
Record that the given package is no longer in the process of being installed (that is, install completed either successfully or unsuccessfully).
installEnded(RepoPackage) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
installEnded(RepoPackage) - Method in class com.android.repository.testframework.FakeRepoManager
 
Installer - Interface in com.android.repository.api
An installer for SDK components.
INSTALLER_DIR_FN - Static variable in class com.android.repository.util.InstallerUtil
 
InstallerFactory - Interface in com.android.repository.api
A factory for PackageOperations.
InstallerFactory.StatusChangeListenerFactory - Interface in com.android.repository.api
A class that can create a list of appropriate listeners for an installer/uninstaller.
InstallerUtil - Class in com.android.repository.util
Utility methods for PackageOperation implementations.
InstallerUtil() - Constructor for class com.android.repository.util.InstallerUtil
 
isCanceled() - Method in class com.android.repository.api.DelegatingProgressIndicator
 
isCanceled() - Method in interface com.android.repository.api.ProgressIndicator
 
isCanceled() - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
isCanceled() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
isCancellable() - Method in class com.android.repository.api.DelegatingProgressIndicator
 
isCancellable() - Method in interface com.android.repository.api.ProgressIndicator
 
isCancellable() - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
isCancellable() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
isCompatible() - Method in class com.android.repository.impl.meta.Archive
 
isDirectory(File) - Method in interface com.android.repository.io.FileOp
Invokes File.isDirectory() on the given file.
isDirectory(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
isEnabled() - Method in class com.android.repository.api.RemoteSource
Currently not implemented.
isEnabled() - Method in interface com.android.repository.api.RepositorySource
 
isEnabled() - Method in class com.android.repository.api.SimpleRepositorySource
 
isFile(File) - Method in interface com.android.repository.io.FileOp
Invokes File.isFile() on the given file.
isFile(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
isIndeterminate() - Method in class com.android.repository.api.DelegatingProgressIndicator
 
isIndeterminate() - Method in interface com.android.repository.api.ProgressIndicator
 
isIndeterminate() - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
isIndeterminate() - Method in class com.android.repository.testframework.FakeProgressIndicator
 
isModifiable() - Method in class com.android.repository.api.ConstantSourceProvider
 
isModifiable() - Method in interface com.android.repository.api.RepositorySourceProvider
 
isModifiable() - Method in class com.android.repository.impl.sources.LocalSourceProvider
Whether this source is modifiable.
isModifiable() - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl
Not supported by this provider.
isModifiable() - Method in class com.android.repository.testframework.FakeRepositorySourceProvider
 
isObsolete() - Method in class com.android.repository.impl.generated.v1.LocalPackage
Gets the value of the obsolete property.
isObsolete() - Method in class com.android.repository.impl.generated.v1.RemotePackage
Gets the value of the obsolete property.
isObsolete() - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
isPreview() - Method in class com.android.repository.Revision
 
isSameFile(File, File) - Method in interface com.android.repository.io.FileOp
Checks whether 2 binary files are the same.
isSameFile(File, File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
isUpdate() - Method in class com.android.repository.api.UpdatablePackage
 
isValidChecksum(String) - Method in class com.android.repository.impl.generated.v1.CompleteType
 
isValidChecksum(String) - Method in class com.android.repository.impl.generated.v1.PatchType
 
isValidHostBits(String) - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
isValidHostOs(String) - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
isValidJvmBits(String) - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
isWindows() - Method in interface com.android.repository.io.FileOp
Returns true if we're on windows, false otherwise.
isWindows() - Method in class com.android.repository.io.impl.FileSystemFileOp
 

J

jvmBits - Variable in class com.android.repository.impl.generated.v1.ArchiveType
 

L

lastModified(File) - Method in interface com.android.repository.io.FileOp
Returns the lastModified attribute of the file.
lastModified(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
length(File) - Method in interface com.android.repository.io.FileOp
Invokes File.length() on the given file.
length(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
License - Class in com.android.repository.api
License text, with an optional license XML reference.
License() - Constructor for class com.android.repository.api.License
 
license - Variable in class com.android.repository.impl.generated.v1.RepositoryType
 
LicenseRefType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
LicenseRefType() - Constructor for class com.android.repository.impl.generated.v1.LicenseRefType
 
LicenseType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
LicenseType() - Constructor for class com.android.repository.impl.generated.v1.LicenseType
 
list(File, FilenameFilter) - Method in interface com.android.repository.io.FileOp
 
list(File, FilenameFilter) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
listFiles(File) - Method in interface com.android.repository.io.FileOp
Invokes File.listFiles() on the given file.
listFiles(File, FilenameFilter) - Method in interface com.android.repository.io.FileOp
 
listFiles(File, FilenameFilter) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
listFiles(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
load(long, List<RepoManager.RepoLoadedCallback>, List<RepoManager.RepoLoadedCallback>, List<Runnable>, ProgressRunner, Downloader, SettingsController, boolean) - Method in class com.android.repository.api.RepoManager
Load the local and remote repositories.
load(long, List<RepoManager.RepoLoadedCallback>, List<RepoManager.RepoLoadedCallback>, List<Runnable>, ProgressRunner, Downloader, SettingsController, boolean) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
load(long, List<RepoManager.RepoLoadedCallback>, List<RepoManager.RepoLoadedCallback>, List<Runnable>, ProgressRunner, Downloader, SettingsController, boolean) - Method in class com.android.repository.testframework.FakeRepoManager
 
loadSynchronously(long, ProgressIndicator, Downloader, SettingsController) - Method in class com.android.repository.api.RepoManager
Load the local and remote repositories synchronously.
LocalFileAwareDownloader - Class in com.android.repository.impl.downloader
Decorator around another Downloader that handles file:/// URLs.
LocalFileAwareDownloader(Downloader) - Constructor for class com.android.repository.impl.downloader.LocalFileAwareDownloader
 
LocalPackage - Interface in com.android.repository.api
A locally-installed package.
LocalPackage - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
LocalPackage() - Constructor for class com.android.repository.impl.generated.v1.LocalPackage
 
localPackage - Variable in class com.android.repository.impl.generated.v1.RepositoryType
 
LocalPackageImpl - Class in com.android.repository.impl.meta
Implementation of LocalPackage that can be saved and loaded using JAXB.
LocalPackageImpl() - Constructor for class com.android.repository.impl.meta.LocalPackageImpl
 
LocalRepoLoader - Interface in com.android.repository.impl.manager
A facility for loading RepoPackages that are installed locally.
LocalRepoLoaderImpl - Class in com.android.repository.impl.manager
A utility class that finds LocalPackages under a given path based on package.xml files.
LocalRepoLoaderImpl(File, RepoManager, FallbackLocalRepoLoader, FileOp) - Constructor for class com.android.repository.impl.manager.LocalRepoLoaderImpl
Constructor.
LocalSourceProvider - Class in com.android.repository.impl.sources
Reads RepositorySources saved locally.
LocalSourceProvider(File, Collection<SchemaModule>, FileOp) - Constructor for class com.android.repository.impl.sources.LocalSourceProvider
Create a new LocalSourceProvider.
logError(String, Throwable) - Method in class com.android.repository.api.ConsoleProgressIndicator
 
logError(String) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
logError(String, Throwable) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
logError(String) - Method in interface com.android.repository.api.ProgressIndicator
Logs an error.
logError(String, Throwable) - Method in interface com.android.repository.api.ProgressIndicator
Logs an error, including a stacktrace.
logError(String) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
logError(String, Throwable) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
logError(String) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
logError(String, Throwable) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
logInfo(String) - Method in class com.android.repository.api.ConsoleProgressIndicator
 
logInfo(String) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
logInfo(String) - Method in interface com.android.repository.api.ProgressIndicator
Logs an info message.
logInfo(String) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
logInfo(String) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
logWarning(String, Throwable) - Method in class com.android.repository.api.ConsoleProgressIndicator
 
logWarning(String) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
logWarning(String, Throwable) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
logWarning(String) - Method in interface com.android.repository.api.ProgressIndicator
Logs a warning.
logWarning(String, Throwable) - Method in interface com.android.repository.api.ProgressIndicator
Logs a warning, including a stacktrace.
logWarning(String) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
logWarning(String, Throwable) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
logWarning(String) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
logWarning(String, Throwable) - Method in class com.android.repository.testframework.FakeProgressIndicator
 

M

major - Variable in class com.android.repository.impl.generated.v1.RevisionType
 
makeRelative(File, File, FileOp) - Static method in class com.android.repository.io.FileOpUtils
Computes a relative path from "toBeRelative" relative to "baseDir".
markInvalid() - Method in class com.android.repository.api.RepoManager
Causes cached results to be considered expired.
markInvalid() - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
markInvalid() - Method in class com.android.repository.testframework.FakeRepoManager
 
markLocalCacheInvalid() - Method in class com.android.repository.api.RepoManager
Causes the cached results of the local repositories to be considered expired.
markLocalCacheInvalid() - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
markLocalCacheInvalid() - Method in class com.android.repository.testframework.FakeRepoManager
 
marshal(JAXBElement, Collection<SchemaModule>, OutputStream, LSResourceResolver, ProgressIndicator) - Static method in class com.android.repository.impl.meta.SchemaModuleUtil
Transform the given JAXBElement into xml, using JAXB and the schemas provided by the given SchemaModules.
marshal(String) - Method in class com.android.repository.impl.meta.TrimStringAdapter
 
mFop - Variable in class com.android.repository.impl.installer.AbstractPackageOperation
 
micro - Variable in class com.android.repository.impl.generated.v1.RevisionType
 
minJvmVersion - Variable in class com.android.repository.impl.generated.v1.ArchiveType
 
minor - Variable in class com.android.repository.impl.generated.v1.RevisionType
 
minRevision - Variable in class com.android.repository.impl.generated.v1.DependencyType
 
MISSING_MAJOR_REV - Static variable in class com.android.repository.Revision
 
mIsWindows - Variable in class com.android.repository.io.impl.FileSystemFileOp
 
mkdirs(File) - Method in interface com.android.repository.io.FileOp
Invokes File.mkdirs() on the given file.
mkdirs(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
MockFileOp - Class in com.android.repository.testframework
Mock version of FileOpImpl that wraps some common File operations on files and folders.
MockFileOp() - Constructor for class com.android.repository.testframework.MockFileOp
 
mWrapped - Variable in class com.android.repository.api.DelegatingProgressIndicator
 

N

newFileInputStream(File) - Method in interface com.android.repository.io.FileOp
Creates a new InputStream for the given file.
newFileInputStream(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
newFileOutputStream(File) - Method in interface com.android.repository.io.FileOp
Creates a new OutputStream for the given file.
newFileOutputStream(File, boolean) - Method in interface com.android.repository.io.FileOp
Creates a new OutputStream for the given file.
newFileOutputStream(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
newFileOutputStream(File, boolean) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
NOT_A_PREVIEW - Static variable in class com.android.repository.Revision
 
NOT_SPECIFIED - Static variable in class com.android.repository.Revision
 

O

ObjectFactory - Class in com.android.repository.impl.generated.generic.v1
DO NOT EDIT This file was generated by xjc from generic-01.xsd.
ObjectFactory() - Constructor for class com.android.repository.impl.generated.generic.v1.ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.android.repository.impl.generated.generic.v1
ObjectFactory - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
ObjectFactory() - Constructor for class com.android.repository.impl.generated.v1.ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.android.repository.impl.generated.v1
ObjectFactory - Class in com.android.repository.impl.sources.generated.v1
DO NOT EDIT This file was generated by xjc from repo-sites-common-1.xsd.
ObjectFactory() - Constructor for class com.android.repository.impl.sources.generated.v1.ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.android.repository.impl.sources.generated.v1
obsolete() - Method in interface com.android.repository.api.RepoPackage
Whether this package is obsolete.
obsolete - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
obsolete - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
obsolete() - Method in class com.android.repository.impl.meta.RepoPackageImpl
Convenience method for getting the obsolete status, defaulting null from the underlying RepoPackageImpl.isObsolete() to false.
obsolete() - Method in class com.android.repository.testframework.FakePackage
 
OS_OVERRIDE_ENV_VAR - Static variable in class com.android.repository.impl.meta.Archive
Environment variable used to override the detected OS.

P

PACKAGE_XML_FN - Static variable in class com.android.repository.impl.manager.LocalRepoLoaderImpl
The name of the package metadata file we can read.
PackageOperation - Interface in com.android.repository.api
An install or uninstall operation that affects the current SDK state.
PackageOperation.InstallStatus - Enum in com.android.repository.api
Statuses of in-progress operations.
PackageOperation.StatusChangeListener - Interface in com.android.repository.api
A listener that will be called when the status of this installer changes.
PackageOperation.StatusChangeListenerException - Exception in com.android.repository.api
parseLegacyLocalPackage(File, ProgressIndicator) - Method in interface com.android.repository.api.FallbackLocalRepoLoader
Try to find a package at the given location.
parseLegacyXml(RepositorySource, SettingsController, ProgressIndicator) - Method in interface com.android.repository.api.FallbackRemoteRepoLoader
Parses an xml file into RemotePackages.
parseRevision(String, Revision.Precision) - Static method in class com.android.repository.Revision
Parses a string of format "major.minor.micro rcPreview" and returns a new Revision for it.
parseRevision(String) - Static method in class com.android.repository.Revision
Parses a string of format "major.minor.micro rcPreview" and returns a new Revision for it.
patch - Variable in class com.android.repository.impl.generated.v1.PatchesType
 
patches - Variable in class com.android.repository.impl.generated.v1.ArchiveType
 
PatchesType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
PatchesType() - Constructor for class com.android.repository.impl.generated.v1.PatchesType
 
PatchesType() - Constructor for class com.android.repository.impl.meta.Archive.PatchesType
 
PatchType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
PatchType() - Constructor for class com.android.repository.impl.generated.v1.PatchType
 
PatchType() - Constructor for class com.android.repository.impl.meta.Archive.PatchType
 
path - Variable in class com.android.repository.impl.generated.v1.DependencyType
 
path - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
path - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
PATH_SEPARATOR - Static variable in interface com.android.repository.api.RepoPackage
 
PENDING_PACKAGE_XML_FN - Static variable in class com.android.repository.util.InstallerUtil
The name of the package metadata file for a package in the process of being installed.
prepare(ProgressIndicator) - Method in interface com.android.repository.api.PackageOperation
Perform any preparatory work that can be done in the background prior to (un)installing a package.
prepare(ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Writes information used to restore the operation state if needed, then calls AbstractPackageOperation.doPrepare(File, ProgressIndicator)
preview - Variable in class com.android.repository.impl.generated.v1.RevisionType
 
ProgressIndicator - Interface in com.android.repository.api
A progress indicator and logger.
ProgressIndicatorAdapter - Class in com.android.repository.api
A trivial implementation of ProgressIndicator that does nothing.
ProgressIndicatorAdapter() - Constructor for class com.android.repository.api.ProgressIndicatorAdapter
 
ProgressRunner - Interface in com.android.repository.api
An interface for facilities that can run tasks, synchronously or asynchronously, and allow them to show their progress using a ProgressIndicator.
ProgressRunner.ProgressRunnable - Interface in com.android.repository.api
Interface for tasks that can show their progress using a ProgressIndicator.

R

readPendingPackageXml(File, RepoManager, FileOp, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
 
recordExistingFile(File) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute file path.
recordExistingFile(String) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute file path.
recordExistingFile(String, byte[]) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute file path and its input stream content.
recordExistingFile(String, String) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute file path and its input stream content.
recordExistingFile(String, long, byte[]) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute file path and its input stream content.
recordExistingFile(String, long, String) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute file path and its input stream content.
recordExistingFolder(File) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute folder path.
recordExistingFolder(String) - Method in class com.android.repository.testframework.MockFileOp
Records a new absolute folder path.
recursiveCopy(File, File, FileOp, ProgressIndicator) - Static method in class com.android.repository.io.FileOpUtils
Copies a file or directory tree to the given location.
ref - Variable in class com.android.repository.impl.generated.v1.ChannelRefType
 
ref - Variable in class com.android.repository.impl.generated.v1.LicenseRefType
 
refresh() - Method in interface com.android.repository.api.FallbackLocalRepoLoader
Refreshes the loader's internal state if necessary.
registerLocalChangeListener(RepoManager.RepoLoadedCallback) - Method in class com.android.repository.api.RepoManager
Registers a listener that will be called whenever the local packages are reloaded and have changed.
registerLocalChangeListener(RepoManager.RepoLoadedCallback) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
registerLocalChangeListener(RepoManager.RepoLoadedCallback) - Method in class com.android.repository.testframework.FakeRepoManager
 
registerRemoteChangeListener(RepoManager.RepoLoadedCallback) - Method in class com.android.repository.api.RepoManager
Register a listener that will be called whenever the remote packages are reloaded and have changed.
registerRemoteChangeListener(RepoManager.RepoLoadedCallback) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
registerRemoteChangeListener(RepoManager.RepoLoadedCallback) - Method in class com.android.repository.testframework.FakeRepoManager
 
registerSchemaModule(SchemaModule) - Method in class com.android.repository.api.RepoManager
Register an SchemaModule that can be used when parsing XML for this repo.
registerSchemaModule(SchemaModule) - Method in class com.android.repository.impl.manager.RepoManagerImpl
Register an SchemaModule that can be used when parsing XML for this repo.
registerSchemaModule(SchemaModule) - Method in class com.android.repository.testframework.FakeRepoManager
 
registerSourceProvider(RepositorySourceProvider) - Method in class com.android.repository.api.RepoManager
Adds a RepositorySourceProvider from which to get RepositorySources from which to download lists of available repository packages.
registerSourceProvider(RepositorySourceProvider) - Method in class com.android.repository.impl.manager.RepoManagerImpl
Adds a RepositorySourceProvider from which to get RepositorySources from which to download lists of available repository packages.
registerSourceProvider(RepositorySourceProvider) - Method in class com.android.repository.testframework.FakeRepoManager
 
registerStateChangeListener(PackageOperation.StatusChangeListener) - Method in interface com.android.repository.api.PackageOperation
Registers a listener that will be called when the PackageOperation.InstallStatus of this installer changes.
registerStateChangeListener(PackageOperation.StatusChangeListener) - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Registers a listener that will be called when the InstallStatus of this installer changes.
registerUrl(URL, byte[]) - Method in class com.android.repository.testframework.FakeDownloader
 
registerUrl(URL, InputStream) - Method in class com.android.repository.testframework.FakeDownloader
 
reloadLocalIfNeeded(ProgressIndicator) - Method in class com.android.repository.api.RepoManager
Check to see if there have been any changes to the local repo since the last load.
reloadLocalIfNeeded(ProgressIndicator) - Method in class com.android.repository.impl.manager.RepoManagerImpl
 
reloadLocalIfNeeded(ProgressIndicator) - Method in class com.android.repository.testframework.FakeRepoManager
 
RemoteListSourceProvider - Class in com.android.repository.api
An RepositorySourceProvider that retrieves RepositorySources from a remote location.
RemoteListSourceProvider() - Constructor for class com.android.repository.api.RemoteListSourceProvider
 
RemoteListSourceProvider.GenericSite - Interface in com.android.repository.api
 
RemoteListSourceProviderImpl - Class in com.android.repository.impl.sources
A RepositorySourceProvider that downloads a list of sources.
RemoteListSourceProviderImpl(String, SchemaModule, Map<Class<? extends RepositorySource>, Collection<SchemaModule>>) - Constructor for class com.android.repository.impl.sources.RemoteListSourceProviderImpl
Create a RemoteListSourceProviderImpl
RemoteListSourceProviderImpl.SiteList - Class in com.android.repository.impl.sources
Superclass for xjc-created JAXB-usable classes into which a site list can be unmarshalled.
RemotePackage - Interface in com.android.repository.api
An package available for download.
RemotePackage - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
RemotePackage() - Constructor for class com.android.repository.impl.generated.v1.RemotePackage
 
remotePackage - Variable in class com.android.repository.impl.generated.v1.RepositoryType
 
RemotePackageImpl - Class in com.android.repository.impl.meta
An implementation of RemotePackage that can be created as part of a Repository by JAXB.
RemotePackageImpl() - Constructor for class com.android.repository.impl.meta.RemotePackageImpl
 
RemotePackageImpl.ChannelRef - Class in com.android.repository.impl.meta
 
RemoteRepoLoader - Interface in com.android.repository.impl.manager
A facility for loading RepoPackages that are available for download.
RemoteRepoLoaderImpl - Class in com.android.repository.impl.manager
Utility class that loads Repositorys from RepositorySources.
RemoteRepoLoaderImpl(Collection<RepositorySourceProvider>, LSResourceResolver, FallbackRemoteRepoLoader) - Constructor for class com.android.repository.impl.manager.RemoteRepoLoaderImpl
Constructor
RemoteSource - Class in com.android.repository.api
A RepositorySource that was created by a RemoteListSourceProvider and superclass for xjc-generated classes used to parse the sites list xml.
RemoteSource() - Constructor for class com.android.repository.api.RemoteSource
 
removeSource(RepositorySource) - Method in class com.android.repository.api.ConstantSourceProvider
 
removeSource(RepositorySource) - Method in interface com.android.repository.api.RepositorySourceProvider
Remove the given source from this provider, if this provider is editable.
removeSource(RepositorySource) - Method in class com.android.repository.impl.sources.LocalSourceProvider
Remove the specified source from this provider.
removeSource(RepositorySource) - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl
Not supported by this provider.
removeSource(RepositorySource) - Method in class com.android.repository.testframework.FakeRepositorySourceProvider
 
renameTo(File, File) - Method in interface com.android.repository.io.FileOp
Invokes File.renameTo(File) on the given files.
renameTo(File, File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
RepoManager - Class in com.android.repository.api
Primary interface for interacting with repository packages.
RepoManager() - Constructor for class com.android.repository.api.RepoManager
 
RepoManager.DummyProgressRunner - Class in com.android.repository.api
 
RepoManager.RepoLoadedCallback - Interface in com.android.repository.api
Callback for when repository load is completed/partially completed.
RepoManagerImpl - Class in com.android.repository.impl.manager
Main implementation of RepoManager.
RepoManagerImpl(FileOp) - Constructor for class com.android.repository.impl.manager.RepoManagerImpl
Create a new RepoManagerImpl.
RepoPackage - Interface in com.android.repository.api
A local or remote repository package, uniquely identified by it's version and path.
RepoPackageImpl - Class in com.android.repository.impl.meta
A local or remote RepoPackage.
RepoPackageImpl() - Constructor for class com.android.repository.impl.meta.RepoPackageImpl
 
RepoPackageImpl.Archives - Class in com.android.repository.impl.meta
List of Archives.
RepoPackageImpl.Dependencies - Class in com.android.repository.impl.meta
List of Dependencys.
RepoPackageImpl.UsesLicense - Class in com.android.repository.impl.meta
Reference to a License.
Repository - Class in com.android.repository.api
Parsed representation of a repository xml file, including packages and licenses.
Repository() - Constructor for class com.android.repository.api.Repository
 
RepositoryPackages - Class in com.android.repository.impl.meta
Store of currently-known local and remote packages, in convenient forms.
RepositoryPackages() - Constructor for class com.android.repository.impl.meta.RepositoryPackages
 
RepositoryPackages(Map<String, LocalPackage>, Map<String, RemotePackage>) - Constructor for class com.android.repository.impl.meta.RepositoryPackages
 
RepositorySource - Interface in com.android.repository.api
A site from which repository XML files can be downloaded.
RepositorySourceProvider - Interface in com.android.repository.api
A source of RepositorySources.
RepositoryType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
RepositoryType() - Constructor for class com.android.repository.impl.generated.v1.RepositoryType
 
reset() - Method in class com.android.repository.testframework.MockFileOp
Resets the internal state, as if the object had been newly created.
resolveCompleteArchiveUrl(RemotePackage, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
Returns a URL corresponding to Archive.getComplete() of the given RemotePackage.
resolveUrl(String, RemotePackage, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
 
retainTempDirs(Set<File>, String, FileOp) - Static method in class com.android.repository.io.FileOpUtils
Delete all temp dirs with the given base except for those in retain.
revision - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
revision - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
Revision - Class in com.android.repository
A Revision which distinguishes between x and x.0, x.0.0, x.y.0, etc; it basically keeps track of the precision of the revision string.
Revision(int) - Constructor for class com.android.repository.Revision
Creates a new Revision with the specified major revision and no other revision components.
Revision(int, int) - Constructor for class com.android.repository.Revision
Creates a new Revision with the specified major and minor revision components and no others.
Revision(Revision) - Constructor for class com.android.repository.Revision
Creates a copy of the specified Revision.
Revision(int, int, int) - Constructor for class com.android.repository.Revision
Creates a new Revision with the specified major, minor, and micro revision components and no preview component.
Revision(int, int, int, int) - Constructor for class com.android.repository.Revision
Creates a new Revision with the specified components.
Revision(int, Integer, Integer, Integer) - Constructor for class com.android.repository.Revision
Creates a new Revision with the specified components.
Revision.Precision - Enum in com.android.repository
 
Revision.PreviewComparison - Enum in com.android.repository
Indicates how to compare the preview field in Revision.compareTo(Revision, PreviewComparison)
RevisionType - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
RevisionType() - Constructor for class com.android.repository.impl.generated.v1.RevisionType
 
RevisionType - Class in com.android.repository.impl.meta
Superclass for xjc-generated revision class.
RevisionType() - Constructor for class com.android.repository.impl.meta.RevisionType
 
run(ProgressIndicator, ProgressRunner) - Method in interface com.android.repository.api.ProgressRunner.ProgressRunnable
 
runAsyncWithProgress(ProgressRunner.ProgressRunnable) - Method in interface com.android.repository.api.ProgressRunner
Runs a task synchronously.
runAsyncWithProgress(ProgressRunner.ProgressRunnable) - Method in class com.android.repository.api.RepoManager.DummyProgressRunner
 
runAsyncWithProgress(ProgressRunner.ProgressRunnable) - Method in class com.android.repository.testframework.FakeProgressRunner
 
runSyncWithoutProgress(Runnable) - Method in interface com.android.repository.api.ProgressRunner
Runs a Runnable synchronously.
runSyncWithoutProgress(Runnable) - Method in class com.android.repository.api.RepoManager.DummyProgressRunner
 
runSyncWithoutProgress(Runnable) - Method in class com.android.repository.testframework.FakeProgressRunner
 
runSyncWithProgress(ProgressRunner.ProgressRunnable) - Method in interface com.android.repository.api.ProgressRunner
Runs a task asynchronously.
runSyncWithProgress(ProgressRunner.ProgressRunnable) - Method in class com.android.repository.api.RepoManager.DummyProgressRunner
 
runSyncWithProgress(ProgressRunner.ProgressRunnable) - Method in class com.android.repository.testframework.FakeProgressRunner
 

S

safeParseRevision(String) - Static method in class com.android.repository.Revision
A safe version of Revision.parseRevision(java.lang.String, com.android.repository.Revision.Precision) that does not throw, but instead returns an unspecified revision if it fails to parse.
safeRecursiveOverwrite(File, File, FileOp, ProgressIndicator) - Static method in class com.android.repository.io.FileOpUtils
Moves a file or directory from one location to another.
save(ProgressIndicator) - Method in class com.android.repository.api.ConstantSourceProvider
 
save(ProgressIndicator) - Method in interface com.android.repository.api.RepositorySourceProvider
If any changes have been made, persist them.
save(ProgressIndicator) - Method in class com.android.repository.impl.sources.LocalSourceProvider
Saves any changes in the sources to the specified file.
save(ProgressIndicator) - Method in class com.android.repository.impl.sources.RemoteListSourceProviderImpl
Not supported by this provider.
save(ProgressIndicator) - Method in class com.android.repository.testframework.FakeRepositorySourceProvider
 
SchemaModule - Class in com.android.repository.api
Represents a versioned set of generated classes corresponding to a versioned XML schema.
SchemaModule(String, String, Class) - Constructor for class com.android.repository.api.SchemaModule
 
SchemaModule.SchemaModuleVersion - Class in com.android.repository.api
Represents a single version of a schema, including a single XSD and a single ObjectFactory.
SchemaModuleUtil - Class in com.android.repository.impl.meta
Utilities for working with SchemaModules, including marshalling and unmarshalling with JAXB.
SchemaModuleUtil() - Constructor for class com.android.repository.impl.meta.SchemaModuleUtil
 
SchemaModuleVersion(Class, String) - Constructor for class com.android.repository.api.SchemaModule.SchemaModuleVersion
 
setAccepted(File, FileOp) - Method in class com.android.repository.api.License
Marks this license as accepted.
setArchives(RepoPackageImpl.Archives) - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
setArchives(RepoPackageImpl.Archives) - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
setArchivesInternal(ArchivesType) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the archives property.
setBasedOn(RevisionType) - Method in class com.android.repository.impl.generated.v1.PatchType
 
setBasedOn(RevisionType) - Method in class com.android.repository.impl.meta.Archive.PatchType
Sets the source revision for this patch.
setBasedOnInternal(RevisionType) - Method in class com.android.repository.impl.generated.v1.PatchType
Sets the value of the basedOn property.
setCancellable(boolean) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
setCancellable(boolean) - Method in interface com.android.repository.api.ProgressIndicator
Sets whether the user should be able to cancel this operation.
setCancellable(boolean) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
setCancellable(boolean) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
setChannel(Channel) - Method in class com.android.repository.impl.meta.RemotePackageImpl
Convenience method to add a reference to the given channel to this package.
setChannel(Channel) - Method in class com.android.repository.testframework.FakePackage
 
setChannel(Channel) - Method in class com.android.repository.testframework.FakeSettingsController
 
setChannelRef(RemotePackageImpl.ChannelRef) - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
setChannelRef(RemotePackageImpl.ChannelRef) - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
setChannelRefInternal(ChannelRefType) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the channelRef property.
setChecksum(String) - Method in class com.android.repository.impl.generated.v1.CompleteType
Sets the value of the checksum property.
setChecksum(String) - Method in class com.android.repository.impl.generated.v1.PatchType
Sets the value of the checksum property.
setChecksum(String) - Method in class com.android.repository.impl.meta.Archive.ArchiveFile
Sets the checksum for this zip.
setComplete(Archive.CompleteType) - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
setComplete(Archive.CompleteType) - Method in class com.android.repository.impl.meta.Archive
Sets the full zip of this package.
setCompleteInternal(CompleteType) - Method in class com.android.repository.impl.generated.v1.ArchiveType
Sets the value of the complete property.
setCompleteUrl(String) - Method in class com.android.repository.testframework.FakePackage
 
setDependencies(RepoPackageImpl.Dependencies) - Method in class com.android.repository.impl.generated.v1.LocalPackage
 
setDependencies(RepoPackageImpl.Dependencies) - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
setDependencies(RepoPackageImpl.Dependencies) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setDependenciesInternal(DependenciesType) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the dependencies property.
setDependenciesInternal(DependenciesType) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the dependencies property.
setDisplayName(String) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the displayName property.
setDisplayName(String) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the displayName property.
setDisplayName(String) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setDisplayName(String) - Method in class com.android.repository.impl.sources.generated.v1.SiteType
Sets the value of the displayName property.
setEnabled(boolean) - Method in class com.android.repository.api.RemoteSource
Currently not implemented.
setEnabled(boolean) - Method in interface com.android.repository.api.RepositorySource
 
setEnabled(boolean) - Method in class com.android.repository.api.SimpleRepositorySource
 
setExecutablePermission(File) - Method in interface com.android.repository.io.FileOp
Sets the executable Unix permission (+x) on a file or folder.
setExecutablePermission(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
setFallbackLocalRepoLoader(FallbackLocalRepoLoader) - Method in class com.android.repository.api.RepoManager
Sets the FallbackLocalRepoLoader to use when scanning the local repository for packages.
setFallbackLocalRepoLoader(FallbackLocalRepoLoader) - Method in class com.android.repository.impl.manager.RepoManagerImpl
Sets the FallbackLocalRepoLoader to use when scanning the local repository for packages.
setFallbackLocalRepoLoader(FallbackLocalRepoLoader) - Method in class com.android.repository.testframework.FakeRepoManager
 
setFallbackRemoteRepoLoader(FallbackRemoteRepoLoader) - Method in class com.android.repository.api.RepoManager
Sets the FallbackRemoteRepoLoader to try when we encounter a remote xml file that the RepoManger can't read.
setFallbackRemoteRepoLoader(FallbackRemoteRepoLoader) - Method in class com.android.repository.impl.manager.RepoManagerImpl
Sets the FallbackRemoteRepoLoader to try when we encounter a remote xml file that the RepoManger can't read.
setFallbackRemoteRepoLoader(FallbackRemoteRepoLoader) - Method in class com.android.repository.testframework.FakeRepoManager
 
setFetchError(String) - Method in class com.android.repository.api.RemoteSource
 
setFetchError(String) - Method in interface com.android.repository.api.RepositorySource
If an error was encountered loading from this source, it can be set here for display to the user.
setFetchError(String) - Method in class com.android.repository.api.SimpleRepositorySource
 
setForceHttp(boolean) - Method in interface com.android.repository.api.SettingsController
 
setForceHttp(boolean) - Method in class com.android.repository.testframework.FakeSettingsController
 
setFraction(double) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
setFraction(double) - Method in interface com.android.repository.api.ProgressIndicator
Sets how much progress should be shown on the progress bar, between 0 and 1.
setFraction(double) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
setFraction(double) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
setHostBits(Integer) - Method in class com.android.repository.impl.generated.v1.ArchiveType
Sets the value of the hostBits property.
setHostBits(Integer) - Method in class com.android.repository.impl.meta.Archive
Sets the required host bit size (32 or 64), if any.
setHostOs(String) - Method in class com.android.repository.impl.generated.v1.ArchiveType
Sets the value of the hostOs property.
setHostOs(String) - Method in class com.android.repository.impl.meta.Archive
Sets the required host OS ("windows", "linux", "macosx"), if any.
setId(String) - Method in class com.android.repository.api.Channel
Sets the string ID for this channel.
setId(String) - Method in class com.android.repository.api.License
Sets the ID of this license, used to refer to it from within a RepoPackage.
setId(String) - Method in class com.android.repository.impl.generated.v1.ChannelType
Sets the value of the id property.
setId(String) - Method in class com.android.repository.impl.generated.v1.LicenseType
Sets the value of the id property.
setIndeterminate(boolean) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
setIndeterminate(boolean) - Method in interface com.android.repository.api.ProgressIndicator
Sets whether this progress indicator should show indeterminate progress.
setIndeterminate(boolean) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
setIndeterminate(boolean) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
setInstalledPath(File) - Method in interface com.android.repository.api.LocalPackage
Specifies the path at which this package is installed.
setInstalledPath(File) - Method in class com.android.repository.impl.meta.LocalPackageImpl
 
setInstalledPath(File) - Method in class com.android.repository.testframework.FakePackage
 
setIsWindows(boolean) - Method in class com.android.repository.testframework.MockFileOp
 
setJvmBits(Integer) - Method in class com.android.repository.impl.generated.v1.ArchiveType
Sets the value of the jvmBits property.
setJvmBits(Integer) - Method in class com.android.repository.impl.meta.Archive
Sets the required JVM bit size (32 or 64), if any.
setLastModified(File, long) - Method in interface com.android.repository.io.FileOp
 
setLastModified(File, long) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
setLicense(License) - Method in class com.android.repository.impl.meta.RepoPackageImpl
Convenience method to add a reference to the given license to this package.
setListenerFactory(InstallerFactory.StatusChangeListenerFactory) - Method in interface com.android.repository.api.InstallerFactory
Sets the factory used to generate the list of listeners added to the generated installers/ uninstallers.
setListenerFactory(InstallerFactory.StatusChangeListenerFactory) - Method in class com.android.repository.impl.installer.AbstractInstallerFactory
 
setLocalPackage(LocalPackageImpl) - Method in class com.android.repository.api.Repository
 
setLocalPackage(LocalPackageImpl) - Method in class com.android.repository.impl.generated.v1.RepositoryType
 
setLocalPackageInternal(LocalPackage) - Method in class com.android.repository.impl.generated.v1.RepositoryType
Sets the value of the localPackage property.
setLocalPath(File) - Method in class com.android.repository.api.RepoManager
Sets the path to the local repository root.
setLocalPath(File) - Method in class com.android.repository.impl.manager.RepoManagerImpl
Sets the path to the local repository root.
setLocalPath(File) - Method in class com.android.repository.testframework.FakeRepoManager
 
setLocalPkgInfos(Map<String, ? extends LocalPackage>) - Method in class com.android.repository.impl.meta.RepositoryPackages
Sets the collection of known LocalPackages, and recomputes the list of updates and new packages, if RemotePackages have been set.
setMajor(int) - Method in class com.android.repository.impl.generated.v1.RevisionType
Sets the value of the major property.
setMajor(int) - Method in class com.android.repository.impl.meta.RevisionType
 
setMicro(Integer) - Method in class com.android.repository.impl.generated.v1.RevisionType
Sets the value of the micro property.
setMicro(Integer) - Method in class com.android.repository.impl.meta.RevisionType
 
setMinJvmVersion(RevisionType) - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
setMinJvmVersion(RevisionType) - Method in class com.android.repository.impl.meta.Archive
Sets the minimum JVM version needed for this Archive, if any.
setMinJvmVersionInternal(RevisionType) - Method in class com.android.repository.impl.generated.v1.ArchiveType
Sets the value of the minJvmVersion property.
setMinor(Integer) - Method in class com.android.repository.impl.generated.v1.RevisionType
Sets the value of the minor property.
setMinor(Integer) - Method in class com.android.repository.impl.meta.RevisionType
 
setMinRevision(RevisionType) - Method in class com.android.repository.api.Dependency
 
setMinRevision(RevisionType) - Method in class com.android.repository.impl.generated.v1.DependencyType
 
setMinRevisionInternal(RevisionType) - Method in class com.android.repository.impl.generated.v1.DependencyType
Sets the value of the minRevision property.
setObsolete(Boolean) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the obsolete property.
setObsolete(Boolean) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the obsolete property.
setObsolete(Boolean) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setPatches(Archive.PatchesType) - Method in class com.android.repository.impl.generated.v1.ArchiveType
 
setPatches(Archive.PatchesType) - Method in class com.android.repository.impl.meta.Archive
Sets the Archive.PatchesType for this Archive.
setPatchesInternal(PatchesType) - Method in class com.android.repository.impl.generated.v1.ArchiveType
Sets the value of the patches property.
setPath(String) - Method in class com.android.repository.api.Dependency
 
setPath(String) - Method in class com.android.repository.impl.generated.v1.DependencyType
Sets the value of the path property.
setPath(String) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the path property.
setPath(String) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the path property.
setPath(String) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setPermittedSchemaModules(Collection<SchemaModule>) - Method in class com.android.repository.api.RemoteSource
Sets the list of modules allowed to be used when parsing XML fetched from this source.
setPreview(Integer) - Method in class com.android.repository.impl.generated.v1.RevisionType
Sets the value of the preview property.
setPreview(Integer) - Method in class com.android.repository.impl.meta.RevisionType
 
setProvider(RepositorySourceProvider) - Method in class com.android.repository.api.RemoteSource
 
setReadOnly(File) - Method in interface com.android.repository.io.FileOp
Sets the file or directory as read-only.
setReadOnly(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
setRef(Channel) - Method in class com.android.repository.impl.generated.v1.ChannelRefType
 
setRef(License) - Method in class com.android.repository.impl.generated.v1.LicenseRefType
 
setRef(Channel) - Method in class com.android.repository.impl.meta.RemotePackageImpl.ChannelRef
 
setRef(License) - Method in class com.android.repository.impl.meta.RepoPackageImpl.UsesLicense
 
setRefInternal(ChannelType) - Method in class com.android.repository.impl.generated.v1.ChannelRefType
Sets the value of the ref property.
setRefInternal(LicenseType) - Method in class com.android.repository.impl.generated.v1.LicenseRefType
Sets the value of the ref property.
setRemote(RemotePackage) - Method in class com.android.repository.api.UpdatablePackage
Sets the remote package for this UpdatablePackage.
setRemotePkgInfos(Map<String, ? extends RemotePackage>) - Method in class com.android.repository.impl.meta.RepositoryPackages
Sets the collection of known RemotePackages, and recomputes the list of updates and new packages, if LocalPackages have been set.
setRepoManager(RepoManager) - Method in class com.android.repository.impl.sources.LocalSourceProvider
Sets the RepoManager that will use this provider.
setRevision(RevisionType) - Method in class com.android.repository.impl.generated.v1.LocalPackage
 
setRevision(RevisionType) - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
setRevision(RevisionType) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setRevisionInternal(RevisionType) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the revision property.
setRevisionInternal(RevisionType) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the revision property.
setSecondaryText(String) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
setSecondaryText(String) - Method in interface com.android.repository.api.ProgressIndicator
Sets the secondary text on the progress indicator.
setSecondaryText(String) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
setSecondaryText(String) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
setSize(long) - Method in class com.android.repository.impl.generated.v1.CompleteType
Sets the value of the size property.
setSize(long) - Method in class com.android.repository.impl.generated.v1.PatchType
Sets the value of the size property.
setSize(long) - Method in class com.android.repository.impl.meta.Archive.ArchiveFile
Sets the size of the zip;
setSource(RepositorySource) - Method in interface com.android.repository.api.RemotePackage
 
setSource(RepositorySource) - Method in class com.android.repository.impl.meta.RemotePackageImpl
 
setSource(RepositorySource) - Method in class com.android.repository.testframework.FakePackage
 
setText(String) - Method in class com.android.repository.api.DelegatingProgressIndicator
 
setText(String) - Method in interface com.android.repository.api.ProgressIndicator
Sets the main text shown in the progress indicator.
setText(String) - Method in class com.android.repository.api.ProgressIndicatorAdapter
 
setText(String) - Method in class com.android.repository.testframework.FakeProgressIndicator
 
SettingsController - Interface in com.android.repository.api
Settings used by the repository framework.
setType(String) - Method in class com.android.repository.api.License
Sets the type of the license.
setType(String) - Method in class com.android.repository.impl.generated.v1.LicenseType
Sets the value of the type property.
setTypeDetails(TypeDetails) - Method in class com.android.repository.impl.generated.v1.LocalPackage
 
setTypeDetails(TypeDetails) - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
setTypeDetails(TypeDetails) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setTypeDetails(TypeDetails) - Method in class com.android.repository.testframework.FakePackage
 
setTypeDetailsInternal(TypeDetails) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the typeDetails property.
setTypeDetailsInternal(TypeDetails) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the typeDetails property.
setUrl(String) - Method in class com.android.repository.api.RemoteSource
 
setUrl(String) - Method in class com.android.repository.impl.generated.v1.CompleteType
Sets the value of the url property.
setUrl(String) - Method in class com.android.repository.impl.generated.v1.PatchType
Sets the value of the url property.
setUrl(String) - Method in class com.android.repository.impl.meta.Archive.ArchiveFile
Sets the URL to download from.
setUrl(String) - Method in class com.android.repository.impl.sources.generated.v1.SiteType
Sets the value of the url property.
setUsesLicense(RepoPackageImpl.UsesLicense) - Method in class com.android.repository.impl.generated.v1.LocalPackage
 
setUsesLicense(RepoPackageImpl.UsesLicense) - Method in class com.android.repository.impl.generated.v1.RemotePackage
 
setUsesLicense(RepoPackageImpl.UsesLicense) - Method in class com.android.repository.impl.meta.RepoPackageImpl
 
setUsesLicenseInternal(LicenseRefType) - Method in class com.android.repository.impl.generated.v1.LocalPackage
Sets the value of the usesLicense property.
setUsesLicenseInternal(LicenseRefType) - Method in class com.android.repository.impl.generated.v1.RemotePackage
Sets the value of the usesLicense property.
setValue(String) - Method in class com.android.repository.api.Channel
Sets the displayName for this channel.
setValue(String) - Method in class com.android.repository.api.License
Sets the text of the license.
setValue(String) - Method in class com.android.repository.impl.generated.v1.ChannelType
Sets the value of the value property.
setValue(String) - Method in class com.android.repository.impl.generated.v1.LicenseType
Sets the value of the value property.
setVersion(Revision) - Method in class com.android.repository.impl.meta.RepoPackageImpl
Convenience method to set this package's RevisionType based on a Revision.
shouldParse(File) - Method in interface com.android.repository.api.FallbackLocalRepoLoader
Returns true if it looks like we should try to find a package in the given directory.
SimpleRepositorySource - Class in com.android.repository.api
SimpleRepositorySource(String, String, boolean, Collection<SchemaModule>, RepositorySourceProvider) - Constructor for class com.android.repository.api.SimpleRepositorySource
Constructor
site - Variable in class com.android.repository.impl.sources.generated.v1.SiteListType
 
SiteList() - Constructor for class com.android.repository.impl.sources.RemoteListSourceProviderImpl.SiteList
 
SiteListType - Class in com.android.repository.impl.sources.generated.v1
DO NOT EDIT This file was generated by xjc from repo-sites-common-1.xsd.
SiteListType() - Constructor for class com.android.repository.impl.sources.generated.v1.SiteListType
 
SiteType - Class in com.android.repository.impl.sources.generated.v1
DO NOT EDIT This file was generated by xjc from repo-sites-common-1.xsd.
SiteType() - Constructor for class com.android.repository.impl.sources.generated.v1.SiteType
 
size - Variable in class com.android.repository.impl.generated.v1.CompleteType
 
size - Variable in class com.android.repository.impl.generated.v1.PatchType
 
statusChanged(PackageOperation, ProgressIndicator) - Method in interface com.android.repository.api.PackageOperation.StatusChangeListener
 
StatusChangeListenerException(Exception) - Constructor for exception com.android.repository.api.PackageOperation.StatusChangeListenerException
 
StatusChangeListenerException(String) - Constructor for exception com.android.repository.api.PackageOperation.StatusChangeListenerException
 

T

toIntArray(boolean) - Method in class com.android.repository.Revision
Returns an int[] containing the Major, Minor, and Micro (and optionally Preview) components (if specified) of this revision
toPath(File) - Method in interface com.android.repository.io.FileOp
Convert the given File into a Path, using some means appropriate to this FileOp.
toPath(File) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
toPath(File) - Method in class com.android.repository.testframework.MockFileOp
 
toRevision() - Method in class com.android.repository.impl.meta.RevisionType
Convenience method to convert this into a Revision.
toShortString() - Method in class com.android.repository.Revision
Returns the version in a dynamic format "major.minor.micro rc#".
toString() - Method in class com.android.repository.api.License
Returns a string representation of the license, useful for debugging.
toString() - Method in class com.android.repository.api.SimpleRepositorySource
Returns a debug string representation of this object.
toString(File, Charset) - Method in interface com.android.repository.io.FileOp
 
toString(File, Charset) - Method in class com.android.repository.io.impl.FileSystemFileOp
 
toString(String) - Method in class com.android.repository.Revision
Returns the version in a fixed format major.minor.micro with an optional "rc preview#".
toString() - Method in class com.android.repository.Revision
Returns the version in a fixed format major.minor.micro with an optional "rc preview#".
toString() - Method in class com.android.repository.testframework.FakePackage
 
TrimStringAdapter - Class in com.android.repository.impl.meta
An XmlAdapter that removes leading and trailing whitespace, and converts internal strings of whitespace to a single space.
TrimStringAdapter() - Constructor for class com.android.repository.impl.meta.TrimStringAdapter
 
type - Variable in class com.android.repository.impl.generated.v1.LicenseType
 
typeDetails - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
typeDetails - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
TypeDetails - Class in com.android.repository.impl.generated.v1
DO NOT EDIT This file was generated by xjc from repo-common-01.xsd.
TypeDetails() - Constructor for class com.android.repository.impl.generated.v1.TypeDetails
 
TypeDetails - Class in com.android.repository.impl.meta
Abstract superclass for xjc-created JAXB-usable types.
TypeDetails() - Constructor for class com.android.repository.impl.meta.TypeDetails
 
TypeDetails.GenericType - Interface in com.android.repository.impl.meta
 

U

Uninstaller - Interface in com.android.repository.api
Uninstaller a specific, installed, SDK component.
unmarshal(InputStream, Collection<SchemaModule>, LSResourceResolver, boolean, ProgressIndicator) - Static method in class com.android.repository.impl.meta.SchemaModuleUtil
Use JAXB to create POJOs from the given XML.
unmarshal(String) - Method in class com.android.repository.impl.meta.TrimStringAdapter
 
unzip(File, File, FileOp, long, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
Unzips the given zipped input stream into the given directory.
UpdatablePackage - Class in com.android.repository.api
Represents a (revisionless) package, either local, remote, or both.
UpdatablePackage(LocalPackage) - Constructor for class com.android.repository.api.UpdatablePackage
 
UpdatablePackage(RemotePackage) - Constructor for class com.android.repository.api.UpdatablePackage
 
UpdatablePackage(LocalPackage, RemotePackage) - Constructor for class com.android.repository.api.UpdatablePackage
 
updateStatus(PackageOperation.InstallStatus, ProgressIndicator) - Method in class com.android.repository.impl.installer.AbstractPackageOperation
Sets our status to status and notifies our listeners.
url - Variable in class com.android.repository.impl.generated.v1.CompleteType
 
url - Variable in class com.android.repository.impl.generated.v1.PatchType
 
url - Variable in class com.android.repository.impl.sources.generated.v1.SiteType
 
usesLicense - Variable in class com.android.repository.impl.generated.v1.LocalPackage
 
usesLicense - Variable in class com.android.repository.impl.generated.v1.RemotePackage
 
UsesLicense() - Constructor for class com.android.repository.impl.meta.RepoPackageImpl.UsesLicense
 

V

value - Variable in class com.android.repository.impl.generated.v1.ChannelType
 
value - Variable in class com.android.repository.impl.generated.v1.LicenseType
 
valueOf(String) - Static method in enum com.android.repository.api.PackageOperation.InstallStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.repository.Revision.Precision
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.repository.Revision.PreviewComparison
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.repository.api.PackageOperation.InstallStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.repository.Revision.Precision
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.repository.Revision.PreviewComparison
Returns an array containing the constants of this enum type, in the order they are declared.

W

writePackageXml(RemotePackage, File, RepoManager, FileOp, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
Writes out the XML for a LocalPackageImpl corresponding to the given RemotePackage to a package.xml file in packageRoot.
writePendingPackageXml(RepoPackage, File, RepoManager, FileOp, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
 
writeRepoXml(RepoManager, Repository, File, FileOp, ProgressIndicator) - Static method in class com.android.repository.util.InstallerUtil
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links