Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionPreference.java57 @IntDef(value = {CHANGE_FOREGROUND, CHANGE_BACKGROUND}, flag = true)
59 static final int CHANGE_FOREGROUND = 1; field in PermissionPreference
61 static final int CHANGE_BOTH = CHANGE_FOREGROUND | CHANGE_BACKGROUND;
247 requestChange((Boolean) newValue, CHANGE_FOREGROUND)); in updateUi() local
253 requestChange((Boolean) newValue, CHANGE_FOREGROUND)); in updateUi() local
484 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
494 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
511 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
549 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in showDefaultDenyDialog()
626 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in onDenyAnyWay()
[all …]
DAppPermissionFragment.java86 @IntDef(value = {CHANGE_FOREGROUND, CHANGE_BACKGROUND}, flag = true)
88 static final int CHANGE_FOREGROUND = 1; field in AppPermissionFragment
90 static final int CHANGE_BOTH = CHANGE_FOREGROUND | CHANGE_BACKGROUND;
434 requestChange(true, CHANGE_FOREGROUND); in updateButtons()
483 mDenyButton.setOnClickListener((v) -> requestChange(false, CHANGE_FOREGROUND)); in updateButtons()
493 (v) -> requestChange(false, CHANGE_FOREGROUND)); in updateButtons()
791 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
811 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
833 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
877 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in showDefaultDenyDialog()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java65 @IntDef(value = {CHANGE_FOREGROUND, CHANGE_BACKGROUND}, flag = true)
69 static final int CHANGE_FOREGROUND = 1; field in AutoAppPermissionFragment
71 static final int CHANGE_BOTH = CHANGE_FOREGROUND | CHANGE_BACKGROUND;
286 requestChange(/* requestGrant= */true, CHANGE_FOREGROUND); in updateUi()
338 CHANGE_FOREGROUND)); in updateUi()
348 v -> requestChange(false, CHANGE_FOREGROUND)); in updateUi()
606 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
625 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
646 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
689 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in showDefaultDenyDialog()
[all …]