Lines Matching refs:allowed
2473 + " is not allowed to add to permission tree "
2552 "Not allowed to modify non-dynamic permission "
2603 "Not allowed to modify non-dynamic permission "
5973 boolean allowed = false;
5977 // of nasty edge cases: for example if we allowed a non-
5981 // have allowed apps on the device which aren't compatible
5990 allowed = true;
5991 allowed = true;
5997 allowed = true;
5999 if (allowed) {
7100 boolean allowed;
7122 allowed = (required || origPermissions.contains(perm)
7126 allowed = false;
7128 allowed = grantSignaturePermission(perm, pkg, bp, origPermissions);
7129 if (allowed) {
7133 allowed = false;
7140 if (allowed) {
7148 allowed = isNewPlatformPermissionForPackage(perm, pkg);
7151 if (allowed) {
7200 boolean allowed = false;
7207 allowed = true;
7213 return allowed;
7218 boolean allowed;
7219 allowed = (compareSignatures(
7224 if (!allowed && (bp.protectionLevel
7240 allowed = true;
7254 allowed = true;
7261 allowed = isPrivilegedApp(pkg);
7265 if (!allowed && (bp.protectionLevel
7269 allowed = origPermissions.contains(perm);
7271 return allowed;
8463 enforceSystemOrRoot("Only the system is allowed to finish installs");