/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | VibrationIntensityPreferenceControllerTest.java | 189 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 …]
|
D | HapticFeedbackIntensityPreferenceControllerTest.java | 163 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 …]
|
D | RingVibrationIntensityPreferenceControllerTest.java | 171 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 …]
|
D | VibrationTogglePreferenceControllerTest.java | 147 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
|
D | NotificationVibrationIntensityPreferenceControllerTest.java | 151 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
|
D | HapticFeedbackTogglePreferenceControllerTest.java | 160 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
|
D | AlarmVibrationIntensityPreferenceControllerTest.java | 142 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
|
D | RingVibrationTogglePreferenceControllerTest.java | 169 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
|
D | MediaVibrationIntensityPreferenceControllerTest.java | 151 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
|
D | VibrationMainSwitchPreferenceControllerTest.java | 93 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
|
D | NotificationVibrationTogglePreferenceControllerTest.java | 147 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
|
D | AlarmVibrationTogglePreferenceControllerTest.java | 138 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
|
D | MediaVibrationTogglePreferenceControllerTest.java | 149 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
|