Home
last modified time | relevance | path

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

/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/Dialer/InCallUI/src/com/android/incallui/
DContactInfoCache.java177 final ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfo() local
181 if (cacheEntry != null) { in findInfo()
184 callback.onContactInfoComplete(callId, cacheEntry); in findInfo()
223 ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfoQueryComplete() local
226 if (cacheEntry == null || TextUtils.isEmpty(cacheEntry.namePrimary) || in findInfoQueryComplete()
228 cacheEntry = buildEntry(mContext, callId, callerInfo, presentationMode, isIncoming); in findInfoQueryComplete()
229 mInfoMap.put(callId, cacheEntry); in findInfoQueryComplete()
232 sendInfoNotifications(callId, cacheEntry); in findInfoQueryComplete()
241 mPhoneNumberService.getPhoneNumberInfo(cacheEntry.number, listener, listener, in findInfoQueryComplete()
243 } else if (cacheEntry.displayPhotoUri != null) { in findInfoQueryComplete()
[all …]
/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()