Searched refs:cacheEntry (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/ |
D | ContactInfoCache.java | 355 final ContactCacheEntry cacheEntry = infoMap.get(callId); in findInfo() local 359 boolean forceQuery = needForceQuery(call, cacheEntry); in findInfo() 365 if (cacheEntry != null && !forceQuery) { in findInfo() 370 callback.onContactInfoComplete(callId, cacheEntry); in findInfo() 412 if (cacheEntry != null) { in findInfo() 417 cacheEntry.queryId = queryToken.queryId; in findInfo() 466 ContactCacheEntry cacheEntry = buildEntry(context, callerInfo, presentationMode); in updateCallerInfoInCacheOnAnyThread() local 467 cacheEntry.queryId = queryToken.queryId; in updateCallerInfoInCacheOnAnyThread() 470 if (cacheEntry.displayPhotoUri != null) { in updateCallerInfoInCacheOnAnyThread() 477 && existingCacheEntry.displayPhotoUri.equals(cacheEntry.displayPhotoUri) in updateCallerInfoInCacheOnAnyThread() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | AbstractCache.java | 50 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local 51 cacheEntry.value = value; in put() 52 mCacheMap.put(key, cacheEntry); in put() 68 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local 69 if (cacheEntry != null) { in get() 70 cacheEntry.hit++; in get() 72 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get() 74 return cacheEntry.value; in get()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 368 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in getChip() local 369 if (cacheEntry == null) { in getChip() 374 return cacheEntry.chip; in getChip() 401 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in replaceRequestorWs() local 402 if (cacheEntry == null) { in replaceRequestorWs() 406 cacheEntry.requestorWsHelper = mWifiInjector.makeWsHelper(newRequestorWs); in replaceRequestorWs() 451 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in registerDestroyedListener() local 452 if (cacheEntry == null) { in registerDestroyedListener() 457 return cacheEntry.destroyedListeners.add( in registerDestroyedListener() 1690 InterfaceCacheEntry cacheEntry = new InterfaceCacheEntry(); in createIfaceIfPossible() local [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 564 PduCacheEntry cacheEntry = null; in load() local 581 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in load() 582 if (cacheEntry != null) { in load() 583 return cacheEntry.getPdu(); in load() 626 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load() 627 PDU_CACHE_INSTANCE.put(uri, cacheEntry); in load() 1222 PduCacheEntry cacheEntry; in updateParts() local 1233 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in updateParts() 1234 if (cacheEntry != null) { in updateParts() 1235 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); in updateParts()
|