Searched refs:isGranted (Results 1 – 8 of 8) sorted by relevance
286 return permissionData != null && permissionData.isGranted(userId); in hasPermission()732 public boolean isGranted(int userId) { in isGranted() method in PermissionsState.PermissionData750 if (isGranted(userId)) { in grant()770 if (!isGranted(userId)) { in revoke()866 public boolean isGranted() { in isGranted() method in PermissionsState.PermissionState
1110 if (permState != null && permState.isGranted() in restorePermissionState()1142 if (permState != null && permState.isGranted()) { in restorePermissionState()1245 if (permState != null && permState.isGranted() in restorePermissionState()1466 boolean isGranted = false; in inheritPermissionStateToNewImplicitPermissionLocked()1474 if (!isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked()1478 isGranted = true; in inheritPermissionStateToNewImplicitPermissionLocked()1481 if (!isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked()1487 if (isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked()2399 final boolean isGranted = permissionsState.hasPermission(permissionName, userId); in setWhitelistedRestrictedPermissionsForUser()2400 if (!isWhitelisted && isGranted) { in setWhitelistedRestrictedPermissionsForUser()
73 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
70 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
44 if (permission.isGranted()) { in getPermissionSummary()
2200 serializer.attribute(null, ATTR_GRANTED, String.valueOf(permissionState.isGranted())); in writePermissionsLPr()5022 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpRuntimePermissionsLPr()5064 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpInstallPermissionsLPr()5453 String.valueOf(permissionState.isGranted())); in writePermissions()
2234 method public boolean isGranted();
1811 method @Deprecated public boolean isGranted();5684 method public boolean isGranted();