Home
last modified time | relevance | path

Searched refs:permissionData (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java119 PermissionData permissionData = other.mPermissions.valueAt(i); in copyFrom() local
120 mPermissions.put(name, new PermissionData(permissionData)); in copyFrom()
284 PermissionData permissionData = mPermissions.get(name); in hasPermission() local
286 return permissionData != null && permissionData.isGranted(userId); in hasPermission()
437 PermissionData permissionData = null; in updatePermissionFlags() local
439 permissionData = mPermissions.get(permission.getName()); in updatePermissionFlags()
442 if (permissionData == null) { in updatePermissionFlags()
446 permissionData = ensurePermissionData(permission); in updatePermissionFlags()
449 final int oldFlags = permissionData.getFlags(userId); in updatePermissionFlags()
451 final boolean updated = permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlags()
[all …]