OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CachedValue
(Results
1 - 5
of
5
) 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
...]
/external/deqp/framework/opengl/
gluContextInfo.hpp
38
class
CachedValue
41
CachedValue
(ComputeValue compute = ComputeValue(), const T& defaultValue = T())
70
typedef
CachedValue
<std::set<int>, GetCompressedTextureFormats> CompressedTextureFormats;
gluContextInfo.cpp
63
typedef
CachedValue
<bool, TryCompileProgram> IsProgramSupported;
/packages/apps/Dialer/src/com/android/dialer/contactinfo/
ContactInfoCache.java
149
ExpirableCache.
CachedValue
<ContactInfo> cachedInfo =
Completed in 481 milliseconds