Home
last modified time | relevance | path

Searched refs:isGranted (Results 1 – 9 of 9) 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.java1113 if (permState != null && permState.isGranted() in restorePermissionState()
1145 if (permState != null && permState.isGranted()) { in restorePermissionState()
1248 if (permState != null && permState.isGranted() in restorePermissionState()
1469 boolean isGranted = false; in inheritPermissionStateToNewImplicitPermissionLocked()
1477 if (!isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked()
1481 isGranted = true; in inheritPermissionStateToNewImplicitPermissionLocked()
1484 if (!isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked()
1490 if (isGranted) { in inheritPermissionStateToNewImplicitPermissionLocked()
2420 final boolean isGranted = permissionsState.hasPermission(permissionName, in setWhitelistedRestrictedPermissions()
2422 if (!isWhitelisted && isGranted) { in setWhitelistedRestrictedPermissions()
/frameworks/base/core/java/android/content/pm/permission/
DRuntimePermissionPresentationInfo.java73 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/core/java/android/permission/
DRuntimePermissionPresentationInfo.java70 public boolean isGranted() { in isGranted() method in RuntimePermissionPresentationInfo
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java2200 serializer.attribute(null, ATTR_GRANTED, String.valueOf(permissionState.isGranted())); in writePermissionsLPr()
5027 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpRuntimePermissionsLPr()
5069 pw.print(": granted="); pw.print(permissionState.isGranted()); in dumpInstallPermissionsLPr()
5458 String.valueOf(permissionState.isGranted())); in writePermissions()
/frameworks/base/api/
Dtest-current.txt2485 method public boolean isGranted();
Dsystem-current.txt1998 method @Deprecated public boolean isGranted();
6430 method public boolean isGranted();
/frameworks/base/non-updatable-api/
Dsystem-current.txt1998 method @Deprecated public boolean isGranted();
6328 method public boolean isGranted();