/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ContactPickerData.java | 50 private LoaderManager mLoaderManager; field in ContactPickerData 160 mLoaderManager = loaderManager; in init() 161 mLoaderManager.initLoader(ALL_CONTACTS_LOADER, args, this); in init() 162 mLoaderManager.initLoader(FREQUENT_CONTACTS_LOADER, args, this); in init() 163 mLoaderManager.initLoader(PARTICIPANT_LOADER, args, this); in init() 172 if (mLoaderManager != null) { in unregisterListeners() 173 mLoaderManager.destroyLoader(ALL_CONTACTS_LOADER); in unregisterListeners() 174 mLoaderManager.destroyLoader(FREQUENT_CONTACTS_LOADER); in unregisterListeners() 175 mLoaderManager.destroyLoader(PARTICIPANT_LOADER); in unregisterListeners() 176 mLoaderManager = null; in unregisterListeners()
|
D | ConversationListData.java | 61 private LoaderManager mLoaderManager; field in ConversationListData 172 mLoaderManager = loaderManager; in init() 173 mLoaderManager.initLoader(CONVERSATION_LIST_LOADER, mArgs, this); in init() 174 mLoaderManager.initLoader(BLOCKED_PARTICIPANTS_AVAILABLE_LOADER, mArgs, this); in init() 188 if (mLoaderManager != null) { in unregisterListeners() 189 mLoaderManager.destroyLoader(CONVERSATION_LIST_LOADER); in unregisterListeners() 190 mLoaderManager.destroyLoader(BLOCKED_PARTICIPANTS_AVAILABLE_LOADER); in unregisterListeners() 191 mLoaderManager = null; in unregisterListeners()
|
D | PeopleAndOptionsData.java | 53 private LoaderManager mLoaderManager; field in PeopleAndOptionsData 155 mLoaderManager = loaderManager; in init() 156 mLoaderManager.initLoader(CONVERSATION_OPTIONS_LOADER, args, this); in init() 157 mLoaderManager.initLoader(PARTICIPANT_LOADER, args, this); in init() 165 if (mLoaderManager != null) { in unregisterListeners() 166 mLoaderManager.destroyLoader(CONVERSATION_OPTIONS_LOADER); in unregisterListeners() 167 mLoaderManager.destroyLoader(PARTICIPANT_LOADER); in unregisterListeners() 168 mLoaderManager = null; in unregisterListeners()
|
D | MediaPickerData.java | 45 private LoaderManager mLoaderManager; field in MediaPickerData 133 mLoaderManager.initLoader(loaderId, args, mGalleryLoaderCallbacks).forceLoad(); in startLoader() 141 mLoaderManager.destroyLoader(loaderId); in destroyLoader() 145 mLoaderManager = loaderManager; in init() 151 if (mLoaderManager != null) { in unregisterListeners() 152 mLoaderManager.destroyLoader(GALLERY_MEDIA_LOADER); in unregisterListeners() 153 mLoaderManager = null; in unregisterListeners()
|
D | BlockedParticipantsData.java | 44 private LoaderManager mLoaderManager; field in BlockedParticipantsData 87 mLoaderManager = loaderManager; in init() 88 mLoaderManager.initLoader(BLOCKED_PARTICIPANTS_LOADER, args, this); in init() 94 if (mLoaderManager != null) { in unregisterListeners() 95 mLoaderManager.destroyLoader(BLOCKED_PARTICIPANTS_LOADER); in unregisterListeners() 96 mLoaderManager = null; in unregisterListeners()
|
D | ConversationData.java | 464 private LoaderManager mLoaderManager; field in ConversationData 535 mLoaderManager = loaderManager; in init() 536 mLoaderManager.initLoader(CONVERSATION_META_DATA_LOADER, args, mMetadataLoaderCallbacks); in init() 537 mLoaderManager.initLoader(CONVERSATION_MESSAGES_LOADER, args, mMessagesLoaderCallbacks); in init() 538 mLoaderManager.initLoader(PARTICIPANT_LOADER, args, mParticipantsLoaderCallbacks); in init() 539 mLoaderManager.initLoader(SELF_PARTICIPANT_LOADER, args, mSelfParticipantLoaderCallbacks); in init() 550 if (mLoaderManager != null) { in unregisterListeners() 551 mLoaderManager.destroyLoader(CONVERSATION_META_DATA_LOADER); in unregisterListeners() 552 mLoaderManager.destroyLoader(CONVERSATION_MESSAGES_LOADER); in unregisterListeners() 553 mLoaderManager.destroyLoader(PARTICIPANT_LOADER); in unregisterListeners() [all …]
|
D | SettingsData.java | 118 private LoaderManager mLoaderManager; field in SettingsData 179 mLoaderManager = loaderManager; in init() 180 mLoaderManager.initLoader(SELF_PARTICIPANT_LOADER, args, this); in init() 188 if (mLoaderManager != null) { in unregisterListeners() 189 mLoaderManager.destroyLoader(SELF_PARTICIPANT_LOADER); in unregisterListeners() 190 mLoaderManager = null; in unregisterListeners()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/inspector/ |
D | DocumentLoaderTest.java | 59 private TestSupportLoaderManager mLoaderManager; field in DocumentLoaderTest 74 mLoaderManager = new TestSupportLoaderManager(); in setUp() 75 mLoader = new RuntimeDataSupplier(mContext, mLoaderManager); in setUp() 106 mLoaderManager.getLoader(0).startLoading(); in testLoadsDocument() 125 mLoaderManager.getLoader(0).startLoading(); in testInvalidInput() 141 mLoaderManager.getLoader(0).startLoading(); in testNonContentUri() 156 mLoaderManager.getLoader(0).startLoading(); in testDir_loadNumberOfChildren() 172 mLoaderManager.getLoader(0).startLoading(); in testDir_notADirectory() 185 mLoaderManager.getLoader(0).startLoading(); in testLoadMetadata() 202 mLoaderManager.getLoader(0).startLoading(); in testLoadMetadata_Unsupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppDataUsagePreferenceControllerTest.java | 57 private LoaderManager mLoaderManager; field in AppDataUsagePreferenceControllerTest 90 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onResume_notAvailable_shouldNotRestartDataLoader() 95 verify(mLoaderManager, never()).restartLoader( in onResume_notAvailable_shouldNotRestartDataLoader() 105 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onResume_isAvailable_shouldRestartDataLoader() 113 verify(mLoaderManager).restartLoader(eq(AppInfoDashboardFragment.LOADER_CHART_DATA), in onResume_isAvailable_shouldRestartDataLoader() 120 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onPause_shouldDestroyDataLoader() 124 verify(mLoaderManager).destroyLoader(AppInfoDashboardFragment.LOADER_CHART_DATA); in onPause_shouldDestroyDataLoader()
|
D | AppStoragePreferenceControllerTest.java | 52 private LoaderManager mLoaderManager; field in AppStoragePreferenceControllerTest 69 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onResume_shouldRestartStorageLoader() 73 verify(mLoaderManager).restartLoader(AppInfoDashboardFragment.LOADER_STORAGE, Bundle.EMPTY, in onResume_shouldRestartStorageLoader() 79 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onPause_shouldDestroyStorageLoader() 83 verify(mLoaderManager).destroyLoader(AppInfoDashboardFragment.LOADER_STORAGE); in onPause_shouldDestroyStorageLoader()
|
D | AppBatteryPreferenceControllerTest.java | 82 private LoaderManager mLoaderManager; field in AppBatteryPreferenceControllerTest 185 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onResume_shouldRestartBatteryStatsLoader() 189 verify(mLoaderManager) in onResume_shouldRestartBatteryStatsLoader() 195 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onPause_shouldDestroyBatteryStatsLoader() 199 verify(mLoaderManager).destroyLoader(AppInfoDashboardFragment.LOADER_BATTERY); in onPause_shouldDestroyBatteryStatsLoader()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/car/ |
D | CarSavedQueryController.java | 49 private final LoaderManager mLoaderManager; field in CarSavedQueryController 56 mLoaderManager = loaderManager; in CarSavedQueryController() 79 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.SAVED_QUERIES, in onLoadFinished() 110 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.SAVE_QUERY_TASK, args, in saveQuery() 119 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.REMOVE_QUERY_TASK, args, in removeQueries() 130 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.SAVED_QUERIES, in loadSavedQueries()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/ |
D | SavedQueryController.java | 46 private final LoaderManager mLoaderManager; field in SavedQueryController 53 mLoaderManager = loaderManager; in SavedQueryController() 76 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.SAVED_QUERIES, in onLoadFinished() 110 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.SAVE_QUERY_TASK, args, in saveQuery() 119 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.REMOVE_QUERY_TASK, args, in removeQueries() 127 mLoaderManager.restartLoader(SearchCommon.SearchLoaderId.SAVED_QUERIES, null /* args */, in loadSavedQueries()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | AppsStorageStatsManagerTest.java | 62 private LoaderManager mLoaderManager; field in AppsStorageStatsManagerTest 72 mAppsStorageStatsManager.startLoading(mLoaderManager, mApplicationInfo, USER_ID, false, in setUp() 74 verify(mLoaderManager).restartLoader(eq(1), eq(Bundle.EMPTY), in setUp() 124 mAppsStorageStatsManager.startLoading(mLoaderManager, mApplicationInfo, USER_ID, true, in callback_cachedCleared_listenerOnDataLoadedCalled() 141 mAppsStorageStatsManager.startLoading(mLoaderManager, mApplicationInfo, USER_ID, false, in callback_userDataCleared_listenerOnDataLoadedCalled()
|
D | StorageSettingsManagerTest.java | 67 private LoaderManager mLoaderManager; field in StorageSettingsManagerTest 74 mStorageSettingsManager.startLoading(mLoaderManager); in setUp() 75 verify(mLoaderManager, times(1)).restartLoader(eq(0), eq(Bundle.EMPTY), in setUp() 77 verify(mLoaderManager, times(1)).restartLoader(eq(1), eq(Bundle.EMPTY), in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/ |
D | SuggestionsPreferenceControllerTest.java | 60 private LoaderManager mLoaderManager; field in SuggestionsPreferenceControllerTest 80 mController.setLoaderManager(mLoaderManager); in setUp() 93 mController.setLoaderManager(mLoaderManager); in setPreference_loaderManagerSet_doesNothing() 129 verify(mLoaderManager).destroyLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS); in onStop_destroysLoader() 136 verify(mLoaderManager).restartLoader( in onServiceConnected_restartsLoader() 144 verify(mLoaderManager).destroyLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected_destroysLoader()
|
/packages/apps/Car/Settings/src/com/android/car/settings/suggestions/ |
D | SuggestionsPreferenceController.java | 70 private LoaderManager mLoaderManager; field in SuggestionsPreferenceController 88 mLoaderManager = loaderManager; in setLoaderManager() 100 if (mLoaderManager == null) { in checkInitialized() 125 mLoaderManager.restartLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS, /* args= */ in onServiceConnected() 229 mLoaderManager.destroyLoader(SettingsSuggestionsLoader.LOADER_ID_SUGGESTIONS); in cleanupLoader()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageBaseTest.java | 51 private LoaderManager mLoaderManager; field in PowerUsageBaseTest 60 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in setUp() 67 verify(mLoaderManager, never()).initLoader(anyInt(), any(Bundle.class), any()); in testOnCreate_batteryStatsLoaderNotInvoked()
|
D | PowerUsageSummaryTest.java | 118 private LoaderManager mLoaderManager; field in PowerUsageSummaryTest 241 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in restartBatteryTipLoader() 245 verify(mLoaderManager) in restartBatteryTipLoader() 377 when(mFragment.getLoaderManager()).thenReturn(mLoaderManager); in restartBatteryInfoLoader_contextNull_doNothing() 381 verify(mLoaderManager, never()).restartLoader(BATTERY_INFO_LOADER, Bundle.EMPTY, in restartBatteryInfoLoader_contextNull_doNothing()
|
D | AdvancedPowerUsageDetailTest.java | 127 private LoaderManager mLoaderManager; field in AdvancedPowerUsageDetailTest 151 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageListTest.java | 76 private LoaderManager mLoaderManager; field in DataUsageListTest 96 doReturn(mLoaderManager).when(mDataUsageList).getLoaderManager(); in setUp() 227 verify(mLoaderManager).destroyLoader(DataUsageList.LOADER_CHART_DATA); in onPause_shouldDestroyLoaders() 228 verify(mLoaderManager).destroyLoader(DataUsageList.LOADER_SUMMARY); in onPause_shouldDestroyLoaders()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | AppsNetworkStatsManagerTest.java | 69 private LoaderManager mLoaderManager; field in AppsNetworkStatsManagerTest 92 mAppsNetworkStatsManager.startLoading(mLoaderManager, Bundle.EMPTY); in setUp() 94 verify(mLoaderManager).restartLoader(eq(1), eq(Bundle.EMPTY), in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 91 LoaderManager mLoaderManager; field in ContextualCardManagerTest 157 mManager.loadContextualCards(mLoaderManager, false /* restartLoaderNeeded */); in loadContextualCards_restartLoaderNotNeeded_shouldInitLoader() 159 verify(mLoaderManager).initLoader(anyInt(), nullable(Bundle.class), in loadContextualCards_restartLoaderNotNeeded_shouldInitLoader() 168 mManager.loadContextualCards(mLoaderManager, true /* restartLoaderNeeded */); in loadContextualCards_restartLoaderNeeded_shouldRestartLoaderAndSetIsFirstLaunch() 170 verify(mLoaderManager).restartLoader(anyInt(), nullable(Bundle.class), in loadContextualCards_restartLoaderNeeded_shouldRestartLoaderAndSetIsFirstLaunch()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListFragment.java | 166 private LoaderManager mLoaderManager; field in ContactEntryListFragment 233 mLoaderManager = loaderManager; in setLoaderManager() 238 return mLoaderManager; in getLoaderManager()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | InspectorControllerTest.java | 70 private TestLoaderManager mLoaderManager; field in InspectorControllerTest 91 mLoaderManager = new TestLoaderManager(); in setUp()
|