Searched refs:MemoryCache (Results 1 – 5 of 5) sorted by relevance
28 private final HashSet<MemoryCache> mMemoryCaches = new HashSet<MemoryCache>();38 public interface MemoryCache { interface in MemoryCacheManager45 public void registerMemoryCache(final MemoryCache cache) { in registerMemoryCache()54 public void unregisterMemoryCache(final MemoryCache cache) { in unregisterMemoryCache()67 final HashSet<MemoryCache> shallowCopy; in reclaimMemory()69 shallowCopy = (HashSet<MemoryCache>) mMemoryCaches.clone(); in reclaimMemory()71 for (final MemoryCache cache : shallowCopy) { in reclaimMemory()
26 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;39 public class BitmapPool implements MemoryCache {
22 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;30 final MemoryCache mockMemoryCache = Mockito.mock(MemoryCache.class); in testRegisterCachesGetReclaimed()31 final MemoryCache otherMockMemoryCache = Mockito.mock(MemoryCache.class); in testRegisterCachesGetReclaimed()
33 private final MemoryCache mMemoryCache = new MemoryCache(CACHE_SIZE);47 private static class MemoryCache extends LruCache<Uri, Bitmap> { class in BitmapCache48 private MemoryCache(int maxSize) { in MemoryCache() method in BitmapCache.MemoryCache
22 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;28 public abstract class MediaCacheManager implements MemoryCache {