Home
last modified time | relevance | path

Searched refs:deletedPs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DRemovePackageHelper.java358 public void removePackageData(final PackageSetting deletedPs, @NonNull int[] allUserHandles) { in removePackageData() argument
360 removePackageDataLIF(deletedPs, UserHandle.USER_ALL, allUserHandles, in removePackageData()
374 public void removePackageDataLIF(final PackageSetting deletedPs, int targetUserId, in removePackageDataLIF() argument
377 String packageName = deletedPs.getPackageName(); in removePackageDataLIF()
378 if (DEBUG_REMOVE) Slog.d(TAG, "removePackageDataLI: " + deletedPs); in removePackageDataLIF()
380 shouldDeletePackageSetting(deletedPs, targetUserId, allUserHandles, flags); in removePackageDataLIF()
382 final AndroidPackage deletedPkg = deletedPs.getPkg(); in removePackageDataLIF()
385 clearPackageStateForUserLIF(deletedPs, in removePackageDataLIF()
390 if (!deletedPs.isSystem()) { in removePackageDataLIF()
395 deletedPs.setPkg(null); in removePackageDataLIF()
[all …]
DDeletePackageHelper.java648 final PackageSetting deletedPs = action.mDeletingPs; in deleteInstalledSystemPackage() local
651 final AndroidPackage deletedPkg = deletedPs.getPkg(); in deleteInstalledSystemPackage()
676 if (disabledPs.getVersionCode() < deletedPs.getVersionCode() in deleteInstalledSystemPackage()
677 || disabledPs.getAppId() != deletedPs.getAppId()) { in deleteInstalledSystemPackage()
685 deleteInstalledPackageLIF(deletedPs, UserHandle.USER_ALL, true, flags, allUserHandles, in deleteInstalledSystemPackage()
DInstallPackageHelper.java3232 final PackageSetting deletedPs = action.mDeletingPs; in restoreDisabledSystemPackageLIF() local
3244 PackageManagerServiceUtils.removeNativeBinariesLI(deletedPs); in restoreDisabledSystemPackageLIF()
3253 Slog.w(TAG, "Failed to restore system package:" + deletedPs.getPackageName() + ": " in restoreDisabledSystemPackageLIF()
3263 disableStubPackage(action, deletedPs, allUserHandles); in restoreDisabledSystemPackageLIF()
3270 private void disableStubPackage(DeletePackageAction action, PackageSetting deletedPs, in disableStubPackage() argument
3273 deletedPs.getPackageName()); in disableStubPackage()