|
|||||||||
| 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 ISystemImages 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 ISystemImages to their containing LocalPackages. |
java.util.Collection<ISystemImage> |
getImages(com.android.repository.api.ProgressIndicator progress)
Gets all the ISystemImages. |
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)
ISystemImages.
@NonNull
public java.util.Map<ISystemImage,com.android.repository.api.LocalPackage> getImageMap(@NonNull
com.android.repository.api.ProgressIndicator progress)
ISystemImages to their containing LocalPackages.
@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 | ||||||||