Searched refs:hasRuntimePermission (Results 1 – 3 of 3) sorted by relevance
254 public boolean hasRuntimePermission(String name, int userId) { in hasRuntimePermission() method in PermissionsState344 if (hasRuntimePermission(permission, userId)) { in getPermissions()
1165 if (!permissionsState.hasRuntimePermission(bp.name, userId) in restorePermissionState()1286 if (!permissionsState.hasRuntimePermission(bp.name, userId) in restorePermissionState()1475 if ((ps.hasRuntimePermission(sourcePerm, userId)) in inheritPermissionStateToNewImplicitPermissionLocked()1989 if (disabledPs.getPermissionsState().hasRuntimePermission(permission, userId)) { in grantRuntimePermissionsGrantedToDisabledPackageLocked()2301 if (!permissionsState.hasRuntimePermission(permName, userId)) { in revokeRuntimePermission()
12162 HSPLcom/android/server/pm/permission/PermissionsState;->hasRuntimePermission(Ljava/lang/String;I)Z