Home
last modified time | relevance | path

Searched refs:minVers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageUtils.java1464 int minVers = ParsingUtils.DEFAULT_MIN_SDK_VERSION; in parseUsesSdk() local
1475 minVers = val.data; in parseUsesSdk()
1491 targetVers = minVers; in parseUsesSdk()
1509 ParseResult<Integer> minSdkVersionResult = computeMinSdkVersion(minVers, minCode, in parseUsesSdk()
1609 public static ParseResult<Integer> computeMinSdkVersion(@IntRange(from = 1) int minVers, in computeMinSdkVersion()
1614 if (minVers <= platformSdkVersion) { in computeMinSdkVersion()
1615 return input.success(minVers); in computeMinSdkVersion()
1620 "Requires newer sdk version #" + minVers in computeMinSdkVersion()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2148 int minVers = 1; in parseBaseApkCommon() local
2160 minVers = val.data; in parseBaseApkCommon()
2177 targetVers = minVers; in parseBaseApkCommon()
2183 final int minSdkVersion = PackageParser.computeMinSdkVersion(minVers, minCode, in parseBaseApkCommon()
2625 public static int computeMinSdkVersion(@IntRange(from = 1) int minVers, in computeMinSdkVersion()
2630 if (minVers <= platformSdkVersion) { in computeMinSdkVersion()
2631 return minVers; in computeMinSdkVersion()
2635 outError[0] = "Requires newer sdk version #" + minVers in computeMinSdkVersion()