Home
last modified time | relevance | path

Searched refs:onDataLoaded (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DAppsStorageStatsManagerTest.java89 verify(mCallback1).onDataLoaded(storageStats, false, false); in callback_onLoadFinished_listenerOnDataLoadedCalled()
90 verify(mCallback2).onDataLoaded(storageStats, false, false); in callback_onLoadFinished_listenerOnDataLoadedCalled()
104 verify(mCallback1).onDataLoaded(storageStats, false, false); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled()
105 verify(mCallback2, never()).onDataLoaded(storageStats, false, false); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled()
117 verify(mCallback1, never()).onDataLoaded(storageStats, false, false); in callback_notLoaded_listenerOnDataLoadedCalled()
118 verify(mCallback2, never()).onDataLoaded(storageStats, false, false); in callback_notLoaded_listenerOnDataLoadedCalled()
134 verify(mCallback1, never()).onDataLoaded(storageStats, true, false); in callback_cachedCleared_listenerOnDataLoadedCalled()
135 verify(mCallback2, never()).onDataLoaded(storageStats, true, false); in callback_cachedCleared_listenerOnDataLoadedCalled()
151 verify(mCallback1, never()).onDataLoaded(storageStats, false, true); in callback_userDataCleared_listenerOnDataLoadedCalled()
152 verify(mCallback2, never()).onDataLoaded(storageStats, false, true); in callback_userDataCleared_listenerOnDataLoadedCalled()
DStorageSettingsManagerTest.java99 verify(mVolumeListener1, times(1)).onDataLoaded(data, 9000L, 10000L); in volumeSizeCallback_onLoadFinished_listenerOnSizeCalculatedCalled()
100 verify(mVolumeListener2, times(1)).onDataLoaded(data, 9000L, 10000L); in volumeSizeCallback_onLoadFinished_listenerOnSizeCalculatedCalled()
121 verify(mVolumeListener1, times(1)).onDataLoaded(data, 9000L, 10000L); in appsStorageResult_unregisterListener_onlyOneListenerOnDataLoadedCalled()
122 verify(mVolumeListener2, never()).onDataLoaded(data, 9000L, 10000L); in appsStorageResult_unregisterListener_onlyOneListenerOnDataLoadedCalled()
140 verify(mVolumeListener1, never()).onDataLoaded(data, 9000L, 10000L); in onReceivedSizes_storageResultNotLoaded_noListenersCalled()
141 verify(mVolumeListener2, never()).onDataLoaded(data, 9000L, 10000L); in onReceivedSizes_storageResultNotLoaded_noListenersCalled()
160 verify(mVolumeListener1, never()).onDataLoaded(data, 9000L, 10000L); in onReceivedSizes_volumeSizeNotLoaded_noListenersCalled()
161 verify(mVolumeListener2, never()).onDataLoaded(data, 9000L, 10000L); in onReceivedSizes_volumeSizeNotLoaded_noListenersCalled()
DAppStorageSettingsDetailsFragmentTest.java168 mFragment.onDataLoaded(storageStats, false, false); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
191 mFragment.onDataLoaded(storageStats, false, false); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
210 mFragment.onDataLoaded(storageStats, false, false); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear()
230 mFragment.onDataLoaded(storageStats, false, false); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()
240 mFragment.onDataLoaded(null, false, false); in onDataLoaded_noResult_buttonsShouldBeDisabled()
256 mFragment.onDataLoaded(storageStats, false, false); in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled()
271 mFragment.onDataLoaded(storageStats, false, false); in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled()
286 mFragment.onDataLoaded(storageStats, false, false); in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled()
302 mFragment.onDataLoaded(storageStats, false, false); in onDataLoaded_resultLoaded_cacheButtonEnabledAndDataButtonDisabled()
DStorageSizeBasePreferenceControllerTest.java95 mController.onDataLoaded(null, true, true); in onDataLoaded_shouldUpdateCachedAndDataClearedState()
103 mController.onDataLoaded(null, true, true); in onDataLoaded_appStorageStatsNotSet_shouldNotUpdateDetailText()
117 mController.onDataLoaded(null, true, true); in onDataLoaded_appStorageStatsSet_shouldUpdateDetailText()
DStorageApplicationListPreferenceControllerTest.java86 mController.onDataLoaded(apps); in onDataLoaded_addPreference_hasOnePreference()
108 mController.onDataLoaded(apps); in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
118 mController.onDataLoaded(apps); in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
DStorageMediaCategoryDetailPreferenceControllerTest.java87 mController.onDataLoaded(apps); in onDataLoaded_addPreference_hasTwoPreferences()
90 mController.onDataLoaded(apps); in onDataLoaded_addPreference_hasTwoPreferences()
DStorageUsageBasePreferenceControllerTest.java96 mController.onDataLoaded(results, 100, 100); in onDataLoaded_setsSummary()
113 mController.onDataLoaded(results, 100, 2_000_000_000); in onDataLoaded_setProgressBarPercentage()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DAppsNetworkStatsManagerTest.java113 verify(mCallback1).onDataLoaded(eq(networkStats), any()); in callback_onLoadFinished_listenerOnDataLoadedCalled()
114 verify(mCallback2).onDataLoaded(eq(networkStats), any()); in callback_onLoadFinished_listenerOnDataLoadedCalled()
127 verify(mCallback1).onDataLoaded(eq(networkStats), any()); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled()
128 verify(mCallback2, never()).onDataLoaded(eq(networkStats), any()); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled()
139 verify(mCallback1, never()).onDataLoaded(eq(networkStats), any()); in callback_notLoaded_listenerOnDataLoadedNotCalled()
140 verify(mCallback2, never()).onDataLoaded(eq(networkStats), any()); in callback_notLoaded_listenerOnDataLoadedNotCalled()
DAppDataUsagePreferenceControllerTest.java95 mController.onDataLoaded(null, new int[0]); in onDataLoaded_dataNotLoaded_hasNoPreference()
104 mController.onDataLoaded(networkStats, new int[0]); in onDataLoaded_statsSizeZero_hasNoPreference()
121 mController.onDataLoaded(networkStats, new int[0]); in onDataLoaded_statsLoaded_hasTwoPreference()
139 mController.onDataLoaded(networkStats, new int[0]); in onDataLoaded_statsLoaded_hasOnePreference()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationListItemManagerTest.java103 verify(mAppListItemListener1).onDataLoaded(apps); in onRebuildComplete_shouldNotifyRegisteredListener()
104 verify(mAppListItemListener2).onDataLoaded(apps); in onRebuildComplete_shouldNotifyRegisteredListener()
126 verify(mAppListItemListener1).onDataLoaded(apps); in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener()
127 verify(mAppListItemListener2, times(0)).onDataLoaded(apps); in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener()
149 verify(mAppListItemListener1, times(1)).onDataLoaded(apps); in onRebuildComplete_calledAgainImmediately_shouldNotRunSecondCallImmediately()
172 verify(mAppListItemListener1, times(2)).onDataLoaded(apps); in onRebuildComplete_calledAgainImmediately_shouldRunSecondCallAfterUpdateInterval()
DApplicationsSettingsPreferenceControllerTest.java87 mController.onDataLoaded(apps); in onDataLoaded_addPreference_hasOnePreference()
108 mController.onDataLoaded(apps); in preferenceClick_launchesDetailFragment()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java63 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded() method
111 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery()
113 listener.onDataLoaded(token, cookie, ci); in startQuery()
353 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in onDataLoaded() method in CallerInfoAsyncQuery.DirectoryQueryCompleteListenerFactory.DirectoryQueryCompleteListener
355 listener.onDataLoaded(token, cookie, ci); in onDataLoaded()
527 cw.listener.onDataLoaded(token, cw.cookie, callerInfo); in updateData()
DContactInfoCache.java800 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in onDataLoaded() method in ContactInfoCache.FindInfoCallback
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageMediaCategoryDetailPreferenceController.java46 public void onDataLoaded(ArrayList<ApplicationsState.AppEntry> apps) { in onDataLoaded() method in StorageMediaCategoryDetailPreferenceController
47 super.onDataLoaded(apps); in onDataLoaded()
DAppsStorageStatsManager.java48 void onDataLoaded(StorageStatsSource.AppStorageStats data, boolean cacheCleared, in onDataLoaded() method
93 listener.onDataLoaded(data, mCacheCleared, mDataCleared); in onAppsStorageStatsLoaded()
DStorageSettingsManager.java53 void onDataLoaded(SparseArray<StorageAsyncLoader.AppsStorageResult> result, in onDataLoaded() method
100 listener.onDataLoaded(mAppsStorageResultSparseArray, privateUsedBytes, in onReceivedSizes()
DStorageSizeBasePreferenceController.java111 public void onDataLoaded(StorageStatsSource.AppStorageStats data, boolean cacheCleared, in onDataLoaded() method in StorageSizeBasePreferenceController
DStorageApplicationListPreferenceController.java52 public void onDataLoaded(ArrayList<ApplicationsState.AppEntry> apps) { in onDataLoaded() method in StorageApplicationListPreferenceController
DStorageUsageBasePreferenceController.java71 public void onDataLoaded(SparseArray<StorageAsyncLoader.AppsStorageResult> result, in onDataLoaded() method in StorageUsageBasePreferenceController
DAppStorageSettingsDetailsFragment.java228 public void onDataLoaded(StorageStatsSource.AppStorageStats data, boolean cacheCleared, in onDataLoaded() method in AppStorageSettingsDetailsFragment
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppsNetworkStatsManager.java53 void onDataLoaded(@Nullable NetworkStats stats, @Nullable int[] restrictedUids); in onDataLoaded() method
102 listener.onDataLoaded(stats, restrictedUids); in onAppsNetworkStatsLoaded()
DAppDataUsagePreferenceController.java72 public void onDataLoaded(@Nullable NetworkStats stats, @Nullable int[] restrictedUids) { in onDataLoaded() method in AppDataUsagePreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationListItemManager.java45 void onDataLoaded(ArrayList<ApplicationsState.AppEntry> apps); in onDataLoaded() method
202 appListItemListener.onDataLoaded(mLoadedApps); in onRebuildComplete()
DApplicationsSettingsPreferenceController.java49 public void onDataLoaded(ArrayList<ApplicationsState.AppEntry> apps) { in onDataLoaded() method in ApplicationsSettingsPreferenceController