Home
last modified time | relevance | path

Searched refs:getVersionCode (Results 1 – 25 of 39) 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/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageHidden.java37 int getVersionCode(); in getVersionCode() method
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageHidden.java60 int getVersionCode(); in getVersionCode() method
/frameworks/base/core/java/android/content/pm/parsing/
DPackageLite.java122 mVersionCode = baseApk.getVersionCode(); in PackageLite()
282 public int getVersionCode() { in getVersionCode() method in PackageLite
DApkLiteParseUtils.java197 versionCode = lite.getVersionCode(); in parseClusterPackageLite()
205 if (!parsingFrameworkSplits && versionCode != lite.getVersionCode()) { in parseClusterPackageLite()
207 "Inconsistent version " + lite.getVersionCode() + " in " + file in parseClusterPackageLite()
DApkLite.java285 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
DInstantAppResolveInfo.java180 public int getVersionCode() { in getVersionCode() method in InstantAppResolveInfo
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageState.java126 long getVersionCode(); in getVersionCode() method
DPackageStateImpl.java171 mLongVersionCode = pkgState.getVersionCode(); in PackageStateImpl()
272 public long getVersionCode() { in getVersionCode() method in PackageStateImpl
/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/services/core/java/com/android/server/pm/
DDeletePackageHelper.java161 && uninstalledPs.getVersionCode() != versionCode) { in deletePackageX()
163 + uninstalledPs.getVersionCode() + " != " + versionCode); in deletePackageX()
631 if (disabledPs.getVersionCode() < deletedPs.getVersionCode() in deleteInstalledSystemPackage()
DShortcutPackageInfo.java105 public long getVersionCode() { in getVersionCode() method in ShortcutPackageInfo
DInstallPackageHelper.java2386 pkgChangeEvent.version = pkgSetting.getVersionCode(); in notifyPackageChangeObserversOnUpdate()
3356 + ", versionCode=" + ps.getVersionCode() in prepareSystemPackageCleanUp()
3882 && parsedPackage.getLongVersionCode() > pkgSetting.getVersionCode(); in scanSystemPackageLI()
3898 + "; " + pkgSetting.getVersionCode() + " --> " in scanSystemPackageLI()
3924 + (pkgAlreadyExists ? String.valueOf(pkgSetting.getVersionCode()) : "unknown") in scanSystemPackageLI()
3984 + "; " + pkgSetting.getVersionCode() + " --> " in scanSystemPackageLI()
4004 + pkgSetting.getVersionCode() in scanSystemPackageLI()
4045 if (originalPkgSetting.getVersionCode() == pkg.getLongVersionCode()) { in maybeClearProfilesForUpgradesLI()
4053 + originalPkgSetting.getVersionCode() + " != " in maybeClearProfilesForUpgradesLI()
DShortcutPackage.java1125 if ((getPackageInfo().getVersionCode() == pi.getLongVersionCode()) in rescanPackageIfNeeded()
1166 getPackageInfo().getVersionCode(), pi.getLongVersionCode())); in rescanPackageIfNeeded()
1170 final long newVersionCode = getPackageInfo().getVersionCode(); in rescanPackageIfNeeded()
1903 final long packageVersionCode = getPackageInfo().getVersionCode(); in saveShortcut()
DInstantAppResolver.java537 + ", versionCode: " + instantAppInfo.getVersionCode()); in computeResolveFilters()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageManagerSettingsTests.java867 assertThat(testPkgSetting01.getVersionCode(), is(UPDATED_VERSION_CODE)); in testCreateNewSetting01()
906 assertThat(testPkgSetting01.getVersionCode(), is(INITIAL_VERSION_CODE)); in testCreateNewSetting02()
949 assertThat(testPkgSetting01.getVersionCode(), is(INITIAL_VERSION_CODE)); in testCreateNewSetting03()
993 assertThat(testPkgSetting01.getVersionCode(), is(UPDATED_VERSION_CODE)); in testCreateNewSetting04()
1225 assertThat(origPkgSetting.getVersionCode(), is(testPkgSetting.getVersionCode())); in verifySettingCopy()
DScanTests.java593 assertThat(pkgSetting.getVersionCode(),
/frameworks/base/services/core/java/com/android/server/rollback/
DWatchdogRollbackLogger.java204 logPackage.getVersionCode(), in logEvent()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java301 if (denylist.getVersionCode() == mProdDriverVersionCode) { in setDenylist()
/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.kt254 getter(PackageImpl::getVersionCode, 3), in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DAppIntegrityManagerServiceImplTest.java331 assertEquals(VERSION_CODE, appInstallMetadata.getVersionCode()); in handleBroadcast_correctArgs()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java349 appInstallMetadata.getVersionCode(), in handleIntegrityVerification()

12