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.java129 PermissionData permissionData = other.mPermissions.valueAt(i); in copyFrom() local
130 mPermissions.put(name, new PermissionData(permissionData)); in copyFrom()
344 PermissionData permissionData = mPermissions.get(name); in hasPermission() local
346 return permissionData != null && permissionData.isGranted(userId); in hasPermission()
497 PermissionData permissionData = null; in updatePermissionFlags() local
499 permissionData = mPermissions.get(permission.getName()); in updatePermissionFlags()
502 if (permissionData == null) { in updatePermissionFlags()
506 permissionData = ensurePermissionData(permission); in updatePermissionFlags()
509 final int oldFlags = permissionData.getFlags(userId); in updatePermissionFlags()
511 final boolean updated = permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlags()
[all …]