Class SystemImageManager


  • public class SystemImageManager
    extends java.lang.Object
    SystemImageManager finds SystemImages in the sdk, using a RepoManager
    • Constructor Detail

      • SystemImageManager

        public SystemImageManager​(@NonNull
                                  com.android.repository.api.RepoManager mgr,
                                  @NonNull
                                  SysImgFactory factory)
        Create a new SystemImageManager using the given RepoManager.
        factory is used to enable validation.
    • Method Detail

      • getImageMap

        public com.google.common.collect.Multimap<com.android.repository.api.LocalPackage,​SystemImage> getImageMap()
        Gets a map from all our SystemImages to their containing LocalPackages.
      • lookup

        @NonNull
        public java.util.Collection<SystemImage> lookup​(@NonNull
                                                        IdDisplay tag,
                                                        @NonNull
                                                        com.android.sdklib.AndroidVersion version,
                                                        @Nullable
                                                        IdDisplay vendor)
        Lookup all the SystemImage with the given property values.
      • getImageAt

        @Nullable
        public ISystemImage getImageAt​(@NonNull
                                       java.nio.file.Path imageDir)