Searched refs:maxVersionCode (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PerPackageReadTimeouts.java | 81 public final long maxVersionCode; field in PerPackageReadTimeouts.VersionCodes 86 private VersionCodes(long minVersionCode, long maxVersionCode) { in VersionCodes() argument 88 this.maxVersionCode = maxVersionCode; in VersionCodes() 109 final long maxVersionCode = tryParseLong(splits[1], in parse() local 110 ALL_VERSION_CODES.maxVersionCode); in parse() 111 if (minVersionCode <= maxVersionCode) { in parse() 112 return new VersionCodes(minVersionCode, maxVersionCode); in parse()
|
D | InstallPackageHelper.java | 4525 long maxVersionCode = Long.MAX_VALUE; in assertStaticSharedLibraryVersionCodeIsValid() local 4539 maxVersionCode = Math.min(maxVersionCode, libVersionCode - 1); in assertStaticSharedLibraryVersionCodeIsValid() 4541 minVersionCode = maxVersionCode = libVersionCode; in assertStaticSharedLibraryVersionCodeIsValid() 4547 || pkg.getLongVersionCode() > maxVersionCode) { in assertStaticSharedLibraryVersionCodeIsValid()
|
D | PackageManagerService.java | 7675 || pkg.getLongVersionCode() > perPackage.versionCodes.maxVersionCode) { in parsePerUidReadTimeouts()
|
/frameworks/base/core/java/android/app/compat/ |
D | PackageOverride.java | 75 long maxVersionCode, in PackageOverride() argument 78 this.mMaxVersionCode = maxVersionCode; in PackageOverride() 195 public Builder setMaxVersionCode(long maxVersionCode) { in setMaxVersionCode() argument 196 mMaxVersionCode = maxVersionCode; in setMaxVersionCode()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerServiceTest.java | 276 Assert.assertEquals(Long.MAX_VALUE, defaults.maxVersionCode); in testVersionCodes() 280 Assert.assertEquals(191000070, single.maxVersionCode); in testVersionCodes() 284 Assert.assertEquals(191000070, single2.maxVersionCode); in testVersionCodes() 288 Assert.assertEquals(191000070, upto.maxVersionCode); in testVersionCodes() 292 Assert.assertEquals(Long.MAX_VALUE, andabove.maxVersionCode); in testVersionCodes() 296 Assert.assertEquals(201000070, range.maxVersionCode); in testVersionCodes() 300 Assert.assertEquals(Long.MAX_VALUE, invalid0.maxVersionCode); in testVersionCodes() 304 Assert.assertEquals(191000070, invalid1.maxVersionCode); in testVersionCodes() 308 Assert.assertEquals(Long.MAX_VALUE, invalid2.maxVersionCode); in testVersionCodes() 312 Assert.assertEquals(Long.MAX_VALUE, invalid3.maxVersionCode); in testVersionCodes() [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | AutofillServiceInfo.java | 209 final Long maxVersionCode; in parseCompatibilityPackages() local 212 maxVersionCode = Long.parseLong(maxVersionCodeStr); in parseCompatibilityPackages() 218 if (maxVersionCode < 0) { in parseCompatibilityPackages() 220 + maxVersionCode); in parseCompatibilityPackages() 224 maxVersionCode = Long.MAX_VALUE; in parseCompatibilityPackages() 229 compatibilityPackages.put(name, maxVersionCode); in parseCompatibilityPackages()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 913 final Long maxVersionCode = compatPackages.valueAt(i); in addCompatibilityModeRequestsLocked() local 914 if (maxVersionCode != null) { in addCompatibilityModeRequestsLocked() 916 maxVersionCode, allowedPackages.get(packageName), userId); in addCompatibilityModeRequestsLocked() 1180 private final long maxVersionCode; field in AutofillManagerService.PackageCompatState 1183 PackageCompatState(long maxVersionCode, String[] urlBarResourceIds) { in PackageCompatState() argument 1184 this.maxVersionCode = maxVersionCode; in PackageCompatState() 1190 return "maxVersionCode=" + maxVersionCode in toString() 1454 return versionCode <= metadata.maxVersionCode; in isCompatibilityModeRequested()
|