/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 268 if (existingPkgInfo.getLongVersionCode() == pkg.getLongVersionCode()) { in installPackage() 270 Log.w(TAG, "Version number (" + pkg.getLongVersionCode() + in installPackage() 275 Log.w(TAG, "Version number of new app (" + pkg.getLongVersionCode() + in installPackage() 278 } else if (existingPkgInfo.getLongVersionCode() > pkg.getLongVersionCode()) { in installPackage() 281 Log.w(TAG, "Version number of new app (" + pkg.getLongVersionCode() + in installPackage() 283 + existingPkgInfo.getLongVersionCode() + in installPackage() 287 Log.w(TAG, "Version number of new app (" + pkg.getLongVersionCode() + in installPackage() 289 + existingPkgInfo.getLongVersionCode() + ") for " + packageName); in installPackage()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 309 if (chosen.getLongVersionCode() > toUse.getLongVersionCode()) { in verifyPackageInfo() 311 + "version code is lower than expected: " + chosen.getLongVersionCode() in verifyPackageInfo() 312 + " actual: " + toUse.getLongVersionCode()); in verifyPackageInfo() 407 sPackageInfo.versionName + " (code " + sPackageInfo.getLongVersionCode() + ")"); in getProviderClass()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 131 mVersionCode = pi.getLongVersionCode(); in updateFromPackageInfo() 154 if (!anyVersionOkay && (currentPackage.getLongVersionCode() < mBackupSourceVersionCode)) { in canRestoreTo() 157 currentPackage.getLongVersionCode(), mBackupSourceVersionCode)); in canRestoreTo() 175 final ShortcutPackageInfo ret = new ShortcutPackageInfo(pi.getLongVersionCode(), in generateForInstalledPackageForTest() 179 ret.mBackupSourceVersionCode = pi.getLongVersionCode(); in generateForInstalledPackageForTest()
|
D | ShortcutPackageItem.java | 119 currentVersionCode = pi.getLongVersionCode(); in attemptToRestoreIfNeededAndSave()
|
/frameworks/base/core/java/android/content/pm/ |
D | AuxiliaryResolveInfo.java | 99 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter() 108 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
|
D | SharedLibraryInfo.java | 46 new VersionedPackage(pkg.manifestPackageName, pkg.getLongVersionCode()), in createForStatic() 54 TYPE_DYNAMIC, new VersionedPackage(pkg.packageName, pkg.getLongVersionCode()), in createForDynamic()
|
D | VersionedPackage.java | 89 public @VersionCode long getLongVersionCode() { in getLongVersionCode() method in VersionedPackage
|
D | PackageInfoLite.java | 60 public long getLongVersionCode() { in getLongVersionCode() method in PackageInfoLite
|
D | PackageInfo.java | 69 public long getLongVersionCode() { in getLongVersionCode() method in PackageInfo
|
D | InstantAppResolveInfo.java | 184 public long getLongVersionCode() { in getLongVersionCode() method in InstantAppResolveInfo
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTestUtils.java | 90 return pi.getLongVersionCode(); in getInstalledVersion() 358 assertEquals(versionRolledBackFrom, info.getVersionRolledBackFrom().getLongVersionCode()); in assertPackageRollbackInfoEquals() 360 assertEquals(versionRolledBackTo, info.getVersionRolledBackTo().getLongVersionCode()); in assertPackageRollbackInfoEquals() 388 assertEquals(causePackages[i].getLongVersionCode(), in assertRollbackInfoEquals() 389 info.getCausePackages().get(i).getLongVersionCode()); in assertRollbackInfoEquals()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 246 homeVersion = homeInfo.getLongVersionCode(); in onBackup() 337 if (info.getLongVersionCode() == mStateVersions.get(packName).versionCode) { in onBackup() 361 outputBufferStream.writeLong(info.getLongVersionCode()); in onBackup() 372 + " version=" + info.getLongVersionCode() in onBackup() 654 out.writeLong(pkg.getLongVersionCode()); in writeStateFile()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 66 packageInfo.getLongVersionCode(), packageInfo.signatures); in getKeyAttestationApplicationId()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 444 info.getVersionRolledBackFrom().getLongVersionCode()); in commitRollbackInternal() 1024 pkgInfo.getLongVersionCode()); in enableRollbackForPackageSession() 1268 return new VersionedPackage(packageName, pkgInfo.getLongVersionCode()); in getInstalledPackageVersion() 1294 && a.getLongVersionCode() == b.getLongVersionCode(); in packageVersionsEqual() 1497 + " " + pkg.getVersionRolledBackFrom().getLongVersionCode() in dump() 1498 + " -> " + pkg.getVersionRolledBackTo().getLongVersionCode()); in dump() 1505 ipw.println(cPkg.getPackageName() + " " + cPkg.getLongVersionCode()); in dump()
|
D | RollbackPackageHealthObserver.java | 266 packageName, 0 /* flags */).getLongVersionCode()); in getModuleMetadataPackage()
|
D | RollbackStore.java | 305 json.put("longVersionCode", pkg.getLongVersionCode()); in toJson()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 66 pkg.getLongVersionCode()); in monitorEvent()
|
D | TarBackupReader.java | 427 } else if (pkgInfo.getLongVersionCode() >= info.version) { in chooseRestorePolicy() 444 + pkgInfo.getLongVersionCode() in chooseRestorePolicy()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerHelperImpl.java | 80 return packageInfo.getLongVersionCode(); in getInstalledPackageVersion()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdater.java | 435 if (!versionCodeGE(packageInfo.getLongVersionCode(), getMinimumVersionCode()) in validityResult() 578 systemUserPackageInfo.getLongVersionCode(), in dumpAllPackageInformationLocked()
|
D | SystemImpl.java | 150 .getLongVersionCode(); in getFactoryPackageVersion()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 528 if (metaInfo.versionCode > mCurrentPackage.getLongVersionCode()) { in dispatchNextRestore() 535 + " > installed version " + mCurrentPackage.getLongVersionCode(); in dispatchNextRestore() 555 + " > installed version " + mCurrentPackage.getLongVersionCode() in dispatchNextRestore() 576 + mCurrentPackage.getLongVersionCode() + "]"); in dispatchNextRestore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 1337 assertEquals(firstPackage.getLongVersionCode(), in testGetCurrentWebViewPackage() 1338 mWebViewUpdateServiceImpl.getCurrentWebViewPackage().getLongVersionCode()); in testGetCurrentWebViewPackage() 1349 assertEquals(firstPackage.getLongVersionCode(), in testGetCurrentWebViewPackage() 1350 mWebViewUpdateServiceImpl.getCurrentWebViewPackage().getLongVersionCode()); in testGetCurrentWebViewPackage()
|
/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 | 230 sCachedVersionCode = Long.toString(info.getLongVersionCode()); in uriWithAddedParameters()
|