Searched refs:appPermissionGroup (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 277 AppPermissionGroup appPermissionGroup = null; in getPermissionForegroundGroup() local 283 appPermissionGroup = currentPermissionGroup; in getPermissionForegroundGroup() 289 appPermissionGroup = currentPermissionGroup.getBackgroundPermissions(); in getPermissionForegroundGroup() 294 if (appPermissionGroup == null) { in getPermissionForegroundGroup() 295 appPermissionGroup = AppPermissionGroup.create( in getPermissionForegroundGroup() 300 mGroups.add(appPermissionGroup); in getPermissionForegroundGroup() 302 return appPermissionGroup; in getPermissionForegroundGroup() 310 AppPermissionGroup appPermissionGroup) { in MyMultiTargetSwitchPreference() argument 313 setChecked(appPermissionGroup.areRuntimePermissionsGranted( in MyMultiTargetSwitchPreference() 319 appPermissionGroup.grantRuntimePermissions(false, false, in MyMultiTargetSwitchPreference() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | AllAppPermissionsFragment.java | 274 AppPermissionGroup appPermissionGroup) { in MyMultiTargetSwitchPreference() argument 277 setChecked(appPermissionGroup.areRuntimePermissionsGranted( in MyMultiTargetSwitchPreference() 283 appPermissionGroup.grantRuntimePermissions(true, false, in MyMultiTargetSwitchPreference() 291 if (appPermissionGroup.doesSupportRuntimePermissions()) { in MyMultiTargetSwitchPreference() 294 final int permissionCount = appPermissionGroup.getPermissions().size(); in MyMultiTargetSwitchPreference() 296 Permission current = appPermissionGroup.getPermissions().get(i); in MyMultiTargetSwitchPreference() 308 appPermissionGroup.revokeRuntimePermissions(true, in MyMultiTargetSwitchPreference() 310 } else if (appPermissionGroup.getPermissions().size() == grantedCount) { in MyMultiTargetSwitchPreference() 312 appPermissionGroup.grantRuntimePermissions(true, false); in MyMultiTargetSwitchPreference() 316 appPermissionGroup.revokeRuntimePermissions(true, in MyMultiTargetSwitchPreference() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionUsage.java | 322 private static Set<String> getAllOps(AppPermissionGroup appPermissionGroup) { in getAllOps() argument 324 List<Permission> permissions = appPermissionGroup.getPermissions(); in getAllOps() 334 if (appPermissionGroup.getName().equals(Manifest.permission_group.MICROPHONE)) { in getAllOps() 338 if (appPermissionGroup.getName().equals(Manifest.permission_group.CAMERA)) { in getAllOps() 436 AppPermissionGroup appPermissionGroup, in AttributionLabelledGroupUsage() argument 440 mAppPermissionGroup = appPermissionGroup; in AttributionLabelledGroupUsage() 476 Builder(int label, AppPermissionGroup appPermissionGroup) { in Builder() argument 478 mAppPermissionGroup = appPermissionGroup; in Builder()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 466 final AppPermissionGroup appPermissionGroup = appPermissions.getGroupForPermission( in onRevokeRuntimePermission() local 469 if (appPermissionGroup != null) { in onRevokeRuntimePermission() 470 appPermissionGroup.revokeRuntimePermissions(false); in onRevokeRuntimePermission()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionApps.java | 359 public PermissionApp(String packageName, AppPermissionGroup appPermissionGroup, in PermissionApp() argument 362 mAppPermissionGroup = appPermissionGroup; in PermissionApp()
|