Home
last modified time | relevance | path

Searched refs:readSetting (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationIntensityPreferenceControllerTest.java189 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_mainSwitchDisabled_ignoresUpdates()
197 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_allSupportedPositions_updatesIntensitySetting()
200 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_allSupportedPositions_updatesIntensitySetting()
203 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_allSupportedPositions_updatesIntensitySetting()
206 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_allSupportedPositions_updatesIntensitySetting()
214 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
217 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
220 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
223 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
233 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_oneSupportedPosition_updatesOnPositionsToDeviceDefault()
[all …]
DHapticFeedbackIntensityPreferenceControllerTest.java163 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
165 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(OFF); in setProgress_updatesIntensityAndDependentSettings()
168 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
170 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(ON); in setProgress_updatesIntensityAndDependentSettings()
173 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
175 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(ON); in setProgress_updatesIntensityAndDependentSettings()
178 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
180 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(ON); in setProgress_updatesIntensityAndDependentSettings()
183 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
185 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(OFF); in setProgress_updatesIntensityAndDependentSettings()
[all …]
DRingVibrationIntensityPreferenceControllerTest.java171 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
173 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(OFF); in setProgress_updatesIntensityAndDependentSettings()
176 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
178 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(ON); in setProgress_updatesIntensityAndDependentSettings()
181 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
183 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(ON); in setProgress_updatesIntensityAndDependentSettings()
186 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
188 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(ON); in setProgress_updatesIntensityAndDependentSettings()
191 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)) in setProgress_updatesIntensityAndDependentSettings()
193 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(OFF); in setProgress_updatesIntensityAndDependentSettings()
[all …]
DVibrationTogglePreferenceControllerTest.java147 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_mainSwitchDisabled_ignoresUpdates()
155 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesCheckedState()
158 assertThat(readSetting(SETTING_KEY)) in setProgress_updatesCheckedState()
162 assertThat(readSetting(SETTING_KEY)).isEqualTo(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesCheckedState()
169 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in VibrationTogglePreferenceControllerTest
DNotificationVibrationIntensityPreferenceControllerTest.java151 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
155 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
159 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
163 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
171 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in NotificationVibrationIntensityPreferenceControllerTest
DHapticFeedbackTogglePreferenceControllerTest.java160 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings()
162 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(ON); in setChecked_updatesIntensityAndDependentSettings()
165 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings()
167 assertThat(readSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED)).isEqualTo(OFF); in setChecked_updatesIntensityAndDependentSettings()
174 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in HapticFeedbackTogglePreferenceControllerTest
DAlarmVibrationIntensityPreferenceControllerTest.java142 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
146 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
150 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
154 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
162 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in AlarmVibrationIntensityPreferenceControllerTest
DRingVibrationTogglePreferenceControllerTest.java169 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)).isEqualTo( in setChecked_updatesIntensityAndDependentSettings()
171 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(ON); in setChecked_updatesIntensityAndDependentSettings()
174 assertThat(readSetting(Settings.System.RING_VIBRATION_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings()
176 assertThat(readSetting(Settings.System.VIBRATE_WHEN_RINGING)).isEqualTo(OFF); in setChecked_updatesIntensityAndDependentSettings()
183 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in RingVibrationTogglePreferenceControllerTest
DMediaVibrationIntensityPreferenceControllerTest.java151 assertThat(readSetting(Settings.System.MEDIA_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
155 assertThat(readSetting(Settings.System.MEDIA_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
159 assertThat(readSetting(Settings.System.MEDIA_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
163 assertThat(readSetting(Settings.System.MEDIA_VIBRATION_INTENSITY)) in setProgress_updatesIntensitySetting()
197 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in MediaVibrationIntensityPreferenceControllerTest
DVibrationMainSwitchPreferenceControllerTest.java93 assertThat(readSetting(Settings.System.VIBRATE_ON)).isEqualTo(ON); in setChecked_updatesSetting()
96 assertThat(readSetting(Settings.System.VIBRATE_ON)).isEqualTo(OFF); in setChecked_updatesSetting()
103 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in VibrationMainSwitchPreferenceControllerTest
DNotificationVibrationTogglePreferenceControllerTest.java147 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)).isEqualTo( in setChecked_updatesIntensityAndDependentSettings()
151 assertThat(readSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings()
159 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in NotificationVibrationTogglePreferenceControllerTest
DAlarmVibrationTogglePreferenceControllerTest.java138 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)).isEqualTo( in setChecked_updatesIntensityAndDependentSettings()
142 assertThat(readSetting(Settings.System.ALARM_VIBRATION_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings()
150 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in AlarmVibrationTogglePreferenceControllerTest
DMediaVibrationTogglePreferenceControllerTest.java149 assertThat(readSetting(Settings.System.MEDIA_VIBRATION_INTENSITY)).isEqualTo( in setChecked_updatesIntensityAndDependentSettings()
153 assertThat(readSetting(Settings.System.MEDIA_VIBRATION_INTENSITY)) in setChecked_updatesIntensityAndDependentSettings()
187 private int readSetting(String settingKey) throws Settings.SettingNotFoundException { in readSetting() method in MediaVibrationTogglePreferenceControllerTest