Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DPackageStats.java56 public long cacheSize; field in PackageStats
107 if (cacheSize != 0) { in toString()
109 sb.append(cacheSize); in toString()
151 cacheSize = source.readLong(); in PackageStats()
164 cacheSize = pStats.cacheSize; in PackageStats()
181 dest.writeLong(cacheSize); in writeToParcel()
200 && cacheSize == otherStats.cacheSize in equals()
211 cacheSize, externalCodeSize, externalDataSize, externalCacheSize, externalMediaSize, in hashCode()
/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 testDuplicatePackageNameIsNotMergedAcrossMultipleUsers()
169 secondApp.cacheSize = 2; in testDuplicatePackageNameIsNotMergedAcrossMultipleUsers()
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.java131 testApp.cacheSize = 55L; in testPopulatedLogTask()
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp97 size_t cacheSize = fileSize - headerSize; in FileBlobCache() local
104 if (crc32c(buf + headerSize, cacheSize) != *crc) { in FileBlobCache()
110 int err = unflatten(buf + headerSize, cacheSize); in FileBlobCache()
128 size_t cacheSize = getFlattenedSize(); in writeToFile() local
154 size_t fileSize = headerSize + cacheSize; in writeToFile()
165 int err = flatten(buf + headerSize, cacheSize); in writeToFile()
178 *crc = crc32c(buf + headerSize, cacheSize); in writeToFile()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsFileLogger.java130 long cacheSize = stat.cacheSize; in addAppsToJson() local
134 cacheSize += stat.externalCacheSize; in addAppsToJson()
138 cacheSizeSum += cacheSize; in addAppsToJson()
143 cacheSizeList.put(cacheSize); in addAppsToJson()
168 existingStats.cacheSize += stat.cacheSize; in filterOnlyPrimaryUser()
DAppCollector.java137 packageStats.cacheSize = storageStats.getCacheBytes(); in handleMessage()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DClientCompositionRequestCache.h42 explicit ClientCompositionRequestCache(uint32_t cacheSize) : mMaxCacheSize(cacheSize){}; in ClientCompositionRequestCache() argument
DDisplay.h74 void createClientCompositionCache(uint32_t cacheSize) override;
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java41 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize(); in onCreate() local
55 final int height = 2 * (cacheSize / 2) / screenWidth; in onCreate()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java181 final public int cacheSize; field in SQLiteDebug.DbStats
194 this.cacheSize = cachesize; in DbStats()
DSQLiteDatabase.java2218 public void setMaxSqlCacheSize(int cacheSize) { in setMaxSqlCacheSize() argument
2219 if (cacheSize > MAX_SQL_CACHE_SIZE || cacheSize < 0) { in setMaxSqlCacheSize()
2228 mConfigurationLocked.maxSqlCacheSize = cacheSize; in setMaxSqlCacheSize()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java53 public long cacheSize; field in StorageMeasurement.MeasurementDetails
87 + " cacheSize: " + cacheSize + " mediaSize: " + mediaSize in toString()
222 details.cacheSize += stats.getCacheBytes(); in measureExactStorage()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplay.h57 virtual void createClientCompositionCache(uint32_t cacheSize) = 0;
DOutput.h319 virtual void cacheClientCompositionRequests(uint32_t cacheSize) = 0;
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DInstallerTest.java193 checkEquals(msg + " cacheSize", a.cacheSize, b.cacheSize); in checkEquals()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java566 legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); in requestSize()
592 sum += mAppEntries.get(i).cacheSize; in sumCacheSizes()
774 return ps.codeSize + ps.dataSize - ps.cacheSize; in getTotalInternalSize()
1371 legacy.cacheSize = stats.getCacheBytes(); in handleMessage()
1446 entry.cacheSize != stats.cacheSize ||
1453 entry.cacheSize = stats.cacheSize;
1597 public long cacheSize; field in ApplicationsState.SizeInfo
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp152 void Display::createClientCompositionCache(uint32_t cacheSize) { in createClientCompositionCache() argument
153 cacheClientCompositionRequests(cacheSize); in createClientCompositionCache()
DOutput.cpp376 void Output::cacheClientCompositionRequests(uint32_t cacheSize) { in cacheClientCompositionRequests() argument
377 if (cacheSize == 0) { in cacheClientCompositionRequests()
380 mClientCompositionRequestCache = std::make_unique<ClientCompositionRequestCache>(cacheSize); in cacheClientCompositionRequests()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java569 checkEquals(msg + " cacheSize", a.cacheSize, b.cacheSize); in checkEquals()
585 res.cacheBytes = stats.cacheSize + stats.externalCacheSize; in translate()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp2154 int64_t cacheSize; member
2204 extStats->cacheSize += space; in collectQuotaStats()
2224 stats->cacheSize += space; in collectQuotaStats()
2234 stats->cacheSize += space; in collectQuotaStats()
2283 stats->cacheSize += size; in collectManualStats()
2371 stats->cacheSize += size; in collectManualExternalStatsForUser()
2532 ret.push_back(stats.cacheSize); in getAppSize()
2535 ret.push_back(extStats.cacheSize); in getAppSize()
2756 << extStats.cacheSize; in getUserSize()
2771 ret.push_back(stats.cacheSize); in getUserSize()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java505 stats.cacheSize += res[2]; in getAppSize()
521 stats.cacheSize += res[2]; in getUserSize()
DMovePackageHelper.java359 stats.dataSize -= stats.cacheSize; in getPackageSizeInfoLI()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java175 int cacheSize = maxMemory / 8; in initDrawableCache() local
177 mDrawableCache = new LruCache<String, BitmapDrawable>(cacheSize) { in initDrawableCache()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java6047 final int cacheSize = mCachedViews.size(); in getScrapOrHiddenOrCachedHolderForPosition() local
6048 for (int i = 0; i < cacheSize; i++) { in getScrapOrHiddenOrCachedHolderForPosition()
6101 final int cacheSize = mCachedViews.size(); in getScrapOrCachedViewForId() local
6102 for (int i = cacheSize - 1; i >= 0; i--) { in getScrapOrCachedViewForId()
/frameworks/base/core/java/android/app/
DActivityThread.java1562 pw.print(','); pw.print(dbStats.cacheSize); in dumpMemInfo()
1610 dbStats.cacheHits, dbStats.cacheMisses, dbStats.cacheSize, in dumpMemInfo()
1624 dbStats.cacheSize, dbStats.dbName); in dumpMemInfo()
1754 MemInfoDumpProto.AppData.SqlStats.Database.CACHE_SIZE, dbStats.cacheSize); in dumpMemInfo()

12