Searched refs:mCurrentCacheSize (Results 1 – 1 of 1) sorted by relevance
74 private long mCurrentCacheSize = 0; field in FileDownloadCache136 mCurrentCacheSize += cacheEntry.mFile.length(); in FileDownloadCache()139 if (mCurrentCacheSize > getMaxFileCacheSize()) { in FileDownloadCache()463 mCurrentCacheSize += length; in incrementAndAdjustCache()465 while (mCurrentCacheSize > getMaxFileCacheSize() && keyIterator.hasNext()) { in incrementAndAdjustCache()471 mCurrentCacheSize -= file.length(); in incrementAndAdjustCache()485 if (mCurrentCacheSize < 0) { in incrementAndAdjustCache()489 } else if (mCurrentCacheSize > getMaxFileCacheSize()) { in incrementAndAdjustCache()