Searched refs:updateCacheSizeAndRemoveExcess (Results 1 – 7 of 7) sorted by relevance
69 assertTrue(thumbnailCache.updateCacheSizeAndRemoveExcess()); in increaseCacheSize()70 verify(mTaskKeyCache, times(1)).updateCacheSizeAndRemoveExcess(8); in increaseCacheSize()81 assertFalse(thumbnailCache.updateCacheSizeAndRemoveExcess()); in decreaseCacheSize()82 verify(mTaskKeyCache, times(1)).updateCacheSizeAndRemoveExcess(3); in decreaseCacheSize()92 assertFalse(thumbnailCache.updateCacheSizeAndRemoveExcess()); in keepSameCacheSize()93 verify(mTaskKeyCache, never()).updateCacheSizeAndRemoveExcess(anyInt()); in keepSameCacheSize()
141 when(mThumbnailCache.updateCacheSizeAndRemoveExcess()).thenReturn(true); in increaseCacheSizeAndPreload()152 when(mThumbnailCache.updateCacheSizeAndRemoveExcess()).thenReturn(false); in decreaseCacheSizeAndNotPreload()
178 public boolean updateCacheSizeAndRemoveExcess() { in updateCacheSizeAndRemoveExcess() method186 mCache.updateCacheSizeAndRemoveExcess(newSize); in updateCacheSizeAndRemoveExcess()
359 if (mThumbnailCache.updateCacheSizeAndRemoveExcess()) { in updateCacheSizeAndPreloadIfNeeded()
63 default void updateCacheSizeAndRemoveExcess(int cacheSize) { } in updateCacheSizeAndRemoveExcess() method
145 public synchronized void updateCacheSizeAndRemoveExcess(int cacheSize) { in updateCacheSizeAndRemoveExcess() method in TaskKeyByLastActiveTimeCache
273 cache.updateCacheSizeAndRemoveExcess(2); in updateCacheSizeAndInvalidateExcess()