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/
DPermissionsState.java113 PermissionData permissionData = other.mPermissions.valueAt(i); in copyFrom() local
114 mPermissions.put(name, new PermissionData(permissionData)); in copyFrom()
243 PermissionData permissionData = mPermissions.get(name); in hasPermission() local
244 return permissionData != null && permissionData.isGranted(userId); in hasPermission()
378 PermissionData permissionData = mPermissions.get(permission.name); in updatePermissionFlags() local
379 if (permissionData == null) { in updatePermissionFlags()
383 permissionData = ensurePermissionData(permission); in updatePermissionFlags()
386 final int oldFlags = permissionData.getFlags(userId); in updatePermissionFlags()
388 final boolean updated = permissionData.updateFlags(userId, flagMask, flagValues); in updatePermissionFlags()
390 final int newFlags = permissionData.getFlags(userId); in updatePermissionFlags()
[all …]