Home
last modified time | relevance | path

Searched refs:SettingsSuggestionsLoader (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
DSuggestionsPreferenceControllerTest.java129 verify(mLoaderManager).destroyLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS); in onStop_destroysLoader()
137 SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS, /* args= */ null, mController); in onServiceConnected_restartsLoader()
144 verify(mLoaderManager).destroyLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected_destroysLoader()
150 SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS, /* args= */ null)).isInstanceOf( in onCreateLoader_returnsSettingsSuggestionsLoader()
151 SettingsSuggestionsLoader.class); in onCreateLoader_returnsSettingsSuggestionsLoader()
157 SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS + 1000, /* args= */ null)); in onCreateLoader_unsupportedId_throwsIllegalArgumentException()
/packages/apps/Car/Settings/src/com/android/car/settings/suggestions/
DSettingsSuggestionsLoader.java35 public class SettingsSuggestionsLoader extends AsyncLoader<List<Suggestion>> { class
36 private static final Logger LOG = new Logger(SettingsSuggestionsLoader.class);
45 public SettingsSuggestionsLoader(Context context, SuggestionController controller) { in SettingsSuggestionsLoader() method in SettingsSuggestionsLoader
DSuggestionsPreferenceController.java125 mLoaderManager.restartLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS, /* args= */ in onServiceConnected()
139 if (id == SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS) { in onCreateLoader()
140 return new SettingsSuggestionsLoader(getContext(), mSuggestionController); in onCreateLoader()
229 mLoaderManager.destroyLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS); in cleanupLoader()