Home
last modified time | relevance | path

Searched refs:VOLUME_HUSH_GESTURE (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceControllerTest.java87 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushOff_uncheck()
97 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushVibrate_setChecked()
107 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushMute_setChecked()
117 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushOff_checked_returnHushVibrate()
123 Settings.Secure.VOLUME_HUSH_GESTURE, UNKNOWN)).isEqualTo(VOLUME_HUSH_VIBRATE); in onSwitchChanged_wasHushOff_checked_returnHushVibrate()
128 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushMute_unchecked_returnHushOff()
134 Settings.Secure.VOLUME_HUSH_GESTURE, UNKNOWN)).isEqualTo(VOLUME_HUSH_OFF); in onSwitchChanged_wasHushMute_unchecked_returnHushOff()
140 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushMute_checked_returnHushMute()
146 Settings.Secure.VOLUME_HUSH_GESTURE, UNKNOWN)).isEqualTo(VOLUME_HUSH_MUTE); in onSwitchChanged_wasHushMute_checked_returnHushMute()
152 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushVibrate_checked_returnHushVibrate()
[all …]
DPreventRingingGesturePreferenceControllerTest.java83 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in testUpdateState_mute()
94 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in testUpdateState_vibrate()
105 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in testUpdateState_off()
116 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in testUpdateState_other()
128 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in testRadioButtonClicked_mute()
134 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_OFF)); in testRadioButtonClicked_mute()
142 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in testRadioButtonClicked_vibrate()
148 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_OFF)); in testRadioButtonClicked_vibrate()
DPreventRingingParentPreferenceControllerTest.java19 import static android.provider.Settings.Secure.VOLUME_HUSH_GESTURE;
81 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_summaryUpdated() local
86 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_summaryUpdated() local
91 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_summaryUpdated() local
/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceController.java66 Settings.Secure.VOLUME_HUSH_GESTURE, in displayPreference()
70 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked in displayPreference()
93 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in updateState()
106 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in onSwitchChanged()
112 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked in onSwitchChanged()
118 private final Uri VOLUME_HUSH_GESTURE = Settings.Secure.getUriFor( field in PreventRingingSwitchPreferenceController.SettingObserver
119 Settings.Secure.VOLUME_HUSH_GESTURE);
129 cr.registerContentObserver(VOLUME_HUSH_GESTURE, false, this); in register()
139 if (uri == null || VOLUME_HUSH_GESTURE.equals(uri)) { in onChange()
DPreventRingingGesturePreferenceController.java121 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE)) { in onRadioButtonClicked()
123 Settings.Secure.VOLUME_HUSH_GESTURE, preventRingingSetting); in onRadioButtonClicked()
130 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in updateState()
201 private final Uri VOLUME_HUSH_GESTURE = Settings.Secure.getUriFor( field in PreventRingingGesturePreferenceController.SettingObserver
202 Settings.Secure.VOLUME_HUSH_GESTURE);
212 cr.registerContentObserver(VOLUME_HUSH_GESTURE, false, this); in register()
222 if (uri == null || VOLUME_HUSH_GESTURE.equals(uri)) { in onChange()
DPreventRingingParentPreferenceController.java19 import static android.provider.Settings.Secure.VOLUME_HUSH_GESTURE;
31 final String SECURE_KEY = VOLUME_HUSH_GESTURE;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DPreventRingingSwitchPreferenceController.java66 Settings.Secure.VOLUME_HUSH_GESTURE, in displayPreference()
70 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked in displayPreference()
93 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in updateState()
106 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked ? Settings.Secure.VOLUME_HUSH_VIBRATE in onSwitchChanged()
111 private final Uri VOLUME_HUSH_GESTURE = Settings.Secure.getUriFor( field in PreventRingingSwitchPreferenceController.SettingObserver
112 Settings.Secure.VOLUME_HUSH_GESTURE);
122 cr.registerContentObserver(VOLUME_HUSH_GESTURE, false, this); in register()
132 if (uri == null || VOLUME_HUSH_GESTURE.equals(uri)) { in onChange()
DPreventRingingGesturePreferenceController.java121 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE)) { in onRadioButtonClicked()
123 Settings.Secure.VOLUME_HUSH_GESTURE, preventRingingSetting); in onRadioButtonClicked()
130 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in updateState()
201 private final Uri VOLUME_HUSH_GESTURE = Settings.Secure.getUriFor( field in PreventRingingGesturePreferenceController.SettingObserver
202 Settings.Secure.VOLUME_HUSH_GESTURE);
212 cr.registerContentObserver(VOLUME_HUSH_GESTURE, false, this); in register()
222 if (uri == null || VOLUME_HUSH_GESTURE.equals(uri)) { in onChange()
DPreventRingingParentPreferenceController.java19 import static android.provider.Settings.Secure.VOLUME_HUSH_GESTURE;
31 final String SECURE_KEY = VOLUME_HUSH_GESTURE;