Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageStats.java55 public long cacheSize; field in PackageStats
106 if (cacheSize != 0) { in toString()
108 sb.append(cacheSize); in toString()
150 cacheSize = source.readLong(); in PackageStats()
163 cacheSize = pStats.cacheSize; in PackageStats()
180 dest.writeLong(cacheSize); in writeToParcel()
199 && cacheSize == otherStats.cacheSize in equals()
210 cacheSize, externalCodeSize, externalDataSize, externalCacheSize, externalMediaSize, in hashCode()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTaskKeyLruCache.java42 public TaskKeyLruCache(int cacheSize) { in TaskKeyLruCache() argument
43 this(cacheSize, null); in TaskKeyLruCache()
46 public TaskKeyLruCache(int cacheSize, EvictionCallback evictionCallback) { in TaskKeyLruCache() argument
48 mCache = new LruCache<Integer, V>(cacheSize) { in TaskKeyLruCache()
61 public final void trimToSize(int cacheSize) { in trimToSize() argument
62 mCache.trimToSize(cacheSize); in trimToSize()
/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.cpp90 size_t cacheSize = fileSize - headerSize; in FileBlobCache() local
97 if (crc32c(buf + headerSize, cacheSize) != *crc) { in FileBlobCache()
103 int err = unflatten(buf + headerSize, cacheSize); in FileBlobCache()
119 size_t cacheSize = getFlattenedSize(); in writeToFile() local
145 size_t fileSize = headerSize + cacheSize; in writeToFile()
156 int err = flatten(buf + headerSize, cacheSize); in writeToFile()
169 *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/ml/nn/driver/cache/nnCache/
DnnCache.cpp166 size_t cacheSize = mBlobCache->getFlattenedSize(); in saveBlobCacheLocked() local
192 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked()
203 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked()
216 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()
272 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked() local
279 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
285 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java40 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize(); in onCreate() local
54 final int height = 2 * (cacheSize / 2) / screenWidth; in onCreate()
/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/base/services/tests/servicestests/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.java522 legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); in requestSize()
548 sum += mAppEntries.get(i).cacheSize; in sumCacheSizes()
723 return ps.codeSize + ps.dataSize - ps.cacheSize; in getTotalInternalSize()
1286 legacy.cacheSize = stats.getCacheBytes(); in handleMessage()
1361 entry.cacheSize != stats.cacheSize ||
1368 entry.cacheSize = stats.cacheSize;
1499 public long cacheSize; field in ApplicationsState.SizeInfo
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java439 checkEquals(msg + " cacheSize", a.cacheSize, b.cacheSize); in checkEquals()
455 res.cacheBytes = stats.cacheSize + stats.externalCacheSize; in translate()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp1436 int64_t cacheSize; member
1466 stats->cacheSize += space; in collectQuotaStats()
1490 extStats->cacheSize += space; in collectQuotaStats()
1531 stats->cacheSize += size; in collectManualStats()
1605 stats->cacheSize += size; in collectManualExternalStatsForUser()
1730 ret.push_back(stats.cacheSize); in getAppSize()
1733 ret.push_back(extStats.cacheSize); in getAppSize()
1858 << extStats.cacheSize; in getUserSize()
1873 ret.push_back(stats.cacheSize); in getUserSize()
1876 ret.push_back(extStats.cacheSize); in getUserSize()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1935 public void setMaxSqlCacheSize(int cacheSize) { in setMaxSqlCacheSize() argument
1936 if (cacheSize > MAX_SQL_CACHE_SIZE || cacheSize < 0) { in setMaxSqlCacheSize()
1945 mConfigurationLocked.maxSqlCacheSize = cacheSize; in setMaxSqlCacheSize()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java258 stats.cacheSize += res[2]; in getAppSize()
274 stats.cacheSize += res[2]; in getUserSize()
DPackageManagerService.java20090 stats.dataSize -= stats.cacheSize;
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java5926 final int cacheSize = mCachedViews.size(); in getScrapOrHiddenOrCachedHolderForPosition() local
5927 for (int i = 0; i < cacheSize; i++) { in getScrapOrHiddenOrCachedHolderForPosition()
5980 final int cacheSize = mCachedViews.size(); in getScrapOrCachedViewForId() local
5981 for (int i = cacheSize - 1; i >= 0; i--) { in getScrapOrCachedViewForId()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...