Home
last modified time | relevance | path

Searched refs:loaderManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixin.java95 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceConnected() local
96 if (loaderManager != null) { in onServiceConnected()
97 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()
107 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceDisconnected() local
108 if (loaderManager != null) { in onServiceDisconnected()
109 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()
DSuggestionControllerMixinCompat.java94 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceConnected() local
95 if (loaderManager != null) { in onServiceConnected()
96 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()
106 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceDisconnected() local
107 if (loaderManager != null) { in onServiceDisconnected()
108 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompatTest.java87 final LoaderManager loaderManager = mock(LoaderManager.class); in onServiceConnected_shouldGetSuggestion() local
88 when(mHost.getLoaderManager()).thenReturn(loaderManager); in onServiceConnected_shouldGetSuggestion()
93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()
DSuggestionControllerMixinTest.java87 final LoaderManager loaderManager = mock(LoaderManager.class); in onServiceConnected_shouldGetSuggestion() local
88 when(mHost.getLoaderManager()).thenReturn(loaderManager); in onServiceConnected_shouldGetSuggestion()
93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()