/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/language/ |
D | LanguageBasePreferenceControllerTest.java | 127 assertThat(mController.onPreferenceClick(new Preference(mContext))).isFalse(); in testOnPreferenceClick_noLocale_returnsFalse() 140 assertThat(mController.onPreferenceClick(preference)).isTrue(); in testOnPreferenceClick_hasMultipleChildLocales_returnsTrue() 152 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasMultipleChildLocales_localeNotUpdated() 166 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack() 179 assertThat(mController.onPreferenceClick(preference)).isTrue(); in testOnPreferenceClick_hasSingleChildLocale_returnsTrue() 190 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasSingleChildLocale_localeUpdated() 203 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack() 212 assertThat(mController.onPreferenceClick(preference)).isFalse(); in testOnPreferenceClick_noChildLocale_returnsFalse() 219 mController.onPreferenceClick(preference); in testOnPreferenceClick_noChildLocale_localeNotUpdated() 227 mController.onPreferenceClick(preference); in testOnPreferenceClick_noChildLocale_neverCallsGoBack() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | MagnificationModePreferenceControllerTest.java | 90 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in clickPreference_settingsModeIsDefault_checkedModeInDialogIsDefault() 97 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in choseModeIsDifferentFromInSettings_checkedModeInDialogIsExpected() 106 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in dialogIsReCreated_settingsModeIsAllAndChoseWindowMode_checkedModeIsWindow() 119 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in chooseFullscreenMode_tripleTapEnabled_notShowTripleTapWarningDialog() 132 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in chooseWindowMode_tripleTapEnabled_showTripleTapWarningDialog() 145 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in chooseAllMode_tripleTapEnabled_showTripleTapWarningDialog() 170 mModePreference.getOnPreferenceClickListener().onPreferenceClick(mModePreference); in onTripleTapWarningDialogPositiveButtonClicked_chooseAllMode_returnAllSummary()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | MainFragment.java | 112 public boolean onPreferenceClick(Preference preference) { in onCreate() 123 public boolean onPreferenceClick(Preference preference) { in onCreate() 134 public boolean onPreferenceClick(Preference preference) { in onCreate() 171 public boolean onPreferenceClick(Preference preference) { in onCreate() 184 public boolean onPreferenceClick(Preference preference) { in onCreate() 198 public boolean onPreferenceClick(Preference preference) { in onCreate() 208 public boolean onPreferenceClick(Preference preference) { in onCreate() 217 public boolean onPreferenceClick(Preference preference) { in onCreate() 243 public boolean onPreferenceClick(Preference preference) { in onCreate() 262 public boolean onPreferenceClick(Preference preference) { in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserDetailsSettingsTest.java | 488 mFragment.onPreferenceClick(mSwitchUserPref); in onPreferenceClick_switchClicked_canSwitch_shouldSwitch() 504 mFragment.onPreferenceClick(mSwitchUserPref); in onPreferenceClick_switchToRestrictedClicked_canSwitch_shouldSwitch() 520 mFragment.onPreferenceClick(mSwitchUserPref); in onPreferenceClick_switchToGuestClicked_canSwitch_shouldSwitch() 535 mFragment.onPreferenceClick(mSwitchUserPref); in onPreferenceClick_switchClicked_canNotSwitch_doNothing() 551 mFragment.onPreferenceClick(mRemoveUserPref); in onPreferenceClick_removeGuestClicked_canDelete_shouldShowDialog() 569 mFragment.onPreferenceClick(mRemoveUserPref); in onPreferenceClick_removeRestrictedClicked_canDelete_shouldShowDialog() 588 mFragment.onPreferenceClick(mRemoveUserPref); in onPreferenceClick_removeClicked_canDelete_shouldShowDialog() 605 mFragment.onPreferenceClick(mRemoveUserPref); in onPreferenceClick_removeClicked_canNotDelete_doNothing() 620 mFragment.onPreferenceClick(mAppAndContentAccessPref); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity() 643 mFragment.onPreferenceClick(mock(UserPreference.class)); in onPreferenceClick_unknownPreferenceClicked_doNothing() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenCustomRuleConfigSettings.java | 59 public boolean onPreferenceClick(Preference preference) { in onCreate() 73 public boolean onPreferenceClick(Preference preference) { in onCreate() 87 public boolean onPreferenceClick(Preference preference) { in onCreate()
|
D | ZenModeAddAutomaticRulePreferenceController.java | 61 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in ZenModeAddAutomaticRulePreferenceController
|
D | ZenModeScheduleRuleSettings.java | 88 public boolean onPreferenceClick(Preference preference) { in onCreateInternal() 244 public boolean onPreferenceClick(Preference preference) { in TimePickerPreference()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | PairNewDevicePreferenceControllerUnitTest.java | 184 assertThat(mSwitchPreference.getOnPreferenceClickListener().onPreferenceClick( in preferenceClicked_triggersCustomPairingFlow_whenSystemApplicationIsFound() 211 assertThat(mSwitchPreference.getOnPreferenceClickListener().onPreferenceClick( in preferenceClicked_triggersDefaultPairingFlow_whenNoMatchingApplicationsFound() 237 assertThat(mSwitchPreference.getOnPreferenceClickListener().onPreferenceClick( in preferenceClicked_triggersDefaultPairingFlow_whenNonSystemApplicationIsFound() 252 assertThat(mSwitchPreference.getOnPreferenceClickListener().onPreferenceClick( in preferenceClicked_triggersDefaultPairingFlow_whenCustomPairingFlowIsDisabled()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/ |
D | LocalePreferenceProviderTest.java | 163 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(0)); in testClickListenerTriggered() 165 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(1)); in testClickListenerTriggered() 167 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(2)); in testClickListenerTriggered()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | DisabledCheckBoxPreferenceTest.java | 82 verify(onClick, never()).onPreferenceClick(any()); in checkboxOnClick_checkboxDisabled() 95 verify(onClick, times(1)).onPreferenceClick(any()); in checkboxOnClick_checkboxEnabled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | VpnSettingsTest.java | 214 mVpnSettings.onPreferenceClick(pref); in clickVpn_VpnConnected_doesNotStartVpnLaunchIntent() 233 mVpnSettings.onPreferenceClick(pref); in clickVpn_VpnDisconnected_startsVpnLaunchIntent() 257 mVpnSettings.onPreferenceClick(pref); in clickAdvancedVpn_VpnConnectedDisconnectDialogDisabled_startsAppLaunchIntent() 281 mVpnSettings.onPreferenceClick(pref); in clickAdvancedVpn_VpnConnectedDisconnectDialogEnabled_doesNotStartAppLaunchIntent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragment.java | 192 public boolean onPreferenceClick(final Preference preference) { in enableSyncPreferences() 427 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in AccountsSettingsFragment.SyncNowListener 438 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in AccountsSettingsFragment.DeleteSyncDataListener 465 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in AccountsSettingsFragment.EnableSyncClickListener
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | SyncedStateTest.java | 98 listener.onPreferenceClick(mMockPreference); in testGetOnClickListener_isNotEncrypted_handleSourceAddRequest() 114 listener.onPreferenceClick(mMockPreference); in testGetOnClickListener_isEncrypted_passwordDialogShowing()
|
D | AudioStreamsScanQrCodeControllerTest.java | 134 var clicked = listener.onPreferenceClick(mPreference); in onPreferenceClick_noFragment_doNothing() 145 var clicked = listener.onPreferenceClick(mPreference); in onPreferenceClick_hasFragment_launchSubSetting()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsSpatialAudioControllerTest.java | 344 mController.onPreferenceClick(mSpatialAudioPref); in turnedOnSpatialAudio_invokesAddCompatibleAudioDevice() 357 mController.onPreferenceClick(mSpatialAudioPref); in turnedOffSpatialAudio_invokesRemoveCompatibleAudioDevice() 370 mController.onPreferenceClick(mHeadTrackingPref); in turnedOnHeadTracking_invokesSetHeadTrackerEnabled_setsTrue() 383 mController.onPreferenceClick(mHeadTrackingPref); in turnedOffHeadTracking_invokesSetHeadTrackerEnabled_setsFalse()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | TVInputMethodPreference.java | 42 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in TVInputMethodPreference
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | PerSubscriptionSettingsActivity.java | 128 public boolean onPreferenceClick(Preference pref) { in onCreate() 149 public boolean onPreferenceClick(final Preference preference) { in onCreate()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | ViewEmergencyContactsPreference.java | 52 public boolean onPreferenceClick(Preference preference) { in onBindContactView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 166 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummary_oneSubscription_correctSummaryAndClickHandler() 189 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler() 211 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/ |
D | PreferredEngineOptionsPreferenceControllerTest.java | 149 assertThat(currentEngine.getOnPreferenceClickListener().onPreferenceClick( in performClick_currentEngine_returnFalse() 159 assertThat(otherEngine.getOnPreferenceClickListener().onPreferenceClick( in performClick_otherEngine_returnTrue()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountTypePreferenceLoader.java | 172 public boolean onPreferenceClick(Preference preference) { in updatePreferenceIntents() 286 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in AccountTypePreferenceLoader.FragmentStarter
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | VoicemailSettingsFragment.java | 284 public boolean onPreferenceClick(Preference preference) { in setupVoicemailChangePinPreference() 304 public boolean onPreferenceClick(Preference preference) { in setupNotificationsPreference() 348 public boolean onPreferenceClick(Preference preference) { in setupAdvancedSettingsPreference()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbDevicePreference.java | 53 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in UsbDevicePreference
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/ |
D | HealthPreference.kt | 62 onPreferenceClickListener?.onPreferenceClick(it) ?: false in setOnPreferenceClickListener()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingBluetoothDeviceUpdater.java | 72 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in AudioSharingBluetoothDeviceUpdater
|