Home
last modified time | relevance | path

Searched refs:getCachedValue (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DExpirableCacheTest.java83 assertNull(mCache.getCachedValue("a")); in testGetCachedValue_NotExisting()
85 assertNull(mCache.getCachedValue("a")); in testGetCachedValue_NotExisting()
90 assertFalse("Should not be expired", mCache.getCachedValue("a").isExpired()); in testGetCachedValue_Expired()
92 assertTrue("Should be expired", mCache.getCachedValue("a").isExpired()); in testGetCachedValue_Expired()
99 assertFalse("Should not be expired", mCache.getCachedValue("a").isExpired()); in testGetChangedValue_PutAfterExpired()
113 CachedValue<Integer> cachedValue = mCache.getCachedValue("a"); in testComputingCache()
120 CachedValue<Integer> expiredCachedValue = mCache.getCachedValue("a"); in testComputingCache()
/packages/apps/Contacts/src/com/android/contacts/util/
DExpirableCache.java173 public CachedValue<V> getCachedValue(K key) { in getCachedValue() method in ExpirableCache
190 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired()
205 CachedValue<V> cachedValue = getCachedValue(key); in get()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java659 return mInvitableAccountTypeCache.getCachedValue(); in getUsableInvitableAccountTypes()
801 public Map<AccountTypeWithDataSet, AccountType> getCachedValue() { in getCachedValue() method in AccountTypeManagerImpl.InvitableAccountTypeCache
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallLogAdapter.java553 mContactInfoCache.getCachedValue(numberCountryIso); in bindView()