Home
last modified time | relevance | path

Searched refs:minVersionCode (Results 1 – 4 of 4) 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()
DPackageManagerService.java14885 long minVersionCode = Long.MIN_VALUE;
14897 minVersionCode = Math.max(minVersionCode, libVersionCode + 1);
14902 minVersionCode = maxVersionCode = libVersionCode;
14907 if (pkg.getLongVersionCode() < minVersionCode
28824 if (pkg.getLongVersionCode() < perPackage.versionCodes.minVersionCode
/frameworks/base/core/java/android/app/compat/
DPackageOverride.java73 private PackageOverride(long minVersionCode, in PackageOverride() argument
76 this.mMinVersionCode = minVersionCode; in PackageOverride()
165 public Builder setMinVersionCode(long minVersionCode) { in setMinVersionCode() argument
166 mMinVersionCode = minVersionCode; in setMinVersionCode()
/frameworks/base/services/tests/servicestests/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 …]