Searched refs:mSuggestionController (Results 1 – 5 of 5) sorted by relevance
49 private SuggestionController mSuggestionController; field in LegacySuggestionContextualCardControllerTest68 assertThat(controller.mSuggestionController).isNotNull(); in init_configOn_shouldCreateSuggestionController()77 assertThat(controller.mSuggestionController).isNull(); in init_configOff_shouldNotCreateSuggestionController()82 mController.mSuggestionController = mSuggestionController; in goThroughLifecycle_hasSuggestionController_shouldStartStopController()84 verify(mSuggestionController).start(); in goThroughLifecycle_hasSuggestionController_shouldStartStopController()87 verify(mSuggestionController).stop(); in goThroughLifecycle_hasSuggestionController_shouldStartStopController()92 when(mSuggestionController.getSuggestions()).thenReturn(null); in onServiceConnected_shouldLoadSuggestion()93 mController.mSuggestionController = mSuggestionController; in onServiceConnected_shouldLoadSuggestion()98 verify(mSuggestionController).getSuggestions(); in onServiceConnected_shouldLoadSuggestion()103 mController.mSuggestionController = mSuggestionController; in onDismiss_shouldCallSuggestionControllerDismiss()[all …]
53 SuggestionController mSuggestionController; field in LegacySuggestionContextualCardController69 mSuggestionController = new SuggestionController( in LegacySuggestionContextualCardController()95 mSuggestionController in onDismissed()108 if (mSuggestionController == null) { in onStart()111 mSuggestionController.start(); in onStart()116 if (mSuggestionController == null) { in onStop()119 mSuggestionController.stop(); in onStop()134 if (mSuggestionController == null || mCardUpdateListener == null) { in loadSuggestions()137 final List<Suggestion> suggestions = mSuggestionController.getSuggestions(); in loadSuggestions()
68 private final SuggestionController mSuggestionController; field in SuggestionsPreferenceController75 mSuggestionController = new SuggestionController(context, in SuggestionsPreferenceController()111 mSuggestionController.start(); in onStartInternal()118 mSuggestionController.stop(); in onStopInternal()140 return new SettingsSuggestionsLoader(getContext(), mSuggestionController); in onCreateLoader()203 mSuggestionController.launchSuggestion(suggestion); in launchSuggestion()216 mSuggestionController.dismissSuggestions(suggestion); in dismissSuggestion()
43 private final SuggestionController mSuggestionController; field in SettingsSuggestionsLoader47 mSuggestionController = controller; in SettingsSuggestionsLoader()52 final List<Suggestion> data = mSuggestionController.getSuggestions(); in loadInBackground()
64 private SuggestionController mSuggestionController; field in SuggestionsPreferenceControllerTest82 "mSuggestionController", mSuggestionController); in setUp()115 verify(mSuggestionController).start(); in onStart_startsSuggestionController()122 verify(mSuggestionController).stop(); in onStop_stopsSuggestionController()222 verify(mSuggestionController).launchSuggestion(suggestion); in launchSuggestion_callsSuggestionControllerLaunch()255 verify(mSuggestionController).dismissSuggestions(pref.getSuggestion()); in dismissSuggestion_callsSuggestionControllerDismiss()