Home
last modified time | relevance | path

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

/frameworks/base/telephony/common/com/google/android/mms/util/
DAbstractCache.java56 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local
57 cacheEntry.value = value; in put()
58 mCacheMap.put(key, cacheEntry); in put()
75 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local
76 if (cacheEntry != null) { in get()
77 cacheEntry.hit++; in get()
79 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get()
81 return cacheEntry.value; in get()
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp82 CacheEntry cacheEntry(cacheKey, nullptr); in set() local
85 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in set()
86 if (index == mCacheEntries.end() || cacheEntry < *index) { in set()
142 CacheEntry cacheEntry(cacheKey, nullptr); in get() local
143 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in get()
144 if (index == mCacheEntries.end() || cacheEntry < *index) { in get()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java184 final byte[] cacheEntry = toCacheEntry(parsed); in cacheResult()
186 if (cacheEntry == null) { in cacheResult()
191 fos.write(cacheEntry); in cacheResult()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java542 PduCacheEntry cacheEntry = null; in load() local
556 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in load()
557 if (cacheEntry != null) { in load()
558 return cacheEntry.getPdu(); in load()
686 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load()
687 PDU_CACHE_INSTANCE.put(uri, cacheEntry); in load()
1119 PduCacheEntry cacheEntry; in updateParts() local
1130 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in updateParts()
1131 if (cacheEntry != null) { in updateParts()
1132 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); in updateParts()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DPackageParsingPerfTest.kt242 val cacheEntry = toCacheEntry(parsed) in <lambda>() constant
243 return FileOutputStream(cacheFile).use { fos -> fos.write(cacheEntry) } in <lambda>()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3682 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); in clearBagCache() local
3685 cacheEntry.filteredConfigs.clear(); in clearBagCache()
3687 bag_set** typeBags = cacheEntry.cachedBags; in clearBagCache()
3703 cacheEntry.cachedBags = NULL; in clearBagCache()
4655 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); in getBagLocked() local
4656 bag_set** typeSet = cacheEntry.cachedBags; in getBagLocked()
4680 cacheEntry.cachedBags = typeSet; in getBagLocked()
4914 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); in setParameters() local
4936 cacheEntry.filteredConfigs.add(newFilteredConfigs); in setParameters()
6551 const TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries[typeIndex]; in getEntry() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java540 public ParsedPackage fromCacheEntry(byte[] cacheEntry) { in setCacheDir()
542 new String(cacheEntry, StandardCharsets.UTF_8)) in setCacheDir()