Searched refs:cacheEntry (Results 1 – 7 of 7) sorted by relevance
55 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local56 cacheEntry.value = value; in put()57 mCacheMap.put(key, cacheEntry); in put()74 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local75 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()
283 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in getChip() local284 if (cacheEntry == null) { in getChip()289 return cacheEntry.chip; in getChip()313 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in registerDestroyedListener() local314 if (cacheEntry == null) { in registerDestroyedListener()319 return cacheEntry.destroyedListeners.add( in registerDestroyedListener()1471 InterfaceCacheEntry cacheEntry = new InterfaceCacheEntry(); in createIfaceIfPossible() local1473 cacheEntry.chip = bestIfaceCreationProposal.chipInfo.chip; in createIfaceIfPossible()1474 cacheEntry.chipId = bestIfaceCreationProposal.chipInfo.chipId; in createIfaceIfPossible()1475 cacheEntry.name = getName(iface); in createIfaceIfPossible()[all …]
185 final byte[] cacheEntry = toCacheEntry(parsed); in cacheResult()187 if (cacheEntry == null) { in cacheResult()192 fos.write(cacheEntry); in cacheResult()
542 PduCacheEntry cacheEntry = null; in load() local556 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() local1130 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in updateParts()1131 if (cacheEntry != null) { in updateParts()1132 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); in updateParts()
224 val cacheEntry = toCacheEntry(parsed) in <lambda>() constant225 return FileOutputStream(cacheFile).use { fos -> fos.write(cacheEntry) } in <lambda>()
304 public ParsedPackage fromCacheEntry(byte[] cacheEntry) { in setCacheDir()306 new String(cacheEntry, StandardCharsets.UTF_8)) in setCacheDir()
3570 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); in clearBagCache() local3573 cacheEntry.filteredConfigs.clear(); in clearBagCache()3575 bag_set** typeBags = cacheEntry.cachedBags; in clearBagCache()3591 cacheEntry.cachedBags = NULL; in clearBagCache()4540 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); in getBagLocked() local4541 bag_set** typeSet = cacheEntry.cachedBags; in getBagLocked()4565 cacheEntry.cachedBags = typeSet; in getBagLocked()4799 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); in setParameters() local4821 cacheEntry.filteredConfigs.add(newFilteredConfigs); in setParameters()6442 const TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries[typeIndex]; in getEntry() local[all …]