Searched refs:filterPermissions (Results 1 – 3 of 3) sorted by relevance
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 303 public boolean areRuntimePermissionsGranted(String[] filterPermissions) { in areRuntimePermissionsGranted() argument 310 if (filterPermissions != null in areRuntimePermissionsGranted() 311 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in areRuntimePermissionsGranted() 330 public boolean grantRuntimePermissions(boolean fixedByTheUser, String[] filterPermissions) { in grantRuntimePermissions() argument 337 if (filterPermissions != null in grantRuntimePermissions() 338 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in grantRuntimePermissions() 430 public boolean revokeRuntimePermissions(boolean fixedByTheUser, String[] filterPermissions) { in revokeRuntimePermissions() argument 437 if (filterPermissions != null in revokeRuntimePermissions() 438 && !ArrayUtils.contains(filterPermissions, permission.getName())) { in revokeRuntimePermissions()
|
D | AppPermissions.java | 46 public AppPermissions(Context context, PackageInfo packageInfo, String[] filterPermissions, in AppPermissions() argument 50 mFilterPermissions = filterPermissions; in AppPermissions()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 240 final String[] filterPermissions = new String[]{perm.name}; in getMutablePreference() local 245 pref.setChecked(permGroup.areRuntimePermissionsGranted(filterPermissions)); in getMutablePreference() 254 permGroup.grantRuntimePermissions(false, filterPermissions); in getMutablePreference() 256 permGroup.revokeRuntimePermissions(false, filterPermissions); in getMutablePreference()
|