Home
last modified time | relevance | path

Searched refs:cacheQuota (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/cmds/installd/
DCacheTracker.cpp38 cacheQuota(0), in CacheTracker()
50 multiuser_get_uid(mUserId, mAppId), cacheUsed, cacheQuota, getCacheRatio()); in toString()
200 if (cacheQuota == 0) { in getCacheRatio()
203 return (cacheUsed * 10000) / cacheQuota; in getCacheRatio()
DCacheTracker.h57 int64_t cacheQuota; variable
DInstalldNativeService.h129 int32_t userId, int32_t appId, int64_t cacheQuota);
DInstalldNativeService.cpp2189 tracker->cacheQuota = mCacheQuotas[uid]; in freeCache()
2191 if (tracker->cacheQuota == 0) { in freeCache()
2195 tracker->cacheQuota = 67108864; in freeCache()
3178 int32_t userId, int32_t appId, int64_t cacheQuota) { in setAppQuota() argument
3185 mCacheQuotas[uid] = cacheQuota; in setAppQuota()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl54 void setAppQuota(@nullable @utf8InCpp String uuid, int userId, int appId, long cacheQuota); in setAppQuota() argument
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java582 public void setAppQuota(String uuid, int userId, int appId, long cacheQuota) in setAppQuota() argument
586 mInstalld.setAppQuota(uuid, userId, appId, cacheQuota); in setAppQuota()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java571 final long cacheQuota = in requestSize() local
577 legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); in requestSize()