/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache.cpp | 164 size_t cacheSize = mBlobCache->getFlattenedSize(); in saveBlobCacheLocked() local 188 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked() 198 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked() 210 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 263 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked() local 270 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked() 276 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | ClearCachedDataPreference.java | 105 final long cacheSize = getAllAppsCacheSize(); in refresh() local 108 Formatter.formatFileSize(context, cacheSize))); in refresh() 109 setEnabled(!mClearingCache && cacheSize > 0); in refresh() 214 long cacheSize = 0; in getAllAppsCacheSize() local 216 cacheSize += app.cacheSize + app.externalCacheSize; in getAllAppsCacheSize() 218 return cacheSize; in getAllAppsCacheSize()
|
D | StorageFragment.java | 245 mCacheUsagePref.setSize(details.cacheSize); in updateDetails()
|
/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 | 569 long cacheSize = result.getCacheBytes(); 570 long dataSize = result.getDataBytes() - cacheSize; 578 if (cacheSize <= 0 || mCacheCleared) {
|
/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/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/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | StorageMeasurement.java | 53 public long cacheSize; field in StorageMeasurement.MeasurementDetails 87 + " cacheSize: " + cacheSize + " mediaSize: " + mediaSize in toString() 223 details.cacheSize += stats.getCacheBytes(); in measureExactStorage()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | ClearCachePreferenceController.java | 57 mAppEntry.cacheSize + mAppEntry.externalCacheSize)); in update() 58 mPreferenceCompat.setEnabled(!mClearingCache && mAppEntry.cacheSize > 0); in update()
|
D | ApplicationsState.java | 545 legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); in requestSize() 571 sum += mAppEntries.get(i).cacheSize; in sumCacheSizes() 756 return ps.codeSize + ps.dataSize - ps.cacheSize; in getTotalInternalSize() 1359 legacy.cacheSize = stats.getCacheBytes(); in handleMessage() 1438 entry.cacheSize != stats.cacheSize || 1445 entry.cacheSize = stats.cacheSize; 1584 public long cacheSize; field in ApplicationsState.SizeInfo
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ClearCachePreference.java | 46 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh() 47 setEnabled(!mClearingCache && mEntry.cacheSize > 0); in refresh()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ImagePreviewImageLoader.kt | 39 cacheSize: Int, in <lambda>() 49 private val cache = LruCache<Uri, CompletableDeferred<Bitmap?>>(cacheSize) in <lambda>()
|
D | ChooserActivity.java | 1299 final int cacheSize; 1303 cacheSize = (int) (Math.ceil(chooserWidth / imageWidth) + 2); 1305 cacheSize = 3; 1307 return new ImagePreviewImageLoader(this, getLifecycle(), cacheSize);
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageApplicationActionButtonsPreferenceController.java | 224 long cacheSize = data.getCacheBytes(); in onDataLoaded() local 225 long dataSize = data.getDataBytes() - cacheSize; in onDataLoaded() 228 mClearCacheButton.setEnabled(cacheSize > 0 && !mCacheCleared); in onDataLoaded()
|
D | StorageAsyncLoader.java | 229 public void setCacheSize(long cacheSize) { in setCacheSize() argument 230 this.mCacheSize = cacheSize; in setCacheSize()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 211 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() argument 216 when(storageStats.getDataBytes()).thenReturn(dataSize + cacheSize); in addPackage() 217 when(storageStats.getCacheBytes()).thenReturn(cacheSize); in addPackage()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapCachingAsset.java | 75 private static int cacheSize = 100 * 1024 * 1024; // 100MiB field in BitmapCachingAsset 76 private static LruCache<CacheKey, Bitmap> sCache = new LruCache<CacheKey, Bitmap>(cacheSize) {
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 259 private ApplicationInfo createAppInfo(String packageName, long cacheSize, long codeSize, in createAppInfo() argument 263 stats.dataBytes = dataSize + cacheSize; in createAppInfo() 264 stats.cacheBytes = cacheSize; in createAppInfo()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskIconCache.java | 85 int cacheSize = res.getInteger(R.integer.recentsIconCacheSize); in TaskIconCache() local 87 mIconCache = new TaskKeyLruCache<>(cacheSize); in TaskIconCache()
|
/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/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoader.java | 226 public long cacheSize; field in StorageAsyncLoader.StorageResult
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/storage/ |
D | StorageState.java | 296 mCacheUsagePref.setSummary(formatSize(mContext, details.cacheSize)); in updateDetails()
|