Lines Matching refs:callId
72 public ContactCacheEntry getInfo(String callId) { in getInfo() argument
73 return mInfoMap.get(callId); in getInfo()
112 final String callId = call.getId(); in findInfo() local
113 final ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfo()
114 Set<ContactInfoCacheCallback> callBacks = mCallBacks.get(callId); in findInfo()
120 callback.onContactInfoComplete(callId, cacheEntry); in findInfo()
136 mCallBacks.put(callId, callBacks); in findInfo()
152 final String callId = call.getId(); in findInfoQueryComplete() local
159 ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfoQueryComplete()
166 cacheEntry = buildEntry(mContext, callId, callerInfo, presentationMode, isIncoming); in findInfoQueryComplete()
167 mInfoMap.put(callId, cacheEntry); in findInfoQueryComplete()
170 sendInfoNotifications(callId, cacheEntry); in findInfoQueryComplete()
178 final PhoneNumberServiceListener listener = new PhoneNumberServiceListener(callId); in findInfoQueryComplete()
186 mContext, cacheEntry.displayPhotoUri, ContactInfoCache.this, callId); in findInfoQueryComplete()
194 clearCallbacks(callId); in findInfoQueryComplete()
203 PhoneNumberServiceListener(String callId) { in PhoneNumberServiceListener() argument
204 mCallId = callId; in PhoneNumberServiceListener()
272 final String callId = (String) cookie; in onImageLoadComplete() local
273 final ContactCacheEntry entry = mInfoMap.get(callId); in onImageLoadComplete()
277 clearCallbacks(callId); in onImageLoadComplete()
294 sendImageNotifications(callId, entry); in onImageLoadComplete()
295 clearCallbacks(callId); in onImageLoadComplete()
306 private ContactCacheEntry buildEntry(Context context, String callId, in buildEntry() argument
461 private void sendInfoNotifications(String callId, ContactCacheEntry entry) { in sendInfoNotifications() argument
462 final Set<ContactInfoCacheCallback> callBacks = mCallBacks.get(callId); in sendInfoNotifications()
465 callBack.onContactInfoComplete(callId, entry); in sendInfoNotifications()
470 private void sendImageNotifications(String callId, ContactCacheEntry entry) { in sendImageNotifications() argument
471 final Set<ContactInfoCacheCallback> callBacks = mCallBacks.get(callId); in sendImageNotifications()
474 callBack.onImageLoadComplete(callId, entry); in sendImageNotifications()
479 private void clearCallbacks(String callId) { in clearCallbacks() argument
480 mCallBacks.remove(callId); in clearCallbacks()
500 public void onContactInfoComplete(String callId, ContactCacheEntry entry); in onContactInfoComplete() argument
501 public void onImageLoadComplete(String callId, ContactCacheEntry entry); in onImageLoadComplete() argument