Home
last modified time | relevance | path

Searched refs:callChangeListener (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java188 mPreference.callChangeListener(false); in handlePreferenceChanged_setFalse_isSingleSim_opensDialog()
199 mPreference.callChangeListener(false); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()
209 mPreference.callChangeListener(false); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()
221 mPreference.callChangeListener(true); in handlePreferenceChanged_setTrue_isSingleSim_enablesData()
229 mPreference.callChangeListener(true); in handlePreferenceChanged_setTrue_isSingleSim_setsChecked()
242 mPreference.callChangeListener(true); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
251 mPreference.callChangeListener(true); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
268 mPreference.callChangeListener(true); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
278 mPreference.callChangeListener(false); in disableSingleSimDialog_onConfirm_disablesData()
300 mPreference.callChangeListener(false); in disableSingleSimDialog_onConfirm_setsUnchecked()
[all …]
DRoamingPreferenceControllerTest.java192 mPreference.callChangeListener(false); in callChangeListener_toggleFalse_turnOffRoaming()
205 mPreference.callChangeListener(true); in callChangeListener_toggleTrue_needsDialog_showDialog()
219 mPreference.callChangeListener(true); in confirmDialog_turnOnRoaming()
247 mPreference.callChangeListener(true); in callChangeListener_toggleTrue_doesntNeedDialog_turnOnRoaming()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java268 mDefaultLanguagePreference.callChangeListener(""); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault()
292 mDefaultLanguagePreference.callChangeListener(Locale.ENGLISH.toString()); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale()
315 mDefaultLanguagePreference.callChangeListener(Locale.ENGLISH.toString()); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary()
328 mSpeechRatePreference.callChangeListener(newSpeechRate); in speechRate_handlePreferenceChanged_updatesSecureSettings()
342 mSpeechRatePreference.callChangeListener(newSpeechRate); in speechRate_handlePreferenceChanged_updatesTts()
355 mSpeechRatePreference.callChangeListener(newSpeechRate); in speechRate_handlePreferenceChanged_speaksSampleText()
367 mVoicePitchPreference.callChangeListener(newVoicePitch); in voicePitch_handlePreferenceChanged_updatesSecureSettings()
381 mVoicePitchPreference.callChangeListener(newVoicePitch); in voicePitch_handlePreferenceChanged_updatesTts()
394 mVoicePitchPreference.callChangeListener(newVoicePitch); in voicePitch_handlePreferenceChanged_speaksSampleText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java159 mPreference.callChangeListener(mPreference.getEntryValues()[1]); in changeOptions_shouldUpdateEntryAndSummary()
165 mPreference.callChangeListener(mPreference.getEntryValues()[0]); in changeOptions_shouldUpdateEntryAndSummary()
178 mPreference.callChangeListener(mPreference.getEntryValues()[1]); in changeOptions_checkMetrics()
184 mPreference.callChangeListener(mPreference.getEntryValues()[0]); in changeOptions_checkMetrics()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSeekBarPreferenceTest.java143 when(mSeekBarPreference.callChangeListener(anyInt())).thenReturn(true); in onProgressChanged_hapticFeedbackModeNone_clockTickFeedbackNotPerformed()
155 when(mSeekBarPreference.callChangeListener(anyInt())).thenReturn(true); in onProgressChanged_hapticFeedbackModeOnTicks_clockTickFeedbackPerformed()
167 when(mSeekBarPreference.callChangeListener(anyInt())).thenReturn(true); in onProgressChanged_hapticFeedbackModeOnEnds_clockTickFeedbackNotPerformed()
179 when(mSeekBarPreference.callChangeListener(anyInt())).thenReturn(true); in onProgressChanged_hapticFeedbackModeOnEndsAndMinValue_clockTickFeedbackPerformed()
DTwoStateButtonPreferenceTest.java94 verify(mPreference).callChangeListener(true); in onClick_shouldPropagateChangeToListener()
97 verify(mPreference).callChangeListener(false); in onClick_shouldPropagateChangeToListener()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DNetworkSecurityPreferenceControllerTest.java98 mListPreference.callChangeListener(value); in handlePreferenceChanged_unsecureNetwork_summaryUpdated()
107 mListPreference.callChangeListener(value); in handlePreferenceChanged_pskNetwork_summaryUpdated()
116 mListPreference.callChangeListener(value); in handlePreferenceChanged_broadcastIsSent()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/
DBrightnessLevelPreferenceControllerTest.java142 mSeekBarPreference.callChangeListener(0); in testHandlePreferenceChanged_minValue()
149 mSeekBarPreference.callChangeListener(GAMMA_SPACE_MAX); in testHandlePreferenceChanged_maxValue()
156 mSeekBarPreference.callChangeListener(convertLinearToGamma(mMid, mMin, mMax)); in testHandlePreferenceChanged_midValue()
DAdaptiveBrightnessTogglePreferenceControllerTest.java137 mPreference.callChangeListener(false); in testHandlePreferenceChanged_setFalse()
146 mPreference.callChangeListener(true); in testHandlePreferenceChanged_setTrue()
/packages/apps/Settings/src/com/android/settings/notification/app/
DConversationPriorityPreference.java115 callChangeListener(new Pair(IMPORTANCE_LOW, false)); in onBindViewHolder()
120 callChangeListener(new Pair(newImportance, false)); in onBindViewHolder()
125 callChangeListener(new Pair(newImportance, true)); in onBindViewHolder()
DImportancePreference.java133 callChangeListener(IMPORTANCE_LOW); in onBindViewHolder()
146 callChangeListener(IMPORTANCE_DEFAULT); in onBindViewHolder()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DNetworkNamePreferenceControllerTest.java77 mEditTextPreference.callChangeListener("New value"); in handlePreferenceChanged_newTextIsSet()
84 mEditTextPreference.callChangeListener(value); in handlePreferenceChanged_broadcastIsSent()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/
DTextContextPreferenceControllerTest.java95 mPreference.callChangeListener(true); in callChangeListener_toggleTrue_contextEnabled()
105 mPreference.callChangeListener(false); in callChangeListener_toggleFalse_contextDisabled()
DScreenshotContextPreferenceControllerTest.java117 mPreference.callChangeListener(true); in callChangeListener_toggleTrue_screenshotEnabled()
127 mPreference.callChangeListener(false); in callChangeListener_toggleFalse_screenshotDisabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/
DCellularFallbackTogglePreferenceControllerTest.java91 mSwitchPreference.callChangeListener(false); in handlePreferenceChanged_toggleFalse_setsNull()
101 mSwitchPreference.callChangeListener(true); in handlePreferenceChanged_toggleTrue_setsEnabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datetime/
DAutoDatetimeTogglePreferenceControllerTest.java92 mPreference.callChangeListener(true); in testOnPreferenceChange_autoTimeZoneSet_shouldSendIntent()
105 mPreference.callChangeListener(false); in testOnPreferenceChange_autoTimeZoneUnset_shouldSendIntent()
DTimeFormatTogglePreferenceControllerTest.java95 mPreference.callChangeListener(true); in testOnPreferenceChange_24HourSet_shouldSendIntent()
110 mPreference.callChangeListener(false); in testOnPreferenceChange_12HourSet_shouldSendIntent()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckerPreference.java108 public boolean callChangeListener(Object newValue) { in callChangeListener() method in SpellCheckerPreference
110 return super.callChangeListener(newValue); in callChangeListener()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DNotificationsPreferenceControllerTest.java258 mTwoStatePreference.callChangeListener(true); in callChangeListener_setEnable_enablingNotification()
267 mTwoStatePreference.callChangeListener(false); in callChangeListener_setDisable_disablingNotification()
280 mTwoStatePreference.callChangeListener(true); in callChangeListener_onlyHasDefaultChannel_updateChannel()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DPermissionsPreferenceControllerTest.java148 preference.callChangeListener(true); in testOnPreferenceChange_changeToFalse()
157 preference.callChangeListener(false); in testOnPreferenceChange_changeToTrue()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataWarningPreferenceControllerTest.java160 mEnablePreference.callChangeListener(false); in onPreferenceChanged_toggleFalse_warningBytesDisabled()
166 mEnablePreference.callChangeListener(true); in onPreferenceChanged_toggleTrue_warningBytesNotDisabled()
DDataLimitPreferenceControllerTest.java164 mEnablePreference.callChangeListener(false); in onPreferenceChanged_toggleFalse_limitBytesDisabled()
170 mEnablePreference.callChangeListener(true); in onPreferenceChanged_toggleTrue_showsDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DTVInputMethodPreference.java49 callChangeListener(newValue); in onPreferenceClick()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java128 if (updatedContacts.remove(phoneUriToRemove) && callChangeListener(updatedContacts)) { in onRemoveContactPreference()
150 if (updatedContacts.add(phoneUri) && callChangeListener(updatedContacts)) { in addNewEmergencyContact()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DLeftSideCheckBoxPreference.java70 callChangeListener(mChecked); in onClick()

123