/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceControllerTest.java | 188 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 …]
|
D | RoamingPreferenceControllerTest.java | 192 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/ |
D | TtsPlaybackPreferenceControllerTest.java | 268 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/ |
D | NfcForegroundPreferenceControllerTest.java | 159 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/ |
D | SeekBarPreferenceTest.java | 143 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()
|
D | TwoStateButtonPreferenceTest.java | 94 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/ |
D | NetworkSecurityPreferenceControllerTest.java | 98 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/ |
D | BrightnessLevelPreferenceControllerTest.java | 142 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()
|
D | AdaptiveBrightnessTogglePreferenceControllerTest.java | 137 mPreference.callChangeListener(false); in testHandlePreferenceChanged_setFalse() 146 mPreference.callChangeListener(true); in testHandlePreferenceChanged_setTrue()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | ConversationPriorityPreference.java | 115 callChangeListener(new Pair(IMPORTANCE_LOW, false)); in onBindViewHolder() 120 callChangeListener(new Pair(newImportance, false)); in onBindViewHolder() 125 callChangeListener(new Pair(newImportance, true)); in onBindViewHolder()
|
D | ImportancePreference.java | 133 callChangeListener(IMPORTANCE_LOW); in onBindViewHolder() 146 callChangeListener(IMPORTANCE_DEFAULT); in onBindViewHolder()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | NetworkNamePreferenceControllerTest.java | 77 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/ |
D | TextContextPreferenceControllerTest.java | 95 mPreference.callChangeListener(true); in callChangeListener_toggleTrue_contextEnabled() 105 mPreference.callChangeListener(false); in callChangeListener_toggleFalse_contextDisabled()
|
D | ScreenshotContextPreferenceControllerTest.java | 117 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/ |
D | CellularFallbackTogglePreferenceControllerTest.java | 91 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/ |
D | AutoDatetimeTogglePreferenceControllerTest.java | 92 mPreference.callChangeListener(true); in testOnPreferenceChange_autoTimeZoneSet_shouldSendIntent() 105 mPreference.callChangeListener(false); in testOnPreferenceChange_autoTimeZoneUnset_shouldSendIntent()
|
D | TimeFormatTogglePreferenceControllerTest.java | 95 mPreference.callChangeListener(true); in testOnPreferenceChange_24HourSet_shouldSendIntent() 110 mPreference.callChangeListener(false); in testOnPreferenceChange_12HourSet_shouldSendIntent()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | SpellCheckerPreference.java | 108 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/ |
D | NotificationsPreferenceControllerTest.java | 258 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/ |
D | PermissionsPreferenceControllerTest.java | 148 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/ |
D | DataWarningPreferenceControllerTest.java | 160 mEnablePreference.callChangeListener(false); in onPreferenceChanged_toggleFalse_warningBytesDisabled() 166 mEnablePreference.callChangeListener(true); in onPreferenceChanged_toggleTrue_warningBytesNotDisabled()
|
D | DataLimitPreferenceControllerTest.java | 164 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/ |
D | TVInputMethodPreference.java | 49 callChangeListener(newValue); in onPreferenceClick()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreference.java | 128 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/ |
D | LeftSideCheckBoxPreference.java | 70 callChangeListener(mChecked); in onClick()
|