|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.sdklib.repositoryv2.targets.SystemImageManager
public class SystemImageManager
SystemImageManager
finds ISystemImage
s in the sdk, either using a
RepoManager
or (until adoption of RepoManager
is complete), a LocalSdk
.
Constructor Summary | |
---|---|
SystemImageManager(LocalSdk sdk)
Create a new SystemImageManager using the given (legacy) LocalSdk . |
|
SystemImageManager(com.android.repository.api.RepoManager mgr,
SysImgFactory factory,
com.android.repository.io.FileOp fop)
Create a new SystemImageManager using the given RepoManager .factory is used to enable validation. |
Method Summary | |
---|---|
java.util.Map<ISystemImage,com.android.repository.api.LocalPackage> |
getImageMap(com.android.repository.api.ProgressIndicator progress)
Gets a map from all our ISystemImage s to their containing LocalPackage s. |
java.util.Collection<ISystemImage> |
getImages(com.android.repository.api.ProgressIndicator progress)
Gets all the ISystemImage s. |
java.util.Collection<ISystemImage> |
lookup(IdDisplay tag,
AndroidVersion version,
IdDisplay vendor,
com.android.repository.api.ProgressIndicator progress)
Lookup all the ISystemImage with the given property values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemImageManager(@NonNull LocalSdk sdk)
SystemImageManager
using the given (legacy) LocalSdk
.
This should be removed once adoption of RepoManager
is complete.
public SystemImageManager(@NonNull com.android.repository.api.RepoManager mgr, @NonNull SysImgFactory factory, @NonNull com.android.repository.io.FileOp fop)
SystemImageManager
using the given RepoManager
.factory
is used to enable validation.
Method Detail |
---|
@NonNull public java.util.Collection<ISystemImage> getImages(@NonNull com.android.repository.api.ProgressIndicator progress)
ISystemImage
s.
@NonNull public java.util.Map<ISystemImage,com.android.repository.api.LocalPackage> getImageMap(@NonNull com.android.repository.api.ProgressIndicator progress)
ISystemImage
s to their containing LocalPackage
s.
@NonNull public java.util.Collection<ISystemImage> lookup(@NonNull IdDisplay tag, @NonNull AndroidVersion version, @Nullable IdDisplay vendor, @NonNull com.android.repository.api.ProgressIndicator progress)
ISystemImage
with the given property values.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |