Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java132 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()
DShortcutPackageItem.java125 currentVersionCode = pi.getLongVersionCode(); in attemptToRestoreIfNeededAndSave()
/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java104 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
113 this.versionCode = resolveInfo.getLongVersionCode(); in AuxiliaryFilter()
DVersionedPackage.java90 public @VersionCode long getLongVersionCode() { in getLongVersionCode() method in VersionedPackage
DPackageInfoLite.java60 public long getLongVersionCode() { in getLongVersionCode() method in PackageInfoLite
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java398 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/
DStagedInstallInternalTest.java341 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/
DScanTests.java259 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/
DWearPackageInstallerService.java271 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/
DAndroidPackageUtils.java96 pkg.getLongVersionCode()), in createSharedLibraryForStatic()
105 pkg.getLongVersionCode()), in createSharedLibraryForDynamic()
242 public static long getLongVersionCode(AndroidPackage pkg) { in getLongVersionCode() method in AndroidPackageUtils
DPkgPackageInfo.java114 long getLongVersionCode(); in getLongVersionCode() method
DPkgAppInfo.java294 long getLongVersionCode(); in getLongVersionCode() method
/frameworks/libs/net/common/device/com/android/net/module/util/
DDeviceConfigUtils.java54 context.getPackageName(), 0).getLongVersionCode(); in getPackageVersion()
238 PackageManager.MATCH_APEX).getLongVersionCode(); in getModuleVersion()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java565 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/
DKeyAttestationApplicationIdProviderService.java68 packageInfo.getLongVersionCode(), packageInfo.signatures); in getKeyAttestationApplicationId()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java248 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/
DBackupManagerMonitorUtils.java66 pkg.getLongVersionCode()); in monitorEvent()
/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/
DWebViewUpdateServiceImpl.java514 if (!versionCodeGE(packageInfo.getLongVersionCode(), getMinimumVersionCode()) in validityResult()
698 systemUserPackageInfo.getLongVersionCode(), in dumpAllPackageInformationLocked()
/frameworks/base/core/java/android/content/pm/parsing/
DApkLite.java155 public long getLongVersionCode() { in getLongVersionCode() method in ApkLite
DPackageLite.java149 public long getLongVersionCode() { in getLongVersionCode() method in PackageLite
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java551 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/
DAppMetadataBackupWriter.java133 printer.println(Long.toString(packageInfo.getLongVersionCode())); in getManifestBytes()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java1294 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/
DHelpUtils.java265 sCachedVersionCode = Long.toString(info.getLongVersionCode()); in uriWithAddedParameters()

123