Home
last modified time | relevance | path

Searched refs:cachedValue (Results 1 – 5 of 5) 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/core/tests/coretests/src/android/provider/
DNameValueCacheTest.java346 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_singleSetting() local
348 assertThat(cachedValue).isEqualTo("a"); in testCaching_singleSetting()
386 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_multipleSettings() local
389 assertThat(cachedValue).isEqualTo("a"); in testCaching_multipleSettings()
404 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_unsetSetting() local
407 assertThat(cachedValue).isNull(); in testCaching_unsetSetting()
/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterBase.java719 String cachedValue = cache.get(input); in dumpQueries()
720 if (cachedValue == null) { in dumpQueries()
729 cachedValue = "[app id " + input + " not installed]"; in dumpQueries()
731 cachedValue = packagesForUid.length == 1 ? packagesForUid[0] in dumpQueries()
734 cache.put(input, cachedValue); in dumpQueries()
736 return cachedValue; in dumpQueries()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java504 final String cachedValue = mCachedCanonicalizedLanguageTag; in getCanonicalizedLanguageTag() local
505 if (cachedValue != null) { in getCanonicalizedLanguageTag()
506 return cachedValue; in getCanonicalizedLanguageTag()
/frameworks/native/opengl/libs/EGL/
DMultifileBlobCache.cpp496 uint8_t* cachedValue = cacheEntry + (keySize + sizeof(MultifileHeader)); in get() local
497 memcpy(value, cachedValue, cachedValueSize); in get()