Home
last modified time | relevance | path

Searched refs:cacheEntry (Results 1 – 8 of 8) 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.cpp85 CacheEntry cacheEntry(cacheKey, nullptr); in set() local
89 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in set()
90 if (index == mCacheEntries.end() || cacheEntry < *index) { in set()
148 CacheEntry cacheEntry(cacheKey, nullptr); in get() local
149 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in get()
150 if (index == mCacheEntries.end() || cacheEntry < *index) { in get()
DMultifileBlobCache.cpp425 uint8_t* cacheEntry = 0; in get() local
430 cacheEntry = mHotCache[entryHash].entryBuffer; in get()
456 cacheEntry = in get()
462 if (cacheEntry == MAP_FAILED) { in get()
468 if (!addToHotCache(entryHash, fd, cacheEntry, fileSize)) { in get()
473 cacheEntry = mHotCache[entryHash].entryBuffer; in get()
477 MultifileHeader* header = reinterpret_cast<MultifileHeader*>(cacheEntry); in get()
487 uint8_t* cachedKey = cacheEntry + sizeof(MultifileHeader); in get()
496 uint8_t* cachedValue = cacheEntry + (keySize + sizeof(MultifileHeader)); in get()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java224 final byte[] cacheEntry = toCacheEntry(parsed); in cacheResult()
226 if (cacheEntry == null) { in cacheResult()
231 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/packagemanager/src/android/os/
DPackageParsingPerfTest.kt257 val cacheEntry = toCacheEntry(parsed) in <lambda>() constant
258 return FileOutputStream(cacheFile).use { fos -> fos.write(cacheEntry) } in <lambda>()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3813 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); in clearBagCache() local
3816 cacheEntry.filteredConfigs.clear(); in clearBagCache()
3818 bag_set** typeBags = cacheEntry.cachedBags; in clearBagCache()
3834 cacheEntry.cachedBags = NULL; in clearBagCache()
4780 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); in getBagLocked() local
4781 bag_set** typeSet = cacheEntry.cachedBags; in getBagLocked()
4805 cacheEntry.cachedBags = typeSet; in getBagLocked()
5038 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); in setParameters() local
5060 cacheEntry.filteredConfigs.add(newFilteredConfigs); in setParameters()
6704 const TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries[typeIndex]; in getEntry() local
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java889 public ParsedPackage fromCacheEntry(byte[] cacheEntry) { in setCacheDir()
890 ParsedPackage parsed = super.fromCacheEntry(cacheEntry); in setCacheDir()