/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | VibrationIntensityPreferenceControllerTest.java | 95 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 97 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 102 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 107 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 117 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_allLevelsSupported_shouldDisplayIntensityInSliderPosition() 121 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_MEDIUM); in updateState_allLevelsSupported_shouldDisplayIntensityInSliderPosition() 125 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_allLevelsSupported_shouldDisplayIntensityInSliderPosition() 129 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_allLevelsSupported_shouldDisplayIntensityInSliderPosition() 138 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_twoLevelsSupported_shouldDisplayMediumAndHighAtLastPosition() 142 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_MEDIUM); in updateState_twoLevelsSupported_shouldDisplayMediumAndHighAtLastPosition() [all …]
|
D | VibrationTogglePreferenceControllerTest.java | 95 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 97 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 102 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 107 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() 115 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldUpdateToggleState() 119 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldUpdateToggleState() 123 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_MEDIUM); in updateState_shouldUpdateToggleState() 127 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldUpdateToggleState() 131 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldUpdateToggleState() 138 updateSetting(SETTING_KEY, Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_mainSwitchDisabled_ignoresUpdates() [all …]
|
D | HapticFeedbackTogglePreferenceControllerTest.java | 93 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 113 updateSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED, OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 115 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 119 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 124 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 128 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 135 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 139 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_shouldDisplayOnOffState() 144 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayOnOffState() 148 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayOnOffState() [all …]
|
D | RingVibrationTogglePreferenceControllerTest.java | 94 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 122 updateSetting(Settings.System.VIBRATE_WHEN_RINGING, OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 124 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 128 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 133 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 137 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldIgnoreAndUseIntensity() 144 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 148 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 153 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayOnOffState() 157 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayOnOffState() [all …]
|
D | HapticFeedbackIntensityPreferenceControllerTest.java | 100 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 120 updateSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED, OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 122 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 126 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 131 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 135 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_hapticFeedbackDisabled_shouldDisplayAlwaysOff() 142 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 146 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 151 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayIntensityInSliderPosition() 155 updateSetting(Settings.System.HAPTIC_FEEDBACK_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayIntensityInSliderPosition() [all …]
|
D | RingVibrationIntensityPreferenceControllerTest.java | 101 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 128 updateSetting(Settings.System.VIBRATE_WHEN_RINGING, OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 130 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 134 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 139 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 143 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_vibrateWhenRingingAndRampingRingerOff_shouldDisplayRingIntensity() 150 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 154 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 159 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayIntensityInSliderPosition() 163 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayIntensityInSliderPosition() [all …]
|
D | NotificationVibrationTogglePreferenceControllerTest.java | 92 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 118 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 123 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 128 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 133 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 141 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in setChecked_updatesIntensityAndDependentSettings() 155 private void updateSetting(String key, int value) { in updateSetting() method in NotificationVibrationTogglePreferenceControllerTest
|
D | AlarmVibrationTogglePreferenceControllerTest.java | 93 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 113 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 117 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 122 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayOnOffState() 126 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayOnOffState() 133 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in setChecked_updatesIntensityAndDependentSettings() 146 private void updateSetting(String key, int value) { in updateSetting() method in AlarmVibrationTogglePreferenceControllerTest
|
D | MediaVibrationTogglePreferenceControllerTest.java | 104 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 124 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayOnOffState() 128 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, in updateState_shouldDisplayOnOffState() 133 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayOnOffState() 137 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayOnOffState() 144 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in setChecked_updatesIntensityAndDependentSettings() 183 private void updateSetting(String key, int value) { in updateSetting() method in MediaVibrationTogglePreferenceControllerTest
|
D | NotificationVibrationIntensityPreferenceControllerTest.java | 99 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_ringerModeUpdates_shouldPreserveSettingAndDisplaySummary() 126 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 131 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 136 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 141 updateSetting(Settings.System.NOTIFICATION_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 167 private void updateSetting(String key, int value) { in updateSetting() method in NotificationVibrationIntensityPreferenceControllerTest
|
D | AlarmVibrationIntensityPreferenceControllerTest.java | 100 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 120 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 124 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 129 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayIntensityInSliderPosition() 133 updateSetting(Settings.System.ALARM_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayIntensityInSliderPosition() 158 private void updateSetting(String key, int value) { in updateSetting() method in AlarmVibrationIntensityPreferenceControllerTest
|
D | VibrationRampingRingerTogglePreferenceControllerTest.java | 113 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_withRingDisabled_shouldReturnFalseForCheckedAndEnabled() 123 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_withRingEnabled_shouldReturnTheSettingStateAndAlwaysEnabled() 137 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in setChecked_withRingDisabled_ignoresUpdates() 146 updateSetting(Settings.System.RING_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in setChecked_withRingEnabled_updatesSetting() 155 private void updateSetting(String key, int value) { in updateSetting() method in VibrationRampingRingerTogglePreferenceControllerTest
|
D | MediaVibrationIntensityPreferenceControllerTest.java | 109 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_ringerModeUpdates_shouldNotAffectSettings() 129 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_HIGH); in updateState_shouldDisplayIntensityInSliderPosition() 133 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, in updateState_shouldDisplayIntensityInSliderPosition() 138 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_LOW); in updateState_shouldDisplayIntensityInSliderPosition() 142 updateSetting(Settings.System.MEDIA_VIBRATION_INTENSITY, Vibrator.VIBRATION_INTENSITY_OFF); in updateState_shouldDisplayIntensityInSliderPosition() 193 private void updateSetting(String key, int value) { in updateSetting() method in MediaVibrationIntensityPreferenceControllerTest
|
D | VibrationMainSwitchPreferenceControllerTest.java | 77 updateSetting(Settings.System.VIBRATE_ON, ON); in updateState_shouldReturnTheSettingState() 81 updateSetting(Settings.System.VIBRATE_ON, OFF); in updateState_shouldReturnTheSettingState() 88 updateSetting(Settings.System.VIBRATE_ON, OFF); in setChecked_updatesSetting() 99 private void updateSetting(String key, int value) { in updateSetting() method in VibrationMainSwitchPreferenceControllerTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | DeviceStateAutoRotateSettingControllerTest.java | 137 mAutoRotateSettingsManager.updateSetting(DEFAULT_DEVICE_STATE, /* rotationLocked= */ false); in isChecked_settingForStateIsUnlocked_returnsTrue() 144 mAutoRotateSettingsManager.updateSetting(DEFAULT_DEVICE_STATE, /* rotationLocked= */ true); in isChecked_settingForStateIsLocked_returnsFalse()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DeviceStateAutoRotateSettingController.java | 122 mAutoRotateSettingsManager.updateSetting(mDeviceState, isRotationLocked); in setChecked()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 1199 updateSetting(db, accountName, accountType, values); in updateSettings() 1229 private void updateSetting(SQLiteDatabase db, String accountName, String accountType, in updateSetting() method in LegacyApiSupport 1285 updateSetting(db, accountName, accountType, mValues); in copySettingsToLegacySettings()
|