Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
DCacheTracker.cpp37 cacheUsed(0), cacheQuota(0), mUserId(userId), mAppId(appId), mQuotaDevice(quotaDevice), in CacheTracker()
46 multiuser_get_uid(mUserId, mAppId), cacheUsed, cacheQuota, getCacheRatio()); in toString()
205 if (cacheQuota == 0) { in getCacheRatio()
208 return (cacheUsed * 10000) / cacheQuota; in getCacheRatio()
DCacheTracker.h57 int64_t cacheQuota; variable
DInstalldNativeService.h75 int32_t userId, int32_t appId, int64_t cacheQuota);
DInstalldNativeService.cpp1067 tracker->cacheQuota = mCacheQuotas[uid]; in freeCache()
1069 if (tracker->cacheQuota == 0) { in freeCache()
1073 tracker->cacheQuota = 67108864; in freeCache()
1871 int32_t userId, int32_t appId, int64_t cacheQuota) { in setAppQuota() argument
1877 mCacheQuotas[uid] = cacheQuota; in setAppQuota()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl43 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.java282 public void setAppQuota(String uuid, int userId, int appId, long cacheQuota) in setAppQuota() argument
286 mInstalld.setAppQuota(uuid, userId, appId, cacheQuota); in setAppQuota()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java394 final long cacheQuota = in requestSize() local
400 legacy.cacheSize = Math.min(stats.getCacheBytes(), cacheQuota); in requestSize()