Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceControllerTest.java86 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushOff_uncheck()
96 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushVibrate_setChecked()
106 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in updateState_hushMute_setChecked()
116 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushOff_checked_returnHushVibrate()
122 Settings.Secure.VOLUME_HUSH_GESTURE, UNKNOWN)).isEqualTo(VOLUME_HUSH_VIBRATE); in onSwitchChanged_wasHushOff_checked_returnHushVibrate()
127 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushMute_unchecked_returnHushOff()
133 Settings.Secure.VOLUME_HUSH_GESTURE, UNKNOWN)).isEqualTo(VOLUME_HUSH_OFF); in onSwitchChanged_wasHushMute_unchecked_returnHushOff()
139 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.VOLUME_HUSH_GESTURE, in onSwitchChanged_wasHushMute_checked_returnHushMute()
145 Settings.Secure.VOLUME_HUSH_GESTURE, UNKNOWN)).isEqualTo(VOLUME_HUSH_MUTE); in onSwitchChanged_wasHushMute_checked_returnHushMute()
151 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;
124 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_summaryUpdated() local
130 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_summaryUpdated() local
136 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_summaryUpdated() local
148 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in updateState_keyChordDisabled_summaryUpdated() local
160 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in isChecked_vibrate_shouldReturnTrue() local
168 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in isChecked_mute_shouldReturnTrue() local
176 Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE, in isChecked_off_shouldReturnFalse() local
/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingGesturePreferenceController.java106 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE)) { in onRadioButtonClicked()
108 Settings.Secure.VOLUME_HUSH_GESTURE, preventRingingSetting); in onRadioButtonClicked()
115 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in updateState()
171 private final Uri VOLUME_HUSH_GESTURE = Settings.Secure.getUriFor( field in PreventRingingGesturePreferenceController.SettingObserver
172 Settings.Secure.VOLUME_HUSH_GESTURE);
182 cr.registerContentObserver(VOLUME_HUSH_GESTURE, false, this); in register()
192 if (uri == null || VOLUME_HUSH_GESTURE.equals(uri)) { in onChange()
DPreventRingingSwitchPreferenceController.java60 Settings.Secure.VOLUME_HUSH_GESTURE, in displayPreference()
64 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked in displayPreference()
86 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in updateState()
99 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in onCheckedChanged()
105 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked in onCheckedChanged()
DPreventRingingParentPreferenceController.java19 import static android.provider.Settings.Secure.VOLUME_HUSH_GESTURE;
49 final String SECURE_KEY = VOLUME_HUSH_GESTURE;
72 Settings.Secure.VOLUME_HUSH_GESTURE, in isChecked()
80 Settings.Secure.VOLUME_HUSH_GESTURE, Settings.Secure.VOLUME_HUSH_VIBRATE); in setChecked()
86 Settings.Secure.VOLUME_HUSH_GESTURE, isChecked in setChecked()
177 Settings.Secure.VOLUME_HUSH_GESTURE);