/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_IMAGE_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/unit/com/android/documentsui/inspector/ |
D | DocumentLoaderTest.java | 57 private TestSupportLoaderManager mLoaderManager; field in DocumentLoaderTest 71 mLoaderManager = new TestSupportLoaderManager(); in setUp() 72 mLoader = new RuntimeDataSupplier(mContext, mLoaderManager); in setUp() 105 mLoaderManager.getLoader(0).startLoading(); in testLoadsDocument() 126 mLoaderManager.getLoader(0).startLoading(); in testInvalidInput() 142 mLoaderManager.getLoader(0).startLoading(); in testNonContentUri() 156 mLoaderManager.getLoader(0).startLoading(); in testDir_loadNumberOfChildren() 172 mLoaderManager.getLoader(0).startLoading(); in testDir_notADirectory() 184 mLoaderManager.getLoader(0).startLoading(); in testLoadMetadata() 201 mLoaderManager.getLoader(0).startLoading(); in testLoadMetadata_Unsupported()
|
D | InspectorControllerTest.java | 67 private TestLoaderManager mLoaderManager; field in InspectorControllerTest 87 mLoaderManager = new TestLoaderManager(); in setUp()
|
/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 | 51 private LoaderManager mLoaderManager; field in AppStoragePreferenceControllerTest 68 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onResume_shouldRestartStorageLoader() 72 verify(mLoaderManager).restartLoader(AppInfoDashboardFragment.LOADER_STORAGE, Bundle.EMPTY, in onResume_shouldRestartStorageLoader() 78 doReturn(mLoaderManager).when(mFragment).getLoaderManager(); in onPause_shouldDestroyStorageLoader() 82 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/ |
D | SavedQueryController.java | 46 private final LoaderManager mLoaderManager; field in SavedQueryController 53 mLoaderManager = loaderManager; in SavedQueryController() 76 mLoaderManager.restartLoader(SearchFragment.SearchLoaderId.SAVED_QUERIES, in onLoadFinished() 110 mLoaderManager.restartLoader(SearchFragment.SearchLoaderId.SAVE_QUERY_TASK, args, in saveQuery() 119 mLoaderManager.restartLoader(SearchFragment.SearchLoaderId.REMOVE_QUERY_TASK, args, in removeQueries() 127 mLoaderManager.restartLoader(SearchFragment.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/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationsInOutboxTipView.java | 46 private LoaderManager mLoaderManager; field in ConversationsInOutboxTipView 78 if (mLoaderManager != null && folder != null) { 81 mLoaderManager.initLoader(LOADER_FOLDER_LIST, null, mFolderListLoaderCallbacks); 152 mLoaderManager = loaderManager;
|
D | NestedFolderTeaserView.java | 74 private LoaderManager mLoaderManager = null; field in NestedFolderTeaserView 267 mLoaderManager.destroyLoader(LOADER_FOLDER_LIST); in onUpdate() 268 mLoaderManager.initLoader(LOADER_FOLDER_LIST, null, mFolderListLoaderCallbacks); in onUpdate() 371 if (mLoaderManager != null) { in bindFragment() 375 mLoaderManager = loaderManager; in bindFragment() 496 mLoaderManager.destroyLoader(getLoaderId(folderId)); 512 mLoaderManager.initLoader(loaderId, null, mFolderLoaderCallbacks);
|
/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() 380 when(mFragment.getLoaderManager()).thenReturn(mLoaderManager); in restartBatteryInfoLoader_contextNull_doNothing() 384 verify(mLoaderManager, never()).restartLoader(BATTERY_INFO_LOADER, Bundle.EMPTY, in restartBatteryInfoLoader_contextNull_doNothing()
|
/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/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageFooterView.java | 58 private LoaderManager mLoaderManager; field in MessageFooterView 111 mLoaderManager = loaderManager; in initialize() 126 mLoaderManager.destroyLoader(mOldAttachmentLoaderId); in bind() 145 mLoaderManager.initLoader(attachmentLoaderId, Bundle.EMPTY, this); in bind()
|
D | ConversationViewAdapter.java | 77 private final LoaderManager mLoaderManager; field in ConversationViewAdapter 418 v.initialize(mAdapter.mLoaderManager, mAdapter.mFragmentManager, in createView() 558 mLoaderManager = loaderManager; in ConversationViewAdapter()
|
/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()
|