/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache.cpp | 165 size_t cacheSize = mBlobCache->getFlattenedSize(); in saveBlobCacheLocked() local 189 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked() 199 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked() 211 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 264 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked() local 271 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked() 277 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/ |
D | ImagePreviewImageLoader.kt | 63 cacheSize: Int, in <lambda>() 74 @PreviewCacheSize cacheSize: Int, in <lambda>() 86 cacheSize, in <lambda>() 93 cacheSize: Int, in <lambda>() 95 ) : this(scope, thumbnailSize, contentResolver, cacheSize, Semaphore(maxSimultaneousRequests)) in <lambda>() 100 @GuardedBy("lock") private val cache = LruCache<Uri, RequestRecord>(cacheSize) in <lambda>()
|
D | CachingImagePreviewImageLoader.kt | 57 @PreviewCacheSize cacheSize: Int, in <lambda>() 65 maxSize = cacheSize, in <lambda>()
|
D | ImageLoaderModule.kt | 46 @Provides @PreviewCacheSize fun cacheSize() = 16 in imageLoader() method
|
D | PreviewViewModel.kt | 62 cacheSize = 16 in <lambda>()
|
/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()
|
/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 | 568 long cacheSize = result.getCacheBytes(); 569 long dataSize = result.getDataBytes() - cacheSize; 577 if (cacheSize <= 0 || mCacheCleared) {
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/ |
D | ImagePreviewImageLoaderTest.kt | 78 cacheSize = 1, 120 cacheSize = 1, in invoke_overlappedRequests_Deduplicate() 162 cacheSize = 1, in invoke_onClosedImageLoaderScope_throwsCancellationException() 178 cacheSize = 1, in invoke_imageLoaderScopeClosedMidflight_throwsCancellationException() 198 cacheSize = 1, in invoke_multipleCallsWithDifferentCacheInstructions_cachingPrevails() 243 cacheSize = 1, in invoke_semaphoreGuardsContentResolverCalls() 281 cacheSize = 1, in invoke_semaphoreIsReleasedAfterContentResolverFailure() 322 cacheSize = 1, in invoke_multipleSimultaneousCalls_limitOnNumberOfSimultaneousOutgoingCallsIsRespected()
|
/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/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/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskThumbnailCache.java | 106 private TaskThumbnailCache(Context context, Executor bgExecutor, int cacheSize) { in TaskThumbnailCache() argument 108 enableGridOnlyOverview() ? new TaskKeyByLastActiveTimeCache<>(cacheSize) in TaskThumbnailCache() 109 : new TaskKeyLruCache<>(cacheSize)); in TaskThumbnailCache()
|
D | TaskIconCache.java | 85 int cacheSize = res.getInteger(R.integer.recentsIconCacheSize); in TaskIconCache() local 87 mIconCache = new TaskKeyLruCache<>(cacheSize); in TaskIconCache()
|
/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/modules/IntentResolver/java/src/com/android/intentresolver/icons/ |
D | CachingTargetDataLoader.kt | 35 private val cacheSize: Int = 100, in <lambda>() constant in com.android.intentresolver.icons.CachingTargetDataLoader 77 perProfileIconCache.getOrPut(userHandle) { IconCache(cacheSize) } in <lambda>()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ClearCachePreference.java | 61 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh() 62 setEnabled(!mClearingCache && mEntry.cacheSize > 0); in refresh()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TaskKeyByLastActiveTimeCache.java | 145 public synchronized void updateCacheSizeAndRemoveExcess(int cacheSize) { in updateCacheSizeAndRemoveExcess() argument 146 mMaxSize.compareAndSet(mMaxSize.get(), cacheSize); in updateCacheSizeAndRemoveExcess() local
|
D | TaskKeyCache.java | 63 default void updateCacheSizeAndRemoveExcess(int cacheSize) { } in updateCacheSizeAndRemoveExcess() argument
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 213 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() argument 218 when(storageStats.getDataBytes()).thenReturn(dataSize + cacheSize); in addPackage() 219 when(storageStats.getCacheBytes()).thenReturn(cacheSize); in addPackage()
|
/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/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapCachingAsset.java | 79 private static int cacheSize = 100 * 1024 * 1024; // 100MiB field in BitmapCachingAsset 80 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/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 92 AlbumDataLoader source, int cacheSize) { in AlbumSlidingWindow() argument 95 mData = new AlbumEntry[cacheSize]; in AlbumSlidingWindow()
|