Searched refs:cachedValue (Results 1 – 5 of 5) sorted by relevance
268 DigitsKeyListener[] cachedValue = sLocaleInstanceCache.get(locale); in getInstance() local269 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()
346 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_singleSetting() local348 assertThat(cachedValue).isEqualTo("a"); in testCaching_singleSetting()386 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_multipleSettings() local389 assertThat(cachedValue).isEqualTo("a"); in testCaching_multipleSettings()404 String cachedValue = Settings.Secure.getString(mMockContentResolver, SETTING); in testCaching_unsetSetting() local407 assertThat(cachedValue).isNull(); in testCaching_unsetSetting()
719 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()
504 final String cachedValue = mCachedCanonicalizedLanguageTag; in getCanonicalizedLanguageTag() local505 if (cachedValue != null) { in getCanonicalizedLanguageTag()506 return cachedValue; in getCanonicalizedLanguageTag()
496 uint8_t* cachedValue = cacheEntry + (keySize + sizeof(MultifileHeader)); in get() local497 memcpy(value, cachedValue, cachedValueSize); in get()