Searched refs:loaderManager (Results 1 – 4 of 4) sorted by relevance
95 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceConnected() local96 if (loaderManager != null) { in onServiceConnected()97 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()107 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceDisconnected() local108 if (loaderManager != null) { in onServiceDisconnected()109 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()
94 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceConnected() local95 if (loaderManager != null) { in onServiceConnected()96 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()106 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceDisconnected() local107 if (loaderManager != null) { in onServiceDisconnected()108 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()
87 final LoaderManager loaderManager = mock(LoaderManager.class); in onServiceConnected_shouldGetSuggestion() local88 when(mHost.getLoaderManager()).thenReturn(loaderManager); in onServiceConnected_shouldGetSuggestion()93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()