Home
last modified time | relevance | path

Searched refs:CHANGE_BOTH (Results 1 – 3 of 3) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionPreference.java61 static final int CHANGE_BOTH = CHANGE_FOREGROUND | CHANGE_BACKGROUND; field in PermissionPreference
234 requestChange(switchView.isChecked(), CHANGE_BOTH); in updateUi()
275 requestChange(false, CHANGE_BOTH); in updateUi()
285 requestChange((Boolean) newValue, CHANGE_BOTH)); in updateUi() local
657 requestChange(true, CHANGE_BOTH); in onBackgroundAccessChosen()
668 requestChange(false, CHANGE_BOTH); in onBackgroundAccessChosen()
DAppPermissionFragment.java90 static final int CHANGE_BOTH = CHANGE_FOREGROUND | CHANGE_BACKGROUND; field in AppPermissionFragment
431 mAlwaysButton.setOnClickListener((v) -> requestChange(true, CHANGE_BOTH)); in updateButtons()
436 mDenyButton.setOnClickListener((v) -> requestChange(false, CHANGE_BOTH)); in updateButtons()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java71 static final int CHANGE_BOTH = CHANGE_FOREGROUND | CHANGE_BACKGROUND; field in AutoAppPermissionFragment
283 v -> requestChange(/* requestGrant= */true, CHANGE_BOTH)); in updateUi()
290 v -> requestChange(/* requestGrant= */ false, CHANGE_BOTH)); in updateUi()