Home
last modified time | relevance | path

Searched refs:activePackage (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java198 final PackageInfo activePackage = mApexManager.getPackageInfo(packageInfo.packageName, in submitSessionToApexService() local
200 if (activePackage == null) { in submitSessionToApexService()
205 checkRequiredVersionCode(session, activePackage); in submitSessionToApexService()
206 checkDowngrade(session, activePackage, packageInfo); in submitSessionToApexService()
215 final PackageInfo activePackage) throws PackageManagerException { in checkRequiredVersionCode() argument
219 final long activeVersion = activePackage.applicationInfo.longVersionCode; in checkRequiredVersionCode()
226 "Installed version of APEX package " + activePackage.packageName in checkRequiredVersionCode()
233 final PackageInfo activePackage, final PackageInfo newPackage) in checkDowngrade() argument
235 final long activeVersion = activePackage.applicationInfo.longVersionCode; in checkDowngrade()
238 session.params.installFlags, activePackage.applicationInfo.flags); in checkDowngrade()
DPackageManagerService.java24513 PackageInfo activePackage = am.getPackageInfo(packageName,
24515 if (activePackage == null) {
24521 && activePackage.getLongVersionCode() != versionCode) {
24523 "Active version " + activePackage.getLongVersionCode()
24527 if (!am.uninstallApex(activePackage.applicationInfo.sourceDir)) {