Home
last modified time | relevance | path

Searched refs:minVersionCode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java80 public final long minVersionCode; field in PerPackageReadTimeouts.VersionCodes
86 private VersionCodes(long minVersionCode, long maxVersionCode) { in VersionCodes() argument
87 this.minVersionCode = minVersionCode; in VersionCodes()
107 final long minVersionCode = tryParseLong(splits[0], in parse() local
108 ALL_VERSION_CODES.minVersionCode); in parse()
111 if (minVersionCode <= maxVersionCode) { in parse()
112 return new VersionCodes(minVersionCode, maxVersionCode); in parse()
DInstallPackageHelper.java4524 long minVersionCode = Long.MIN_VALUE; in assertStaticSharedLibraryVersionCodeIsValid() local
4536 minVersionCode = Math.max(minVersionCode, libVersionCode + 1); in assertStaticSharedLibraryVersionCodeIsValid()
4541 minVersionCode = maxVersionCode = libVersionCode; in assertStaticSharedLibraryVersionCodeIsValid()
4546 if (pkg.getLongVersionCode() < minVersionCode in assertStaticSharedLibraryVersionCodeIsValid()
DPackageManagerService.java7674 if (pkg.getLongVersionCode() < perPackage.versionCodes.minVersionCode in parsePerUidReadTimeouts()
/frameworks/base/core/java/android/app/compat/
DPackageOverride.java74 private PackageOverride(long minVersionCode, in PackageOverride() argument
77 this.mMinVersionCode = minVersionCode; in PackageOverride()
182 public Builder setMinVersionCode(long minVersionCode) { in setMinVersionCode() argument
183 mMinVersionCode = minVersionCode; in setMinVersionCode()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerServiceTest.java275 Assert.assertEquals(Long.MIN_VALUE, defaults.minVersionCode); in testVersionCodes()
279 Assert.assertEquals(191000070, single.minVersionCode); in testVersionCodes()
283 Assert.assertEquals(191000070, single2.minVersionCode); in testVersionCodes()
287 Assert.assertEquals(Long.MIN_VALUE, upto.minVersionCode); in testVersionCodes()
291 Assert.assertEquals(191000070, andabove.minVersionCode); in testVersionCodes()
295 Assert.assertEquals(191000070, range.minVersionCode); in testVersionCodes()
299 Assert.assertEquals(Long.MIN_VALUE, invalid0.minVersionCode); in testVersionCodes()
303 Assert.assertEquals(Long.MIN_VALUE, invalid1.minVersionCode); in testVersionCodes()
307 Assert.assertEquals(Long.MIN_VALUE, invalid2.minVersionCode); in testVersionCodes()
311 Assert.assertEquals(191000070, invalid3.minVersionCode); in testVersionCodes()
[all …]