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.java1738 final PackageSetting disabledPs = in grantSignaturePermission() local
1740 if (disabledPs != null in grantSignaturePermission()
1741 && disabledPs.getPermissionsState().hasInstallPermission(perm)) { in grantSignaturePermission()
1745 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1746 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1747 && canGrantOemPermission(disabledPs, perm))) { in grantSignaturePermission()
1757 if (disabledPs != null && disabledPkg != null in grantSignaturePermission()
1759 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1760 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1761 && canGrantOemPermission(disabledPs, perm)))) { in grantSignaturePermission()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java569 static boolean isApkVerificationForced(@Nullable PackageSetting disabledPs) { in isApkVerificationForced() argument
570 return disabledPs != null && disabledPs.isPrivileged() && ( in isApkVerificationForced()
DSettings.java971 PackageSetting disabledPs = getDisabledSystemPkgLPr(deletedPs.pkg.packageName); in updateSharedUserPermsLPw() local
975 if (disabledPs != null) { in updateSharedUserPermsLPw()
977 for (String permission : disabledPs.pkg.requestedPermissions) { in updateSharedUserPermsLPw()
3128 final PackageSetting disabledPs = disabledIt.next(); in readLPw() local
3129 final Object id = getSettingLPr(disabledPs.appId); in readLPw()
3131 disabledPs.sharedUser = (SharedUserSetting) id; in readLPw()
4162 PackageSetting disabledPs = mDisabledSysPackages.valueAt(i); in hasOtherDisabledSystemPkgWithChildLPr() local
4163 if (disabledPs.childPackageNames == null || disabledPs.childPackageNames.isEmpty()) { in hasOtherDisabledSystemPkgWithChildLPr()
4166 if (disabledPs.name.equals(parentPackageName)) { in hasOtherDisabledSystemPkgWithChildLPr()
4169 final int childCount = disabledPs.childPackageNames.size(); in hasOtherDisabledSystemPkgWithChildLPr()
[all …]
DPackageManagerService.java2885 final PackageSetting disabledPs = in PackageManagerService()
2887 if (disabledPs.codePath == null || !disabledPs.codePath.exists() in PackageManagerService()
2888 || disabledPs.pkg == null) { in PackageManagerService()
2894 mExpectingBetter.put(disabledPs.name, disabledPs.codePath); in PackageManagerService()
9712 PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(pkg.packageName);
9716 if (disabledPs != null && disabledPs.pkg.isStub) {
9720 getPrebuildProfilePath(disabledPs.pkg).replace(STUB_SUFFIX, "");
13351 final PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(packageName);
13352 if (disabledPs == null) {
13355 pkg = disabledPs.pkg;
[all …]