Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsFileLoggerTest.java102 firstPackage.cacheSize = 20; in testAppsReported()
108 secondPackage.cacheSize = 2; in testAppsReported()
144 app.cacheSize = 20; in testEmulatedExternalStorageCounted()
162 app.cacheSize = 20; in testDuplicatePackageNameIsMergedAcrossMultipleUsers()
169 secondApp.cacheSize = 2; in testDuplicatePackageNameIsMergedAcrossMultipleUsers()
204 public long cacheSize; field in DiskStatsFileLoggerTest.AppSizeGrouping
206 public AppSizeGrouping(String packageName, long appSize, long cacheSize) { in AppSizeGrouping() argument
209 this.cacheSize = cacheSize; in AppSizeGrouping()
216 result = 37 * result + (int)(cacheSize ^ (cacheSize >>> 32)); in hashCode()
231 cacheSize == grouping.cacheSize; in equals()
[all …]
DDiskStatsLoggingServiceTest.java111 testApp.cacheSize = 55L; in testPopulatedLogTask()
/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/base/services/core/java/com/android/server/storage/
DDiskStatsFileLogger.java124 long cacheSize = stat.cacheSize; in addAppsToJson() local
127 cacheSize += stat.externalCacheSize; in addAppsToJson()
130 cacheSizeSum += cacheSize; in addAppsToJson()
134 cacheSizeList.put(cacheSize); in addAppsToJson()
154 existingStats.cacheSize += stat.cacheSize; in mergePackagesAcrossUsers()
/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
133 + " cacheSize: " + cacheSize + " mediaSize: " + mediaSize in toString()
232 long cacheSize = stats.cacheSize; in addStatsLocked() local
238 cacheSize += stats.externalCacheSize; in addStatsLocked()
249 mDetails.cacheSize += cacheSize; in addStatsLocked()
256 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/core/java/android/database/sqlite/
DSQLiteDatabase.java1804 public void setMaxSqlCacheSize(int cacheSize) { in setMaxSqlCacheSize() argument
1805 if (cacheSize > MAX_SQL_CACHE_SIZE || cacheSize < 0) { in setMaxSqlCacheSize()
1814 mConfigurationLocked.maxSqlCacheSize = cacheSize; in setMaxSqlCacheSize()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java334 sum += mAppEntries.get(i).cacheSize; in sumCacheSizes()
984 entry.cacheSize != stats.cacheSize ||
991 entry.cacheSize = stats.cacheSize;
1111 public long cacheSize; field in ApplicationsState.SizeInfo
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java126 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.java5656 final int cacheSize = mCachedViews.size(); in getScrapViewForPosition() local
5657 for (int i = 0; i < cacheSize; i++) { in getScrapViewForPosition()
5710 final int cacheSize = mCachedViews.size(); in getScrapViewForId() local
5711 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.txt9936 field public long cacheSize;
Dsystem-current.txt10369 field public long cacheSize;
Dtest-current.txt9953 field public long cacheSize;