Home
last modified time | relevance | path

Searched refs:appPermissionGroup (Results 1 – 4 of 4) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java298 AppPermissionGroup appPermissionGroup = null; in getPermissionForegroundGroup() local
304 appPermissionGroup = currentPermissionGroup; in getPermissionForegroundGroup()
310 appPermissionGroup = currentPermissionGroup.getBackgroundPermissions(); in getPermissionForegroundGroup()
315 if (appPermissionGroup == null) { in getPermissionForegroundGroup()
316 appPermissionGroup = AppPermissionGroup.create( in getPermissionForegroundGroup()
321 mGroups.add(appPermissionGroup); in getPermissionForegroundGroup()
323 return appPermissionGroup; in getPermissionForegroundGroup()
328 AppPermissionGroup appPermissionGroup) { in MyMultiTargetSwitchPreference() argument
331 setChecked(appPermissionGroup.areRuntimePermissionsGranted( in MyMultiTargetSwitchPreference()
337 appPermissionGroup.grantRuntimePermissions(false, in MyMultiTargetSwitchPreference()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java277 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, in MyMultiTargetSwitchPreference()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionControllerServiceImpl.java419 final AppPermissionGroup appPermissionGroup = appPermissions.getGroupForPermission( in onRevokeRuntimePermission() local
422 if (appPermissionGroup != null) { in onRevokeRuntimePermission()
423 appPermissionGroup.revokeRuntimePermissions(false); in onRevokeRuntimePermission()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionApps.java357 public PermissionApp(String packageName, AppPermissionGroup appPermissionGroup, in PermissionApp() argument
360 mAppPermissionGroup = appPermissionGroup; in PermissionApp()