Home
last modified time | relevance | path

Searched refs:CachedValue (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/util/
DExpirableCache.java103 private LruCache<K, CachedValue<V>> cache;
105 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache()
121 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create()
133 return create(new LruCache<K, CachedValue<V>>(maxSize)); in create()
149 public CachedValue<V> getCachedValue(K key) { in getCachedValue()
166 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired()
180 CachedValue<V> cachedValue = getCachedValue(key); in get()
212 public CachedValue<V> newCachedValue(V value) { in newCachedValue()
224 public interface CachedValue<V> { interface in ExpirableCache
239 private static class GenerationalCachedValue<V> implements ExpirableCache.CachedValue<V> {
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java110 ExpirableCache.CachedValue<ContactInfo> cachedInfo = cache.getCachedValue(numberCountryIso); in getValue()