Searched refs:MemoryCache (Results 1 – 4 of 4) 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()
22 import com.android.messaging.datamodel.MemoryCacheManager.MemoryCache;28 public abstract class MediaCacheManager implements MemoryCache {