Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DReviewPermissionsWearFragment.java232 PermissionSwitchPreference permPreference = (PermissionSwitchPreference) in onPreferenceChange() local
234 permPreference.setChanged(); in onPreferenceChange()
235 if (permPreference.isChecked()) { in onPreferenceChange()
236 showWarnRevokeDialog(permPreference); in onPreferenceChange()
278 PermissionSwitchPreference permPreference = (PermissionSwitchPreference) in confirmPermissionsReview() local
282 if (group.isReviewRequired() || permPreference.wasChanged()) { in confirmPermissionsReview()
283 if (permPreference.isChecked()) { in confirmPermissionsReview()
295 if (backgroundGroup.isReviewRequired() && !permPreference.wasChanged()) { in confirmPermissionsReview()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DReviewPermissionsFragment.java212 PermissionReviewPreference permPreference = in confirmPermissionsReview() local
214 LightAppPermGroup group = permPreference.getGroup(); in confirmPermissionsReview()
217 if (permPreference.getState().and( in confirmPermissionsReview()
222 if (permPreference.getState().and( in confirmPermissionsReview()
227 if (permPreference.getState() == PermissionTarget.PERMISSION_NONE) { in confirmPermissionsReview()