/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 132 mVersionCode = pi.getLongVersionCode(); in updateFromPackageInfo() 155 if (!anyVersionOkay && (currentPackage.getLongVersionCode() < mBackupSourceVersionCode)) { in canRestoreTo() 158 currentPackage.getLongVersionCode(), mBackupSourceVersionCode)); in canRestoreTo() 176 final ShortcutPackageInfo ret = new ShortcutPackageInfo(pi.getLongVersionCode(), in generateForInstalledPackageForTest() 180 ret.mBackupSourceVersionCode = pi.getLongVersionCode(); in generateForInstalledPackageForTest()
|
D | PackageManagerNative.java | 102 return pInfo.getLongVersionCode(); in getVersionCodeForPackage()
|
D | InstallPackageHelper.java | 2653 if (dataOwnerPkg.getLongVersionCode() != requiredInstalledVersionCode) { in verifyReplacingVersionCode() 2657 + dataOwnerPkg.getLongVersionCode(); in verifyReplacingVersionCode() 2716 final long activeVersion = activePackage.getLongVersionCode(); in verifyReplacingVersionCodeForApex() 2728 final long newVersionCode = pkgLite.getLongVersionCode(); in verifyReplacingVersionCodeForApex() 2975 info.mRemovedPackageVersionCode = request.getPkg().getLongVersionCode(); in handlePackagePostInstall() 3414 + scannedPkg.getLongVersionCode()); in prepareSystemPackageCleanUp() 4081 && parsedPackage.getLongVersionCode() > pkgSetting.getVersionCode(); in scanSystemPackageLI() 4105 + parsedPackage.getLongVersionCode() in scanSystemPackageLI() 4149 + " better than this " + parsedPackage.getLongVersionCode(), in scanSystemPackageLI() 4212 + parsedPackage.getLongVersionCode() in scanSystemPackageLI() [all …]
|
D | ShortcutPackageItem.java | 134 currentVersionCode = pi.getLongVersionCode(); in attemptToRestoreIfNeededAndSave()
|
D | PackageManagerServiceUtils.java | 1425 if (after.getLongVersionCode() < before.getLongVersionCode()) { in checkDowngrade() 1428 + before.getLongVersionCode()); in checkDowngrade() 1429 } else if (after.getLongVersionCode() == before.getLongVersionCode()) { in checkDowngrade()
|
/frameworks/base/core/java/android/content/pm/ |
D | AuxiliaryResolveInfo.java | 104 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter() 113 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
|
D | VersionedPackage.java | 90 public @VersionCode long getLongVersionCode() { in getLongVersionCode() method in VersionedPackage
|
D | PackageInfoLite.java | 60 public long getLongVersionCode() { in getLongVersionCode() method in PackageInfoLite
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
D | AndroidPackageUtils.java | 100 pkg.getLongVersionCode()), in createSharedLibraryForSdk() 111 pkg.getLongVersionCode()), in createSharedLibraryForStatic() 120 pkg.getLongVersionCode()), in createSharedLibraryForDynamic() 144 long versionCode = pkg.getLongVersionCode(); in validatePackageDexMetadata()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 412 if (chosen.getLongVersionCode() > toUse.getLongVersionCode()) { in verifyPackageInfo() 414 + "version code is lower than expected: " + chosen.getLongVersionCode() in verifyPackageInfo() 415 + " actual: " + toUse.getLongVersionCode()); in verifyPackageInfo() 547 sPackageInfo.versionName + " (code " + sPackageInfo.getLongVersionCode() + ")"); in getProviderClass()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | ScanTests.java | 265 assertThat(scanResult.mSdkSharedLibraryInfo.getDeclaringPackage().getLongVersionCode(), in installSdkLibrary() 266 is(pkg.getLongVersionCode())); in installSdkLibrary() 297 assertThat(scanResult.mStaticSharedLibraryInfo.getDeclaringPackage().getLongVersionCode(), in installStaticSharedLibrary() 298 is(pkg.getLongVersionCode())); in installStaticSharedLibrary() 329 assertThat(dynamicLib0.getDeclaringPackage().getLongVersionCode(), in installDynamicLibraries() 330 is(pkg.getLongVersionCode())); in installDynamicLibraries() 342 assertThat(dynamicLib1.getDeclaringPackage().getLongVersionCode(), in installDynamicLibraries() 343 is(pkg.getLongVersionCode())); in installDynamicLibraries()
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 449 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 463 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 473 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 487 assertThat(apex.getLongVersionCode()).isEqualTo(2); in testRebootlessUpdates() 497 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 603 assertThat(pi.getLongVersionCode()).isEqualTo(1); in testVendorApex_VerifyFactory() 614 assertThat(pi.getLongVersionCode()).isEqualTo(2); in testVendorApex_VerifyData()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 285 long longVersionCode = pkgInfo.getLongVersionCode(); in installPackage() 286 if (existingPkgInfo.getLongVersionCode() == longVersionCode) { in installPackage() 296 } else if (existingPkgInfo.getLongVersionCode() > longVersionCode) { in installPackage() 301 + existingPkgInfo.getLongVersionCode() + in installPackage() 307 + existingPkgInfo.getLongVersionCode() + ") for " + packageName); in installPackage()
|
/frameworks/base/tests/RollbackTest/SampleRollbackApp/src/com/android/sample/rollbackapp/ |
D | MainActivity.java | 144 + pkgInfo.getVersionRolledBackFrom().getLongVersionCode() + " -> " in getView() 145 + pkgInfo.getVersionRolledBackTo().getLongVersionCode() + ","); in getView()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 582 pkgRollbackInfo.getVersionRolledBackFrom().getLongVersionCode()); in commit() 808 && pkgRollbackInfo.getVersionRolledBackFrom().getLongVersionCode() in includesPackageWithDifferentVersion() 973 + " " + pkg.getVersionRolledBackFrom().getLongVersionCode() in dump() 974 + " -> " + pkg.getVersionRolledBackTo().getLongVersionCode() in dump() 982 ipw.println(cPkg.getPackageName() + " " + cPkg.getLongVersionCode()); in dump()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 73 pInfo.versionCode = packageInfo.getLongVersionCode(); in getKeyAttestationApplicationId()
|
/frameworks/base/services/core/java/com/android/server/crashrecovery/ |
D | CrashRecoveryHelper.java | 104 final long versionCode = getPackageInfo(packageName).getLongVersionCode(); in getVersionedPackage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 401 assertThat(newPkg.getLongVersionCode()).isEqualTo(2); in testInstallPackage_activeOnSystem() 406 assertThat(factoryPkg.getLongVersionCode()).isEqualTo(1); in testInstallPackage_activeOnSystem() 432 assertThat(newPkg.getLongVersionCode()).isEqualTo(2); in testInstallPackage_activeOnData() 437 assertThat(factoryPkg.getLongVersionCode()).isEqualTo(1); in testInstallPackage_activeOnData()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 315 && info.getLongVersionCode() in onBackup() 343 outputBufferStream.writeLong(info.getLongVersionCode()); in onBackup() 358 + info.getLongVersionCode() in onBackup() 680 out.writeLong(pkg.getLongVersionCode()); in writeStateFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorEventSender.java | 104 pkg.getLongVersionCode()); in monitorEvent()
|
D | TarBackupReader.java | 450 } else if (pkgInfo.getLongVersionCode() >= info.version) { in chooseRestorePolicy() 476 + pkgInfo.getLongVersionCode() in chooseRestorePolicy() 788 && (installedPackageInfo.getLongVersionCode() in isAllowlistedForVToURestore()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceImpl.java | 553 if (!versionCodeGE(packageInfo.getLongVersionCode(), getMinimumVersionCode()) in validityResult() 740 systemUserPackageInfo.getLongVersionCode(), in dumpAllPackageInformationLocked()
|
D | WebViewUpdateServiceImpl2.java | 613 if (!versionCodeGE(packageInfo.getLongVersionCode(), getMinimumVersionCode()) in validityResult() 796 systemUserPackageInfo.getLongVersionCode(), in dumpAllPackageInformationLocked()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 133 printer.println(Long.toString(packageInfo.getLongVersionCode())); in getManifestBytes()
|
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/ |
D | HelpUtils.java | 265 sCachedVersionCode = Long.toString(info.getLongVersionCode()); in uriWithAddedParameters()
|