Home
last modified time | relevance | path

Searched refs:CacheQuotaStrategy (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DCacheQuotaStrategyTest.java51 CacheQuotaStrategy.saveToXml(mOut, new ArrayList<>(), 0); in testEmptyWrite()
64 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteOneQuota()
80 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testWriteMultipleQuotas()
97 CacheQuotaStrategy.saveToXml(mOut, requests, 1000); in testNullUuidDoesntCauseCrash()
117 CacheQuotaStrategy.readFromXml(new ByteArrayInputStream(input.getBytes("UTF-8"))); in testReadMultipleQuotas()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java63 import com.android.server.storage.CacheQuotaStrategy;
492 CacheQuotaStrategy strategy = getInitializedStrategy(); in handleMessage()
518 private void recalculateQuotas(CacheQuotaStrategy strategy) { in recalculateQuotas()
526 private CacheQuotaStrategy getInitializedStrategy() { in getInitializedStrategy()
529 return new CacheQuotaStrategy(mContext, usageStatsManager, mInstaller, mCacheQuotas); in getInitializedStrategy()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java75 public class CacheQuotaStrategy implements RemoteCallback.OnResultListener { class
96 public CacheQuotaStrategy( in CacheQuotaStrategy() method in CacheQuotaStrategy
139 new RemoteCallback(CacheQuotaStrategy.this); in createServiceConnection()