Home
last modified time | relevance | path

Searched refs:getVersionCode (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/ExtShared/src/android/ext/shared/
DVersion.java33 public static int getVersionCode() { in getVersionCode() method in Version
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageHidden.java37 int getVersionCode(); in getVersionCode() method
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DAndroidPackageHidden.java55 int getVersionCode(); in getVersionCode() method
DAndroidPackageLegacyUtils.java69 info.versionCode = ((ParsingPackageHidden) pkg).getVersionCode(); in fillVersionCodes()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageLite.java131 mVersionCode = baseApk.getVersionCode(); in PackageLite()
293 public int getVersionCode() { in getVersionCode() method in PackageLite
DApkLiteParseUtils.java205 versionCode = lite.getVersionCode(); in parseClusterPackageLite()
212 if (versionCode != lite.getVersionCode()) { in parseClusterPackageLite()
214 "Inconsistent version " + lite.getVersionCode() + " in " + file in parseClusterPackageLite()
DApkLite.java344 public int getVersionCode() { in getVersionCode() method in ApkLite
/frameworks/base/core/java/android/content/pm/
DVersionedPackage.java81 public @VersionCode int getVersionCode() { in getVersionCode() method in VersionedPackage
DArchivedPackageInfo.java170 public int getVersionCode() { in getVersionCode() method in ArchivedPackageInfo
DInstantAppResolveInfo.java180 public int getVersionCode() { in getVersionCode() method in InstantAppResolveInfo
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageState.java243 long getVersionCode(); in getVersionCode() method
/frameworks/base/services/core/java/com/android/server/pm/
DDeletePackageHelper.java146 && uninstalledPs.getVersionCode() != versionCode) { in deletePackageX()
148 + uninstalledPs.getVersionCode() + " != " + versionCode); in deletePackageX()
474 outInfo.mRemovedPackageVersionCode = ps.getVersionCode(); in executeDeletePackageLIF()
676 if (disabledPs.getVersionCode() < deletedPs.getVersionCode() in deleteInstalledSystemPackage()
DPackageMetrics.java143 versionCode = ps.getVersionCode(); in reportInstallationStats()
343 final long versionCode = ps.getVersionCode(); in reportInstallationToSecurityLog()
DShortcutPackageInfo.java105 public long getVersionCode() { in getVersionCode() method in ShortcutPackageInfo
DInstallPackageHelper.java1875 removedInfo.mRemovedPackageVersionCode = oldPackageState.getVersionCode(); in preparePackageLI()
3412 + ", versionCode=" + ps.getVersionCode() in prepareSystemPackageCleanUp()
4081 && parsedPackage.getLongVersionCode() > pkgSetting.getVersionCode(); in scanSystemPackageLI()
4104 + "; " + pkgSetting.getVersionCode() + " --> " in scanSystemPackageLI()
4148 + (pkgAlreadyExists ? String.valueOf(pkgSetting.getVersionCode()) : "unknown") in scanSystemPackageLI()
4211 + "; " + pkgSetting.getVersionCode() + " --> " in scanSystemPackageLI()
4228 + pkgSetting.getVersionCode() in scanSystemPackageLI()
4308 if (originalPkgSetting.getVersionCode() == pkg.getLongVersionCode()) { in maybeClearProfilesForUpgradesLI()
4316 + originalPkgSetting.getVersionCode() + " != " in maybeClearProfilesForUpgradesLI()
DShortcutPackage.java1130 if ((getPackageInfo().getVersionCode() == pi.getLongVersionCode()) in rescanPackageIfNeeded()
1171 getPackageInfo().getVersionCode(), pi.getLongVersionCode())); in rescanPackageIfNeeded()
1175 final long newVersionCode = getPackageInfo().getVersionCode(); in rescanPackageIfNeeded()
1928 final long packageVersionCode = getPackageInfo().getVersionCode(); in saveShortcut()
/frameworks/base/core/java/android/content/integrity/
DAppInstallMetadata.java95 public long getVersionCode() { in getVersionCode() method in AppInstallMetadata
DAtomicFormula.java303 return appInstallMetadata.getVersionCode(); in getLongMetadataValue()
/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java239 assertThat(Integer.parseInt(pi.getVersionCode())).isEqualTo(1); in testApkInApexPruneCache()
246 assertThat(Integer.parseInt(pi.getVersionCode())).isEqualTo(2); in testApkInApexPruneCache()
/frameworks/base/services/core/java/com/android/server/rollback/
DWatchdogRollbackLogger.java205 logPackage.getVersionCode(), in logEvent()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java1450 assertThat(testPkgSetting01.getVersionCode(), is(UPDATED_VERSION_CODE)); in testCreateNewSetting01()
1494 assertThat(testPkgSetting01.getVersionCode(), is(INITIAL_VERSION_CODE)); in testCreateNewSetting02()
1543 assertThat(testPkgSetting01.getVersionCode(), is(INITIAL_VERSION_CODE)); in testCreateNewSetting03()
1593 assertThat(testPkgSetting01.getVersionCode(), is(UPDATED_VERSION_CODE)); in testCreateNewSetting04()
1638 assertThat(testPkgSetting01.getVersionCode(), is(UPDATED_VERSION_CODE)); in testCreateNewSetting05()
1934 assertThat(origPkgSetting.getVersionCode(), is(testPkgSetting.getVersionCode())); in verifySettingCopy()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java301 if (denylist.getVersionCode() == mProdDriverVersionCode) { in setDenylist()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java315 info.versionCode = ((ParsingPackageHidden) pkg).getVersionCode(); in fillVersionCodes()
/frameworks/base/tools/aapt/
DBundle.h192 const char* getVersionCode() const { return mVersionCode; } in getVersionCode() function
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt283 getter(PackageImpl::getVersionCode, 3), in <lambda>()

12