Class LocalSysImgPkgInfo

  • All Implemented Interfaces:
    java.lang.Comparable<LocalPkgInfo>

    @Deprecated
    public class LocalSysImgPkgInfo
    extends LocalPkgInfo
    Deprecated.
    This is part of the old SDK manager framework. Use AndroidSdkHandler/RepoManager and associated classes instead.
    Local system-image package, for a given platform's AndroidVersion and given ABI. The package itself has a major revision. There should be only one for a given android platform version & ABI.
    • Constructor Detail

      • LocalSysImgPkgInfo

        public LocalSysImgPkgInfo​(@NonNull
                                  LocalSdk localSdk,
                                  @NonNull
                                  java.io.File localDir,
                                  @NonNull
                                  java.util.Properties sourceProps,
                                  @NonNull
                                  com.android.sdklib.AndroidVersion version,
                                  @Nullable
                                  IdDisplay tag,
                                  @NonNull
                                  java.lang.String abi,
                                  @NonNull
                                  com.android.repository.Revision revision)
        Deprecated.
    • Method Detail

      • extractTagFromProps

        @NonNull
        public static IdDisplay extractTagFromProps​(java.util.Properties props)
        Deprecated.
        Extracts the tag id & display from the properties. If missing, uses the "default" tag id.
      • tagIdToDisplay

        @NonNull
        public static java.lang.String tagIdToDisplay​(@NonNull
                                                      java.lang.String tagId)
        Deprecated.
        Computes a display-friendly tag string based on the tag id. This is typically used when there's no tag-display attribute.
        Parameters:
        tagId - A non-null tag id to sanitize for display.
        Returns:
        The tag id with all non-alphanum symbols replaced by spaces and trimmed.
      • createListDescription

        public static java.lang.String createListDescription​(java.lang.String listDisplay,
                                                             IdDisplay tag,
                                                             java.lang.String abiDisplayName,
                                                             boolean obsolete)
        Deprecated.
      • createShortDescription

        public static java.lang.String createShortDescription​(java.lang.String listDisplay,
                                                              java.lang.String abi,
                                                              IdDisplay vendor,
                                                              IdDisplay tag,
                                                              com.android.sdklib.AndroidVersion version,
                                                              com.android.repository.Revision revision,
                                                              boolean obsolete)
        Deprecated.
      • getAbiDisplayNameInternal

        public static java.lang.String getAbiDisplayNameInternal​(java.lang.String abi)
        Deprecated.