/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStorageSizesController.java | 84 long cacheSize = (mDataCleared || mCachedCleared) ? 0 : mLastResult.getCacheBytes(); in updateUi() local 85 if (mLastCacheSize != cacheSize) { in updateUi() 86 mLastCacheSize = cacheSize; in updateUi() 87 mCacheSize.setSummary(getSizeStr(context, cacheSize)); in updateUi() 90 long totalSize = codeSize + dataSize + cacheSize; in updateUi()
|
D | AppStorageSettings.java | 562 long cacheSize = result.getCacheBytes(); 563 long dataSize = result.getDataBytes() - cacheSize; 571 if (cacheSize <= 0 || mCacheCleared) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSizesController.java | 84 long cacheSize = (mDataCleared || mCachedCleared) ? 0 : mLastResult.getCacheBytes(); in updateUi() local 85 if (mLastCacheSize != cacheSize) { in updateUi() 86 mLastCacheSize = cacheSize; in updateUi() 87 mCacheSize.setSummary(getSizeStr(context, cacheSize)); in updateUi() 90 long totalSize = codeSize + dataSize + cacheSize; in updateUi()
|
D | AppStorageSettings.java | 566 long cacheSize = result.getCacheBytes(); 567 long dataSize = result.getDataBytes() - cacheSize; 575 if (cacheSize <= 0 || mCacheCleared) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | CachedStorageValuesHelper.java | 90 final long cacheSize = mSharedPreferences.getLong(CACHE_APPS_SIZE_KEY, -1); in getCachedAppsStorageResult() local 96 || cacheSize < 0) { in getCachedAppsStorageResult() 127 result.cacheSize = cacheSize; in getCachedAppsStorageResult() 145 .putLong(CACHE_APPS_SIZE_KEY, result.cacheSize) in cacheResult()
|
D | StorageAsyncLoader.java | 173 public long cacheSize; field in StorageAsyncLoader.AppsStorageResult
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelper.java | 90 final long cacheSize = mSharedPreferences.getLong(CACHE_APPS_SIZE_KEY, -1); in getCachedAppsStorageResult() local 96 || cacheSize < 0) { in getCachedAppsStorageResult() 127 result.cacheSize = cacheSize; in getCachedAppsStorageResult() 145 .putLong(CACHE_APPS_SIZE_KEY, result.cacheSize) in cacheResult()
|
D | StorageAsyncLoader.java | 173 public long cacheSize; field in StorageAsyncLoader.AppsStorageResult
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetDataLoader.java | 77 public AlbumSetDataLoader(AbstractGalleryActivity activity, MediaSet albumSet, int cacheSize) { in AlbumSetDataLoader() argument 79 mCoverItem = new MediaItem[cacheSize]; in AlbumSetDataLoader() 80 mData = new MediaSet[cacheSize]; in AlbumSetDataLoader() 81 mTotalCount = new int[cacheSize]; in AlbumSetDataLoader() 82 mItemVersion = new long[cacheSize]; in AlbumSetDataLoader() 83 mSetVersion = new long[cacheSize]; in AlbumSetDataLoader()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskIconCache.java | 74 int cacheSize = res.getInteger(R.integer.recentsIconCacheSize); in TaskIconCache() local 75 mIconCache = new TaskKeyLruCache<>(cacheSize, mClearActivityInfoOnEviction); in TaskIconCache() 76 mContentDescriptionCache = new TaskKeyLruCache<>(cacheSize, mClearActivityInfoOnEviction); in TaskIconCache() 77 mActivityInfoCache = new LruCache<>(cacheSize); in TaskIconCache()
|
D | TaskThumbnailCache.java | 228 public ThumbnailCache(int cacheSize) { in ThumbnailCache() argument 229 super(cacheSize); in ThumbnailCache()
|
/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
D | ImageMemoryCache.java | 34 public ImageMemoryCache(@NonNull RadioManagerExt radioManager, int cacheSize) { in ImageMemoryCache() argument 36 mCache = new CacheMap<>(cacheSize); in ImageMemoryCache()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ClearCachePreference.java | 43 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh() 44 setEnabled(!mClearingCache && mEntry.cacheSize > 0); in refresh()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapCachingAsset.java | 64 private static int cacheSize = 100 * 1024 * 1024; // 100MiB field in BitmapCachingAsset 65 private static LruCache<CacheKey, Bitmap> sCache = new LruCache<CacheKey, Bitmap>(cacheSize) {
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 224 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() argument 229 when(storageStats.getDataBytes()).thenReturn(dataSize + cacheSize); in addPackage() 230 when(storageStats.getCacheBytes()).thenReturn(cacheSize); in addPackage()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 231 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() argument 235 stats.dataBytes = dataSize + cacheSize; in addPackage() 236 stats.cacheBytes = cacheSize; in addPackage()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | AppStorageSettingsDetailsFragment.java | 241 long cacheSize = data.getCacheBytes(); in onDataLoaded() local 242 long dataSize = data.getDataBytes() - cacheSize; in onDataLoaded() 250 if (cacheSize <= 0 || mCacheCleared) { in onDataLoaded()
|
D | StorageAsyncLoader.java | 222 public void setCacheSize(long cacheSize) { in setCacheSize() argument 223 this.mCacheSize = cacheSize; in setCacheSize()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BitmapDownloader.java | 111 int cacheSize = 1024 * 1024 * memClass; in BitmapDownloader() local 112 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { in BitmapDownloader()
|
D | DrawableDownloader.java | 185 int cacheSize = 1024 * 1024 * memClass; in DrawableDownloader() local 186 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { in DrawableDownloader()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 92 AlbumDataLoader source, int cacheSize) { in AlbumSlidingWindow() argument 95 mData = new AlbumEntry[cacheSize]; in AlbumSlidingWindow()
|
D | AlbumSetSlidingWindow.java | 95 AlbumSetDataLoader source, AlbumSetSlotRenderer.LabelSpec labelSpec, int cacheSize) { in AlbumSetSlidingWindow() argument 98 mData = new AlbumSetEntry[cacheSize]; in AlbumSetSlidingWindow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelperTest.java | 137 assertThat(primaryResult.cacheSize).isEqualTo(100000L); in getCachedAppsStorageResult_cachedValuesAreLoaded() 276 result.cacheSize = 100000L; in cacheResult_succeeds()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PrivateVolumeSettings.java | 628 updatePreference(item, details.cacheSize); in updateDetails() 629 accountedSize += details.cacheSize; in updateDetails() 631 Log.v(TAG, "cacheSize: " + details.cacheSize + " accountedSize: " in updateDetails()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 628 updatePreference(item, details.cacheSize); in updateDetails() 629 accountedSize += details.cacheSize; in updateDetails() 631 Log.v(TAG, "cacheSize: " + details.cacheSize + " accountedSize: " in updateDetails()
|