Home
last modified time | relevance | path

Searched refs:disabledPs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1113 final PackageSetting disabledPs = in grantSignaturePermission() local
1115 if (disabledPs != null in grantSignaturePermission()
1116 && disabledPs.getPermissionsState().hasInstallPermission(perm)) { in grantSignaturePermission()
1120 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1121 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1122 && canGrantOemPermission(disabledPs, perm))) { in grantSignaturePermission()
1132 if (disabledPs != null && disabledPkg != null in grantSignaturePermission()
1134 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1135 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1136 && canGrantOemPermission(disabledPs, perm)))) { in grantSignaturePermission()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java543 static boolean isApkVerificationForced(@Nullable PackageSetting disabledPs) { in isApkVerificationForced() argument
544 return disabledPs != null && disabledPs.isPrivileged() && isApkVerityEnabled(); in isApkVerificationForced()
DSettings.java1034 PackageSetting disabledPs = getDisabledSystemPkgLPr(deletedPs.pkg.packageName); in updateSharedUserPermsLPw() local
1038 if (disabledPs != null) { in updateSharedUserPermsLPw()
1040 for (String permission : disabledPs.pkg.requestedPermissions) { in updateSharedUserPermsLPw()
3219 final PackageSetting disabledPs = disabledIt.next(); in readLPw() local
3220 final Object id = getUserIdLPr(disabledPs.appId); in readLPw()
3222 disabledPs.sharedUser = (SharedUserSetting) id; in readLPw()
4246 PackageSetting disabledPs = mDisabledSysPackages.valueAt(i); in hasOtherDisabledSystemPkgWithChildLPr() local
4247 if (disabledPs.childPackageNames == null || disabledPs.childPackageNames.isEmpty()) { in hasOtherDisabledSystemPkgWithChildLPr()
4250 if (disabledPs.name.equals(parentPackageName)) { in hasOtherDisabledSystemPkgWithChildLPr()
4253 final int childCount = disabledPs.childPackageNames.size(); in hasOtherDisabledSystemPkgWithChildLPr()
[all …]
DPackageManagerService.java2825 final PackageSetting disabledPs = in PackageManagerService()
2827 if (disabledPs.codePath == null || !disabledPs.codePath.exists() in PackageManagerService()
2828 || disabledPs.pkg == null) { in PackageManagerService()
9062 PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(pkg.packageName);
9066 if (disabledPs != null && disabledPs.pkg.isStub) {
9070 getPrebuildProfilePath(disabledPs.pkg).replace(STUB_SUFFIX, "");
18563 final PackageSetting disabledPs;
18569 disabledPs = mSettings.getDisabledSystemPkgLPr(deletedPs.name);
18573 + " disabledPs=" + disabledPs);
18575 if (disabledPs == null) {
[all …]