Home
last modified time | relevance | path

Searched refs:SuggestionLoader (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixin.java97 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()
109 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()
115 if (id == SuggestionLoader.LOADER_ID_SUGGESTIONS) { in onCreateLoader()
117 return new SuggestionLoader(mContext, mSuggestionController); in onCreateLoader()
DSuggestionLoader.java33 public class SuggestionLoader extends AsyncLoader<List<Suggestion>> { class
40 public SuggestionLoader(Context context, SuggestionController controller) { in SuggestionLoader() method in SuggestionLoader
DSuggestionControllerMixinCompat.java96 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()
108 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()
114 if (id == SuggestionLoader.LOADER_ID_SUGGESTIONS) { in onCreateLoader()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinTest.java93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()
121 mMixin.onLoadFinished(mock(SuggestionLoader.class), null); in doneLoadingg_shouldSetSuggestionLoaded()
125 mMixin.onLoaderReset(mock(SuggestionLoader.class)); in doneLoadingg_shouldSetSuggestionLoaded()
DSuggestionControllerMixinCompatTest.java93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()