public class SystemImageManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYS_IMG_NAME |
Constructor and Description |
---|
SystemImageManager(com.android.repository.api.RepoManager mgr,
SysImgFactory factory,
com.android.repository.io.FileOp fop)
|
Modifier and Type | Method and Description |
---|---|
ISystemImage |
getImageAt(java.io.File imageDir) |
com.google.common.collect.Multimap<com.android.repository.api.LocalPackage,SystemImage> |
getImageMap()
Gets a map from all our
SystemImage s to their containing LocalPackage s. |
java.util.Collection<SystemImage> |
getImages()
Gets all the
SystemImage s. |
java.util.Collection<SystemImage> |
lookup(IdDisplay tag,
com.android.sdklib.AndroidVersion version,
IdDisplay vendor)
Lookup all the
SystemImage with the given property values. |
public static final java.lang.String SYS_IMG_NAME
public SystemImageManager(@NonNull com.android.repository.api.RepoManager mgr, @NonNull SysImgFactory factory, @NonNull com.android.repository.io.FileOp fop)
@NonNull public java.util.Collection<SystemImage> getImages()
SystemImage
s.public com.google.common.collect.Multimap<com.android.repository.api.LocalPackage,SystemImage> getImageMap()
SystemImage
s to their containing LocalPackage
s.@NonNull public java.util.Collection<SystemImage> lookup(@NonNull IdDisplay tag, @NonNull com.android.sdklib.AndroidVersion version, @Nullable IdDisplay vendor)
SystemImage
with the given property values.@Nullable public ISystemImage getImageAt(@NonNull java.io.File imageDir)