Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DAbstractCache.java52 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local
53 cacheEntry.value = value; in put()
54 mCacheMap.put(key, cacheEntry); in put()
70 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local
71 if (cacheEntry != null) { in get()
72 cacheEntry.hit++; in get()
74 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get()
76 return cacheEntry.value; in get()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java250 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(iface); in getChip() local
251 if (cacheEntry == null) { in getChip()
256 return cacheEntry.chip; in getChip()
273 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(iface); in registerDestroyedListener() local
274 if (cacheEntry == null) { in registerDestroyedListener()
280 return cacheEntry.destroyedListeners.add( in registerDestroyedListener()
1314 InterfaceCacheEntry cacheEntry = new InterfaceCacheEntry(); in createIfaceIfPossible() local
1316 cacheEntry.chip = bestIfaceCreationProposal.chipInfo.chip; in createIfaceIfPossible()
1317 cacheEntry.chipId = bestIfaceCreationProposal.chipInfo.chipId; in createIfaceIfPossible()
1318 cacheEntry.name = getName(iface); in createIfaceIfPossible()
[all …]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java529 PduCacheEntry cacheEntry = null; in load() local
543 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in load()
544 if (cacheEntry != null) { in load()
545 return cacheEntry.getPdu(); in load()
673 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load()
674 PDU_CACHE_INSTANCE.put(uri, cacheEntry); in load()
1155 PduCacheEntry cacheEntry; in updateParts() local
1166 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in updateParts()
1167 if (cacheEntry != null) { in updateParts()
1168 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); in updateParts()
/frameworks/base/services/core/jni/
Dcom_android_server_location_ContextHubService.cpp678 AppInstanceInfo cacheEntry = current->second; in handleQueryAppsResponse() local
684 if (apps[i].appId == cacheEntry.appInfo.appId) { in handleQueryAppsResponse()
692 deleteAppInstance(cacheEntry.instanceId, env); in handleQueryAppsResponse()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java183 public Package fromCacheEntry(byte[] cacheEntry) { in fromCacheEntry() argument
184 return new Package(new String(cacheEntry, StandardCharsets.UTF_8)); in fromCacheEntry()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3345 TypeCacheEntry& cacheEntry = typeCacheEntries.editItemAt(i); in clearBagCache() local
3348 cacheEntry.filteredConfigs.clear(); in clearBagCache()
3350 bag_set** typeBags = cacheEntry.cachedBags; in clearBagCache()
3366 cacheEntry.cachedBags = NULL; in clearBagCache()
4309 TypeCacheEntry& cacheEntry = grp->typeCacheEntries.editItemAt(t); in getBagLocked() local
4310 bag_set** typeSet = cacheEntry.cachedBags; in getBagLocked()
4334 cacheEntry.cachedBags = typeSet; in getBagLocked()
4568 TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries.editItemAt(t); in setParameters() local
4590 cacheEntry.filteredConfigs.add(newFilteredConfigs); in setParameters()
6152 const TypeCacheEntry& cacheEntry = packageGroup->typeCacheEntries[typeIndex]; in getEntry() local
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1107 final byte[] cacheEntry; in cacheResult()
1109 cacheEntry = toCacheEntry(parsed); in cacheResult()
1115 if (cacheEntry == null) { in cacheResult()
1120 fos.write(cacheEntry); in cacheResult()