Home
last modified time | relevance | path

Searched refs:cachedValue (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/util/
DExpirableCache.java166 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired() local
167 return cachedValue == null ? null : cachedValue.getValue(); in getPossiblyExpired()
180 CachedValue<V> cachedValue = getCachedValue(key); in get() local
181 return cachedValue == null || cachedValue.isExpired() ? null : cachedValue.getValue(); in get()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java40 final Float cachedValue = sTextHeightCache.get(key); in getCharHeight() local
41 if (cachedValue != null) { in getCharHeight()
42 return cachedValue; in getCharHeight()
60 final Float cachedValue = sTextWidthCache.get(key); in getCharWidth() local
61 if (cachedValue != null) { in getCharWidth()
62 return cachedValue; in getCharWidth()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DLruCacheWithExpiry.java100 final V cachedValue = get(key); in getOrCompute() local
101 if (cachedValue != null) { in getOrCompute()
102 return cachedValue; in getOrCompute()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java526 List<WindowBounds> cachedValue = getCurrentBounds(); in Info() local
529 if (cachedValue == null) { in Info()
536 cachedValue = getCurrentBounds(); in Info()
537 if (cachedValue == null) { in Info()
544 if (cachedValue != null) { in Info()
546 WindowBounds expectedBounds = cachedValue.get(displayInfo.rotation); in Info()
548 List<WindowBounds> clone = new ArrayList<>(cachedValue); in Info()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stable/
DProcessStableFlagsLogger.java122 String cachedValue = in logAdServicesFlagsUpdateEvent() local
124 if (!changedValue.equals(cachedValue)) { in logAdServicesFlagsUpdateEvent()
/packages/modules/Connectivity/framework-t/src/android/net/
DTrafficStats.java1186 final StatsResult cachedValue = cache.putIfAbsent(key, stats); in fetchStatsWithCache() local
1187 if (cachedValue != null) { in fetchStatsWithCache()
1191 return cachedValue; in fetchStatsWithCache()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitatorImpl.java647 final Boolean cachedValue = mValidSpellingWordReadCache.get(word); in isValidSpellingWord() local
648 if (cachedValue != null) { in isValidSpellingWord()
649 return cachedValue; in isValidSpellingWord()