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.java1739 final PackageSetting disabledPs = in grantSignaturePermission() local
1741 if (disabledPs != null in grantSignaturePermission()
1742 && disabledPs.getPermissionsState().hasInstallPermission(perm)) { in grantSignaturePermission()
1746 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1747 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1748 && canGrantOemPermission(disabledPs, perm))) { in grantSignaturePermission()
1758 if (disabledPs != null && disabledPkg != null in grantSignaturePermission()
1760 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1761 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1762 && 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()
3132 final PackageSetting disabledPs = disabledIt.next(); in readLPw() local
3133 final Object id = getSettingLPr(disabledPs.appId); in readLPw()
3135 disabledPs.sharedUser = (SharedUserSetting) id; in readLPw()
4166 PackageSetting disabledPs = mDisabledSysPackages.valueAt(i); in hasOtherDisabledSystemPkgWithChildLPr() local
4167 if (disabledPs.childPackageNames == null || disabledPs.childPackageNames.isEmpty()) { in hasOtherDisabledSystemPkgWithChildLPr()
4170 if (disabledPs.name.equals(parentPackageName)) { in hasOtherDisabledSystemPkgWithChildLPr()
4173 final int childCount = disabledPs.childPackageNames.size(); in hasOtherDisabledSystemPkgWithChildLPr()
[all …]
DPackageManagerService.java2878 final PackageSetting disabledPs = in PackageManagerService()
2880 if (disabledPs.codePath == null || !disabledPs.codePath.exists() in PackageManagerService()
2881 || disabledPs.pkg == null) { in PackageManagerService()
2887 mExpectingBetter.put(disabledPs.name, disabledPs.codePath); in PackageManagerService()
9704 PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(pkg.packageName);
9708 if (disabledPs != null && disabledPs.pkg.isStub) {
9712 getPrebuildProfilePath(disabledPs.pkg).replace(STUB_SUFFIX, "");
13343 final PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(packageName);
13344 if (disabledPs == null) {
13347 pkg = disabledPs.pkg;
[all …]