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.java1744 final PackageSetting disabledPs = in grantSignaturePermission() local
1746 if (disabledPs != null in grantSignaturePermission()
1747 && disabledPs.getPermissionsState().hasInstallPermission(perm)) { in grantSignaturePermission()
1751 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1752 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1753 && canGrantOemPermission(disabledPs, perm))) { in grantSignaturePermission()
1763 if (disabledPs != null && disabledPkg != null in grantSignaturePermission()
1765 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1766 || (oemPermission && disabledPs.isOem() in grantSignaturePermission()
1767 && 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()
4167 PackageSetting disabledPs = mDisabledSysPackages.valueAt(i); in hasOtherDisabledSystemPkgWithChildLPr() local
4168 if (disabledPs.childPackageNames == null || disabledPs.childPackageNames.isEmpty()) { in hasOtherDisabledSystemPkgWithChildLPr()
4171 if (disabledPs.name.equals(parentPackageName)) { in hasOtherDisabledSystemPkgWithChildLPr()
4174 final int childCount = disabledPs.childPackageNames.size(); in hasOtherDisabledSystemPkgWithChildLPr()
[all …]
DPackageManagerService.java2870 final PackageSetting disabledPs = in PackageManagerService()
2872 if (disabledPs.codePath == null || !disabledPs.codePath.exists() in PackageManagerService()
2873 || disabledPs.pkg == null) { in PackageManagerService()
2879 mExpectingBetter.put(disabledPs.name, disabledPs.codePath); in PackageManagerService()
9648 PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(pkg.packageName);
9652 if (disabledPs != null && disabledPs.pkg.isStub) {
9656 getPrebuildProfilePath(disabledPs.pkg).replace(STUB_SUFFIX, "");
12899 final PackageSetting disabledPs = mSettings.getDisabledSystemPkgLPr(packageName);
12900 if (disabledPs == null) {
12903 pkg = disabledPs.pkg;
[all …]