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.java55 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local
56 cacheEntry.value = value; in put()
57 mCacheMap.put(key, cacheEntry); in put()
74 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local
75 if (cacheEntry != null) { in get()
76 cacheEntry.hit++; in get()
78 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get()
80 return cacheEntry.value; in get()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java288 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in getChip() local
289 if (cacheEntry == null) { in getChip()
294 return cacheEntry.chip; in getChip()
318 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in registerDestroyedListener() local
319 if (cacheEntry == null) { in registerDestroyedListener()
324 return cacheEntry.destroyedListeners.add( in registerDestroyedListener()
1443 InterfaceCacheEntry cacheEntry = new InterfaceCacheEntry(); in createIfaceIfPossible() local
1445 cacheEntry.chip = bestIfaceCreationProposal.chipInfo.chip; in createIfaceIfPossible()
1446 cacheEntry.chipId = bestIfaceCreationProposal.chipInfo.chipId; in createIfaceIfPossible()
1447 cacheEntry.name = getName(iface); in createIfaceIfPossible()
[all …]
/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/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/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java197 public Package fromCacheEntry(byte[] cacheEntry) { in fromCacheEntry() argument
198 return new Package(new String(cacheEntry, StandardCharsets.UTF_8)); in fromCacheEntry()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3567 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); in clearBagCache() local
3570 cacheEntry.filteredConfigs.clear(); in clearBagCache()
3572 bag_set** typeBags = cacheEntry.cachedBags; in clearBagCache()
3588 cacheEntry.cachedBags = NULL; in clearBagCache()
4537 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); in getBagLocked() local
4538 bag_set** typeSet = cacheEntry.cachedBags; in getBagLocked()
4562 cacheEntry.cachedBags = typeSet; in getBagLocked()
4796 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); in setParameters() local
4818 cacheEntry.filteredConfigs.add(newFilteredConfigs); in setParameters()
6439 const TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries[typeIndex]; in getEntry() local
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1239 final byte[] cacheEntry = toCacheEntry(parsed); in cacheResult()
1241 if (cacheEntry == null) { in cacheResult()
1246 fos.write(cacheEntry); in cacheResult()