Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java286 return permissionData != null && permissionData.isGranted(userId); in hasPermission()
732 public boolean isGranted(int userId) { in isGranted() method in PermissionsState.PermissionData
750 if (isGranted(userId)) { in grant()
770 if (!isGranted(userId)) { in revoke()
866 public boolean isGranted() { in isGranted() method in PermissionsState.PermissionState
DPermissionManagerService.java1110 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()
/frameworks/base/core/java/android/content/pm/permission/
DRuntimePermissionPresentationInfo.java73 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
/frameworks/base/core/java/android/permission/
DRuntimePermissionPresentationInfo.java70 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DPermissionsSummaryHelper.java44 if (permission.isGranted()) { in getPermissionSummary()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java2200 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()
/frameworks/base/api/
Dtest-current.txt2234 method public boolean isGranted();
Dsystem-current.txt1811 method @Deprecated public boolean isGranted();
5684 method public boolean isGranted();