Searched refs:CachedValue (Results 1 – 3 of 3) sorted by relevance
96 public interface CachedValue<V> { interface in ExpirableCache112 private static class GenerationalCachedValue<V> implements ExpirableCache.CachedValue<V> {143 private LruCache<K, CachedValue<V>> mCache;155 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache()173 public CachedValue<V> getCachedValue(K key) { in getCachedValue()190 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired()205 CachedValue<V> cachedValue = getCachedValue(key); in get()237 public CachedValue<V> newCachedValue(V value) { in newCachedValue()252 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create()264 return create(new LruCache<K, CachedValue<V>>(maxSize)); in create()
23 import com.android.dialer.util.ExpirableCache.CachedValue;36 LruCache<String, CachedValue<Integer>> lruCache = in setUp()37 new LruCache<String, ExpirableCache.CachedValue<Integer>>(20); in setUp()105 new LruCache<String, ExpirableCache.CachedValue<Integer>>(10) { in testComputingCache()107 protected CachedValue<Integer> create(String key) { in testComputingCache()113 CachedValue<Integer> cachedValue = mCache.getCachedValue("a"); in testComputingCache()120 CachedValue<Integer> expiredCachedValue = mCache.getCachedValue("a"); in testComputingCache()
721 ExpirableCache.CachedValue<ContactInfo> cachedInfo = in bindView()