Searched refs:StorageResult (Results 1 – 8 of 8) sorted by relevance
56 extends AsyncLoaderCompat<SparseArray<StorageAsyncLoader.StorageResult>> {75 public SparseArray<StorageResult> loadInBackground() { in loadInBackground()79 private SparseArray<StorageResult> getStorageResultsForUsers() { in getStorageResultsForUsers()81 final SparseArray<StorageResult> results = new SparseArray<>(); in getStorageResultsForUsers()89 final StorageResult result = getAppsAndGamesSize(info.id); in getStorageResultsForUsers()165 private StorageResult getAppsAndGamesSize(int userId) { in getAppsAndGamesSize()169 final StorageResult result = new StorageResult(); in getAppsAndGamesSize()235 protected void onDiscardResult(SparseArray<StorageResult> result) { in onDiscardResult()239 public static class StorageResult { class in StorageAsyncLoader264 void handleResult(SparseArray<StorageResult> result); in handleResult()
184 public void handleResult(SparseArray<StorageAsyncLoader.StorageResult> stats) { in handleResult()189 final StorageAsyncLoader.StorageResult result = stats.get(getUser().id); in handleResult()
443 public void onLoadFinished(@Nullable SparseArray<StorageAsyncLoader.StorageResult> result, in onLoadFinished()482 SparseArray<StorageAsyncLoader.StorageResult> result, int userId) { in getSizeInfo()486 StorageAsyncLoader.StorageResult data = result.get(userId); in getSizeInfo()501 final StorageAsyncLoader.StorageResult otherData = result.valueAt(i); in getSizeInfo()
105 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testLoadingApps()116 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testGamesAreFiltered()129 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testLegacyGamesAreFiltered()140 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testCacheIsNotIgnored()156 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testMultipleUsers()169 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testUpdatedSystemAppCodeSizeIsCounted()185 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testRemovedPackageDoesNotCrash()194 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testCacheOveragesAreCountedAsFree()207 SparseArray<StorageAsyncLoader.StorageResult> result = mLoader.loadInBackground(); in testAppsAreFiltered()
72 LoaderManager.LoaderCallbacks<SparseArray<StorageAsyncLoader.StorageResult>> {85 private SparseArray<StorageAsyncLoader.StorageResult> mAppsResult;270 SparseArray<StorageAsyncLoader.StorageResult> stats) { in updateNonCurrentUserControllers()281 public Loader<SparseArray<StorageAsyncLoader.StorageResult>> onCreateLoader(int id, in onCreateLoader()291 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader, in onLoadFinished()292 SparseArray<StorageAsyncLoader.StorageResult> data) { in onLoadFinished()298 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader) { in onLoaderReset()321 public SparseArray<StorageAsyncLoader.StorageResult> getStorageResult() { in getStorageResult()326 public void setStorageResult(SparseArray<StorageAsyncLoader.StorageResult> info) { in setStorageResult()
85 LoaderManager.LoaderCallbacks<SparseArray<StorageAsyncLoader.StorageResult>> {99 private SparseArray<StorageAsyncLoader.StorageResult> mAppsResult;439 SparseArray<StorageAsyncLoader.StorageResult> stats) { in updateNonCurrentUserControllers()478 public Loader<SparseArray<StorageAsyncLoader.StorageResult>> onCreateLoader(int id, in onCreateLoader()488 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader, in onLoadFinished()489 SparseArray<StorageAsyncLoader.StorageResult> data) { in onLoadFinished()495 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader) { in onLoaderReset()519 public SparseArray<StorageAsyncLoader.StorageResult> getStorageResult() { in getStorageResult()524 public void setStorageResult(SparseArray<StorageAsyncLoader.StorageResult> info) { in setStorageResult()
193 final StorageAsyncLoader.StorageResult userResult = in handleResult_noStatsResult_shouldShowCachedData()194 new StorageAsyncLoader.StorageResult(); in handleResult_noStatsResult_shouldShowCachedData()195 final SparseArray<StorageAsyncLoader.StorageResult> result = new SparseArray<>(); in handleResult_noStatsResult_shouldShowCachedData()
379 final StorageAsyncLoader.StorageResult result = new StorageAsyncLoader.StorageResult(); in testMeasurementCompletedUpdatesPreferences()390 final SparseArray<StorageAsyncLoader.StorageResult> results = new SparseArray<>(); in testMeasurementCompletedUpdatesPreferences()