Home
last modified time | relevance | path

Searched refs:getLongVersionCode (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java268 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/
DWebViewFactory.java309 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/
DShortcutPackageInfo.java131 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()
DShortcutPackageItem.java119 currentVersionCode = pi.getLongVersionCode(); in attemptToRestoreIfNeededAndSave()
/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java99 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
108 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
DSharedLibraryInfo.java46 new VersionedPackage(pkg.manifestPackageName, pkg.getLongVersionCode()), in createForStatic()
54 TYPE_DYNAMIC, new VersionedPackage(pkg.packageName, pkg.getLongVersionCode()), in createForDynamic()
DVersionedPackage.java89 public @VersionCode long getLongVersionCode() { in getLongVersionCode() method in VersionedPackage
DPackageInfoLite.java60 public long getLongVersionCode() { in getLongVersionCode() method in PackageInfoLite
DPackageInfo.java69 public long getLongVersionCode() { in getLongVersionCode() method in PackageInfo
DInstantAppResolveInfo.java184 public long getLongVersionCode() { in getLongVersionCode() method in InstantAppResolveInfo
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTestUtils.java90 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/
DPackageManagerBackupAgent.java246 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/
DKeyAttestationApplicationIdProviderService.java66 packageInfo.getLongVersionCode(), packageInfo.signatures); in getKeyAttestationApplicationId()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java444 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()
DRollbackPackageHealthObserver.java266 packageName, 0 /* flags */).getLongVersionCode()); in getModuleMetadataPackage()
DRollbackStore.java305 json.put("longVersionCode", pkg.getLongVersionCode()); in toJson()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorUtils.java66 pkg.getLongVersionCode()); in monitorEvent()
DTarBackupReader.java427 } else if (pkgInfo.getLongVersionCode() >= info.version) { in chooseRestorePolicy()
444 + pkgInfo.getLongVersionCode() in chooseRestorePolicy()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTrackerHelperImpl.java80 return packageInfo.getLongVersionCode(); in getInstalledPackageVersion()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdater.java435 if (!versionCodeGE(packageInfo.getLongVersionCode(), getMinimumVersionCode()) in validityResult()
578 systemUserPackageInfo.getLongVersionCode(), in dumpAllPackageInformationLocked()
DSystemImpl.java150 .getLongVersionCode(); in getFactoryPackageVersion()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java528 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/
DWebViewUpdateServiceTest.java1337 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/
DAppMetadataBackupWriter.java133 printer.println(Long.toString(packageInfo.getLongVersionCode())); in getManifestBytes()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java230 sCachedVersionCode = Long.toString(info.getLongVersionCode()); in uriWithAddedParameters()

12