Home | History | Annotate | Download | only in permission

Lines Matching defs:permission

17 package com.android.server.pm.permission;
19 import static android.Manifest.permission.READ_EXTERNAL_STORAGE;
33 import android.content.pm.PackageParser.Permission;
91 PackageParser.Permission perm;
95 /** UID that owns the definition of this permission */
98 /** Additional GIDs given to apps granted this permission */
146 public void setPermission(@Nullable Permission perm) {
172 public boolean isPermission(Permission perm) {
261 perm = new PackageParser.Permission(tree.perm.owner, info);
268 if (PackageManagerService.DEBUG_SETTINGS) Log.v(TAG, "Dynamic permission: name="
275 perm = new PackageParser.Permission(tree.perm.owner,
284 static BasePermission createOrUpdate(@Nullable BasePermission bp, @NonNull Permission p,
294 // It's a built-in permission and no owner, take ownership now
301 String msg = "New decl " + p.owner + " of permission "
332 Slog.w(TAG, "Permission " + p.info.name + " from package "
338 Slog.w(TAG, "Permission " + p.info.name + " from package "
369 + " is not allowed to add to permission tree "
373 throw new SecurityException("No permission tree found for " + permName);
380 + " has not requested permission " + name);
383 throw new SecurityException("Permission " + name
384 + " is not a changeable permission type");
450 // If the permission is builtin, do not clobber it.
556 pw.print(" Permission ["); pw.print(name); pw.print("] (");