Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationTogglePreferenceControllerTest.java97 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()
142 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in setProgress_mainSwitchDisabled_ignoresUpdates()
DKeyboardVibrationTogglePreferenceControllerTest.java117 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in updateState_mainVibrateDisabled_shouldReturnFalseForCheckedAndEnabled()
127 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainVibrateEnabled_shouldReturnTrueForEnabled()
136 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in isChecked_keyboardVibrateEnabled_shouldReturnTrue()
146 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in isChecked_keyboardVibrateDisabled_shouldReturnFalse()
DVibrationIntensityPreferenceControllerTest.java97 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()
183 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in setProgress_mainSwitchDisabled_ignoresUpdates()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationPreferenceConfig.java51 public static final String MAIN_SWITCH_SETTING_KEY = Settings.System.VIBRATE_ON; field in VibrationPreferenceConfig
65 return Settings.System.getInt(contentResolver, MAIN_SWITCH_SETTING_KEY, ON) == ON; in isMainVibrationSwitchEnabled()
166 Settings.System.getUriFor(MAIN_SWITCH_SETTING_KEY);
DVibrationMainSwitchPreferenceController.java68 Settings.System.getUriFor(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY), in onStart()
90 VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, in setChecked()
DKeyboardVibrationTogglePreferenceController.java59 Settings.System.getUriFor(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY);