Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java355 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/
DAbstractCache.java50 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/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java564 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()