/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 | ShortcutPackageItem.java | 125 currentVersionCode = pi.getLongVersionCode(); in attemptToRestoreIfNeededAndSave()
|
/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/core/java/android/webkit/ |
D | WebViewFactory.java | 398 if (chosen.getLongVersionCode() > toUse.getLongVersionCode()) { in verifyPackageInfo() 400 + "version code is lower than expected: " + chosen.getLongVersionCode() in verifyPackageInfo() 401 + " actual: " + toUse.getLongVersionCode()); in verifyPackageInfo() 498 sPackageInfo.versionName + " (code " + sPackageInfo.getLongVersionCode() + ")"); in getProviderClass()
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 341 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 355 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 364 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates() 377 assertThat(apex.getLongVersionCode()).isEqualTo(2); in testRebootlessUpdates() 386 assertThat(apex.getLongVersionCode()).isEqualTo(1); in testRebootlessUpdates()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ScanTests.java | 259 assertThat(scanResult.staticSharedLibraryInfo.getDeclaringPackage().getLongVersionCode(), in installStaticSharedLibrary() 260 is(pkg.getLongVersionCode())); in installStaticSharedLibrary() 291 assertThat(dynamicLib0.getDeclaringPackage().getLongVersionCode(), in installDynamicLibraries() 292 is(pkg.getLongVersionCode())); in installDynamicLibraries() 304 assertThat(dynamicLib1.getDeclaringPackage().getLongVersionCode(), in installDynamicLibraries() 305 is(pkg.getLongVersionCode())); in installDynamicLibraries()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 271 long longVersionCode = pkgInfo.getLongVersionCode(); in installPackage() 272 if (existingPkgInfo.getLongVersionCode() == longVersionCode) { in installPackage() 282 } else if (existingPkgInfo.getLongVersionCode() > longVersionCode) { in installPackage() 287 + existingPkgInfo.getLongVersionCode() + in installPackage() 293 + existingPkgInfo.getLongVersionCode() + ") for " + packageName); in installPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
D | AndroidPackageUtils.java | 96 pkg.getLongVersionCode()), in createSharedLibraryForStatic() 105 pkg.getLongVersionCode()), in createSharedLibraryForDynamic() 242 public static long getLongVersionCode(AndroidPackage pkg) { in getLongVersionCode() method in AndroidPackageUtils
|
D | PkgPackageInfo.java | 114 long getLongVersionCode(); in getLongVersionCode() method
|
D | PkgAppInfo.java | 294 long getLongVersionCode(); in getLongVersionCode() method
|
/frameworks/libs/net/common/device/com/android/net/module/util/ |
D | DeviceConfigUtils.java | 54 context.getPackageName(), 0).getLongVersionCode(); in getPackageVersion() 238 PackageManager.MATCH_APEX).getLongVersionCode(); in getModuleVersion()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 565 pkgRollbackInfo.getVersionRolledBackFrom().getLongVersionCode()); in commit() 791 && pkgRollbackInfo.getVersionRolledBackFrom().getLongVersionCode() in includesPackageWithDifferentVersion() 964 + " " + pkg.getVersionRolledBackFrom().getLongVersionCode() in dump() 965 + " -> " + pkg.getVersionRolledBackTo().getLongVersionCode()); in dump() 972 ipw.println(cPkg.getPackageName() + " " + cPkg.getLongVersionCode()); in dump()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 68 packageInfo.getLongVersionCode(), packageInfo.signatures); in getKeyAttestationApplicationId()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 248 homeVersion = homeInfo.getLongVersionCode(); in onBackup() 339 if (info.getLongVersionCode() == mStateVersions.get(packName).versionCode) { in onBackup() 363 outputBufferStream.writeLong(info.getLongVersionCode()); in onBackup() 374 + " version=" + info.getLongVersionCode() in onBackup() 656 out.writeLong(pkg.getLongVersionCode()); in writeStateFile()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 66 pkg.getLongVersionCode()); in monitorEvent()
|
/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 | WebViewUpdateServiceImpl.java | 514 if (!versionCodeGE(packageInfo.getLongVersionCode(), getMinimumVersionCode()) in validityResult() 698 systemUserPackageInfo.getLongVersionCode(), in dumpAllPackageInformationLocked()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ApkLite.java | 155 public long getLongVersionCode() { in getLongVersionCode() method in ApkLite
|
D | PackageLite.java | 149 public long getLongVersionCode() { in getLongVersionCode() method in PackageLite
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 551 if (metaInfo.versionCode > mCurrentPackage.getLongVersionCode()) { in dispatchNextRestore() 558 + " > installed version " + mCurrentPackage.getLongVersionCode(); in dispatchNextRestore() 578 + " > installed version " + mCurrentPackage.getLongVersionCode() in dispatchNextRestore() 599 + mCurrentPackage.getLongVersionCode() + "]"); in dispatchNextRestore()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 133 printer.println(Long.toString(packageInfo.getLongVersionCode())); in getManifestBytes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 1294 assertEquals(firstPackage.getLongVersionCode(), in testGetCurrentWebViewPackage() 1295 mWebViewUpdateServiceImpl.getCurrentWebViewPackage().getLongVersionCode()); in testGetCurrentWebViewPackage() 1306 assertEquals(firstPackage.getLongVersionCode(), in testGetCurrentWebViewPackage() 1307 mWebViewUpdateServiceImpl.getCurrentWebViewPackage().getLongVersionCode()); in testGetCurrentWebViewPackage()
|
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/ |
D | HelpUtils.java | 265 sCachedVersionCode = Long.toString(info.getLongVersionCode()); in uriWithAddedParameters()
|