HomeSort by relevance Sort by last modified time
    Searched defs:cachedValue (Results 1 - 12 of 12) sorted by null

  /packages/apps/Dialer/src/com/android/dialer/util/
ExpirableCache.java 43 * CachedValue<Contact> cachedContact = mContactCache.getCachedValue(phoneNumber);
96 public interface CachedValue<V> {
112 private static class GenerationalCachedValue<V> implements ExpirableCache.CachedValue<V> {
143 private LruCache<K, CachedValue<V>> mCache;
151 * @see ExpirableCache.CachedValue#isExpired()
155 private ExpirableCache(LruCache<K, CachedValue<V>> cache) {
173 public CachedValue<V> getCachedValue(K key) {
183 * within the {@link CachedValue} and not call {@link #getPossiblyExpired(Object)} to get the
190 CachedValue<V> cachedValue = getCachedValue(key)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/util/
ExpirableCacheTest.java 23 import com.android.dialer.util.ExpirableCache.CachedValue;
36 LruCache<String, CachedValue<Integer>> lruCache =
37 new LruCache<String, ExpirableCache.CachedValue<Integer>>(20);
105 new LruCache<String, ExpirableCache.CachedValue<Integer>>(10) {
107 protected CachedValue<Integer> create(String key) {
113 CachedValue<Integer> cachedValue = mCache.getCachedValue("a");
114 assertNotNull("Should have been created implicitly", cachedValue);
115 assertEquals(0, cachedValue.getValue().intValue());
116 assertFalse("Should not be expired", cachedValue.isExpired())
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TypefaceUtils.java 37 final Float cachedValue = sTextHeightCache.get(key);
38 if (cachedValue != null) {
39 return cachedValue;
57 final Float cachedValue = sTextWidthCache.get(key);
58 if (cachedValue != null) {
59 return cachedValue;
  /libcore/luni/src/main/java/java/io/
ObjectStreamClass.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar 
org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar 
org.eclipse.core.databinding_1.3.100.I20100601-0800.jar 
  /prebuilts/tools/common/freemarker/
freemarker-2.3.19.jar 
  /external/robolectric/lib/main/
h2-1.2.147.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 
  /prebuilts/tools/common/ant/
ant.jar 
  /prebuilts/tools/common/m2/internal/org/apache/ant/ant/1.8.0/
ant-1.8.0.jar 

Completed in 190 milliseconds