Home
last modified time | relevance | path

Searched refs:filterPermissions (Results 1 – 2 of 2) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java292 public boolean areRuntimePermissionsGranted(String[] filterPermissions) { in areRuntimePermissionsGranted() argument
299 if (filterPermissions != null in areRuntimePermissionsGranted()
300 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in areRuntimePermissionsGranted()
319 public boolean grantRuntimePermissions(boolean fixedByTheUser, String[] filterPermissions) { in grantRuntimePermissions() argument
326 if (filterPermissions != null in grantRuntimePermissions()
327 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in grantRuntimePermissions()
414 public boolean revokeRuntimePermissions(boolean fixedByTheUser, String[] filterPermissions) { in revokeRuntimePermissions() argument
421 if (filterPermissions != null in revokeRuntimePermissions()
422 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in revokeRuntimePermissions()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java228 final String[] filterPermissions = new String[]{perm.name}; in getMutablePreference() local
233 pref.setChecked(permGroup.areRuntimePermissionsGranted(filterPermissions)); in getMutablePreference()
242 permGroup.grantRuntimePermissions(false, filterPermissions); in getMutablePreference()
244 permGroup.revokeRuntimePermissions(false, filterPermissions); in getMutablePreference()