Searched refs:disabledPs (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DeletePackageAction.java | 30 DeletePackageAction(PackageSetting deletingPs, PackageSetting disabledPs, in DeletePackageAction() argument 33 mDisabledPs = disabledPs; in DeletePackageAction()
|
D | DeletePackageHelper.java | 383 final PackageSetting disabledPs = mPm.mSettings.getDisabledSystemPkgLPr(ps); in deletePackageLIF() local 390 action = mayDeletePackageLocked(outInfo, ps, disabledPs, flags, user); in deletePackageLIF() 414 PackageSetting ps, @Nullable PackageSetting disabledPs, in mayDeletePackageLocked() argument 423 if ((!deleteSystem || deleteAllUsers) && disabledPs == null) { in mayDeletePackageLocked() 432 return new DeletePackageAction(ps, disabledPs, outInfo, flags, user); in mayDeletePackageLocked() 656 final PackageSetting disabledPs = action.mDisabledPs; in deleteInstalledSystemPackage() local 659 + " disabledPs=" + disabledPs); in deleteInstalledSystemPackage() 676 if (disabledPs.getVersionCode() < deletedPs.getVersionCode() in deleteInstalledSystemPackage() 677 || disabledPs.getAppId() != deletedPs.getAppId()) { in deleteInstalledSystemPackage()
|
D | InstallRequest.java | 214 @Nullable UserHandle user, ScanResult scanResult, PackageSetting disabledPs) { in InstallRequest() argument 230 mDisabledPs = disabledPs; in InstallRequest() 836 PackageSetting originalPs, PackageSetting disabledPs) { in setPrepareResult() argument 847 mDisabledPs = disabledPs; in setPrepareResult()
|
D | InstallPackageHelper.java | 1712 final PackageSetting disabledPs; in preparePackageLI() local 1745 disabledPs = mPm.mSettings.getDisabledSystemPkgLPr(ps); in preparePackageLI() 1914 disabledPs = null; in preparePackageLI() 1947 replace /* clearCodeCache */, sysPkg, ps, disabledPs); in preparePackageLI() 2679 final PackageSetting disabledPs = mPm.mSettings.getDisabledSystemPkgLPr( in verifyReplacingVersionCode() local 2681 if (disabledPs != null) { in verifyReplacingVersionCode() 2682 dataOwnerPkg = disabledPs.getPkg(); in verifyReplacingVersionCode() 3234 final PackageSetting disabledPs = action.mDisabledPs; in restoreDisabledSystemPackageLIF() local 3242 mPm.mSettings.enableSystemPackageLPw(disabledPs.getPkg().getPackageName()); in restoreDisabledSystemPackageLIF() 3247 if (DEBUG_REMOVE) Slog.d(TAG, "Re-installing system package: " + disabledPs); in restoreDisabledSystemPackageLIF() [all …]
|
D | Settings.java | 1501 final PackageSetting disabledPs = sharedUser.getDisabledPackageSettings().valueAt(0); 1502 disabledPs.setSharedUserAppId(INVALID_UID); 3541 for (PackageSetting disabledPs : mDisabledSysPackages.values()) { 3542 final Object id = getSettingLPr(disabledPs.getAppId()); 3545 sharedUserSetting.mDisabledPackages.add(disabledPs); 3546 disabledPs.setSharedUserAppId(sharedUserSetting.mAppId);
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 3390 final PackageStateInternal disabledPs = mPackageManagerInt 3392 final AndroidPackage disabledPkg = disabledPs == null ? null : disabledPs.getPkg(); 3394 && ((isPrivilegedPermission && disabledPs.isPrivileged()) 3395 || (isOemPermission && canGrantOemPermission(disabledPs, 3820 PackageStateInternal disabledPs = mPackageManagerInt.getDisabledSystemPackage( 3822 boolean isShadowingSystemPkg = disabledPs != null && disabledPs.getAppId() == pkg.getUid(); 3844 && disabledPs.getPkg().getRequestedPermissions().contains(eachPerm)) {
|