Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DDigitsKeyListener.java268 DigitsKeyListener[] cachedValue = sLocaleInstanceCache.get(locale); in getInstance() local
269 if (cachedValue != null && cachedValue[kind] != null) { in getInstance()
270 return cachedValue[kind]; in getInstance()
272 if (cachedValue == null) { in getInstance()
273 cachedValue = new DigitsKeyListener[4]; in getInstance()
274 sLocaleInstanceCache.put(locale, cachedValue); in getInstance()
276 return cachedValue[kind] = new DigitsKeyListener(locale, sign, decimal); in getInstance()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1737 long cachedValue = jobPackages.getOrDefault(packageName, Long.MAX_VALUE); in heartbeatWhenJobsLastRun() local
1738 if (cachedValue < Long.MAX_VALUE) { in heartbeatWhenJobsLastRun()
1740 heartbeat = cachedValue; in heartbeatWhenJobsLastRun()