Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java84 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()
DAppStorageSettings.java567 long cacheSize = result.getCacheBytes();
568 long dataSize = result.getDataBytes() - cacheSize;
576 if (cacheSize <= 0 || mCacheCleared) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStorageSizesController.java85 long cacheSize = (mDataCleared || mCachedCleared) ? 0 : mLastResult.getCacheBytes(); in updateUi() local
86 if (mLastCacheSize != cacheSize) { in updateUi()
87 mLastCacheSize = cacheSize; in updateUi()
88 mCacheSize.setSummary(getSizeStr(context, cacheSize)); in updateUi()
91 long totalSize = codeSize + dataSize + cacheSize; in updateUi()
DAppStorageSettings.java562 long cacheSize = result.getCacheBytes();
563 long dataSize = result.getDataBytes() - cacheSize;
571 if (cacheSize <= 0 || mCacheCleared) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DCachedStorageValuesHelper.java90 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()
DStorageAsyncLoader.java173 public long cacheSize; field in StorageAsyncLoader.AppsStorageResult
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelper.java90 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()
DStorageAsyncLoader.java173 public long cacheSize; field in StorageAsyncLoader.AppsStorageResult
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java77 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/
DImageMemoryCache.java34 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/
DClearCachePreference.java46 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh()
47 setEnabled(!mClearingCache && mEntry.cacheSize > 0); in refresh()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapCachingAsset.java64 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/
DStorageAsyncLoaderTest.java224 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/
DStorageAsyncLoaderTest.java233 private ApplicationInfo addPackage(String packageName, long cacheSize, long codeSize, in addPackage() argument
237 stats.dataBytes = dataSize + cacheSize; in addPackage()
238 stats.cacheBytes = cacheSize; in addPackage()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DAppStorageSettingsDetailsFragment.java235 long cacheSize = data.getCacheBytes(); in onDataLoaded() local
236 long dataSize = data.getDataBytes() - cacheSize; in onDataLoaded()
239 mClearCacheButton.setEnabled(cacheSize > 0 && !mCacheCleared); in onDataLoaded()
DStorageAsyncLoader.java221 public void setCacheSize(long cacheSize) { in setCacheSize() argument
222 this.mCacheSize = cacheSize; in setCacheSize()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskIconCache.java74 int cacheSize = res.getInteger(R.integer.recentsIconCacheSize); in TaskIconCache() local
75 mIconCache = new TaskKeyLruCache<>(cacheSize); in TaskIconCache()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelperTest.java137 assertThat(primaryResult.cacheSize).isEqualTo(100000L); in getCachedAppsStorageResult_cachedValuesAreLoaded()
276 result.cacheSize = 100000L; in cacheResult_succeeds()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java92 AlbumDataLoader source, int cacheSize) { in AlbumSlidingWindow() argument
95 mData = new AlbumEntry[cacheSize]; in AlbumSlidingWindow()
DAlbumSetSlidingWindow.java95 AlbumSetDataLoader source, AlbumSetSlotRenderer.LabelSpec labelSpec, int cacheSize) { in AlbumSetSlidingWindow() argument
98 mData = new AlbumSetEntry[cacheSize]; in AlbumSetSlidingWindow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java628 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/
DPrivateVolumeSettings.java605 updatePreference(item, details.cacheSize); in updateDetails()
606 accountedSize += details.cacheSize; in updateDetails()
608 Log.v(TAG, "cacheSize: " + details.cacheSize + " accountedSize: " in updateDetails()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java240 mCacheUsagePref.setSize(details.cacheSize); in updateDetails()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...