Searched refs:filterPermissions (Results 1 – 2 of 2) sorted by relevance
292 public boolean areRuntimePermissionsGranted(String[] filterPermissions) { in areRuntimePermissionsGranted() argument299 if (filterPermissions != null in areRuntimePermissionsGranted()300 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in areRuntimePermissionsGranted()319 public boolean grantRuntimePermissions(boolean fixedByTheUser, String[] filterPermissions) { in grantRuntimePermissions() argument326 if (filterPermissions != null in grantRuntimePermissions()327 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in grantRuntimePermissions()414 public boolean revokeRuntimePermissions(boolean fixedByTheUser, String[] filterPermissions) { in revokeRuntimePermissions() argument421 if (filterPermissions != null in revokeRuntimePermissions()422 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in revokeRuntimePermissions()
228 final String[] filterPermissions = new String[]{perm.name}; in getMutablePreference() local233 pref.setChecked(permGroup.areRuntimePermissionsGranted(filterPermissions)); in getMutablePreference()242 permGroup.grantRuntimePermissions(false, filterPermissions); in getMutablePreference()244 permGroup.revokeRuntimePermissions(false, filterPermissions); in getMutablePreference()