Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageStats.java44 public long cacheSize; field in PackageStats
95 if (cacheSize != 0) { in toString()
97 sb.append(cacheSize); in toString()
139 cacheSize = source.readLong(); in PackageStats()
152 cacheSize = pStats.cacheSize; in PackageStats()
169 dest.writeLong(cacheSize); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskKeyLruCache.java46 public TaskKeyLruCache(int cacheSize) { in TaskKeyLruCache() argument
47 this(cacheSize, null); in TaskKeyLruCache()
50 public TaskKeyLruCache(int cacheSize, EvictionCallback evictionCallback) { in TaskKeyLruCache() argument
52 mCache = new LruCache<Integer, V>(cacheSize) { in TaskKeyLruCache()
116 final void trimToSize(int cacheSize) { in trimToSize() argument
117 mCache.trimToSize(cacheSize); in trimToSize()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp220 size_t cacheSize = mBlobCache->getFlattenedSize(); in saveBlobCacheLocked() local
246 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked()
257 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked()
270 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()
326 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked() local
333 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
339 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java102 public long cacheSize; field in StorageMeasurement.MeasurementDetails
225 long cacheSize = stats.cacheSize; in addStatsLocked() local
231 cacheSize += stats.externalCacheSize; in addStatsLocked()
242 mDetails.cacheSize += cacheSize; in addStatsLocked()
249 mDetails.cacheSize += stats.externalCacheSize; in addStatsLocked()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java44 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize(); in onCreate() local
58 final int height = 2 * (cacheSize / 2) / screenWidth; in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java333 sum += mAppEntries.get(i).cacheSize; in sumCacheSizes()
978 entry.cacheSize != stats.cacheSize ||
985 entry.cacheSize = stats.cacheSize;
1105 public long cacheSize; field in ApplicationsState.SizeInfo
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1802 public void setMaxSqlCacheSize(int cacheSize) { in setMaxSqlCacheSize() argument
1803 if (cacheSize > MAX_SQL_CACHE_SIZE || cacheSize < 0) { in setMaxSqlCacheSize()
1812 mConfigurationLocked.maxSqlCacheSize = cacheSize; in setMaxSqlCacheSize()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java119 stats.cacheSize += Long.parseLong(res[3]); in getAppSize()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java586 ", data="+observer.stats.dataSize+", cache="+observer.stats.cacheSize); in invokePMGetPackageSizeInfo()
604 ", cache="+stats.cacheSize); in testGetPackageSizeInfo()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dcache-bitmap.jd106 final int cacheSize = maxMemory / 8;
108 mMemoryCache = new LruCache&lt;String, Bitmap&gt;(cacheSize) {
331 mMemoryCache = new LruCache&lt;String, Bitmap&gt;(cacheSize) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java5392 final int cacheSize = mCachedViews.size(); in getScrapViewForPosition() local
5393 for (int i = 0; i < cacheSize; i++) { in getScrapViewForPosition()
5446 final int cacheSize = mCachedViews.size(); in getScrapViewForId() local
5447 for (int i = cacheSize - 1; i >= 0; i--) { in getScrapViewForId()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8886 field public long cacheSize;
/frameworks/base/api/
Dcurrent.txt9897 field public long cacheSize;
Dsystem-current.txt10321 field public long cacheSize;
Dtest-current.txt9910 field public long cacheSize;