• Home
  • Raw
  • Download

Lines Matching refs:callId

299   ContactCacheEntry getInfo(String callId) {  in getInfo()  argument
300 return infoMap.get(callId); in getInfo()
354 final String callId = call.getId(); in findInfo() local
355 final ContactCacheEntry cacheEntry = infoMap.get(callId); in findInfo()
356 Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in findInfo()
361 Log.d(TAG, "findInfo: callId = " + callId + "; forceQuery = " + forceQuery); in findInfo()
370 callback.onContactInfoComplete(callId, cacheEntry); in findInfo()
392 this.callBacks.put(callId, callBacks); in findInfo()
402 final CallerInfoQueryToken queryToken = new CallerInfoQueryToken(queryId, callId); in findInfo()
408 new DialerCallCookieWrapper(callId, call.getNumberPresentation(), call.getCnapName()), in findInfo()
422 callId, call.getNumberPresentation(), callerInfo, false, queryToken); in findInfo()
423 sendInfoNotifications(callId, initialCacheEntry); in findInfo()
430 String callId, in updateCallerInfoInCacheOnAnyThread() argument
439 + callId in updateCallerInfoInCacheOnAnyThread()
445 ContactCacheEntry existingCacheEntry = infoMap.get(callId); in updateCallerInfoInCacheOnAnyThread()
497 infoMap.put(callId, cacheEntry); in updateCallerInfoInCacheOnAnyThread()
501 infoMap.putIfAbsent(callId, cacheEntry); in updateCallerInfoInCacheOnAnyThread()
556 final String callId = myCookie.callId; in onImageLoaded() local
558 if (!isWaitingForThisQuery(callId, queryId)) { in onImageLoaded()
569 final String callId = myCookie.callId; in loadImage() local
570 ContactCacheEntry entry = infoMap.get(callId); in loadImage()
574 clearCallbacks(callId); in loadImage()
605 final String callId = myCookie.callId; in onImageLoadComplete() local
607 if (!isWaitingForThisQuery(callId, queryId)) { in onImageLoadComplete()
610 sendImageNotifications(callId, infoMap.get(callId)); in onImageLoadComplete()
612 clearCallbacks(callId); in onImageLoadComplete()
659 private void sendInfoNotifications(String callId, ContactCacheEntry entry) { in sendInfoNotifications() argument
662 final Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in sendInfoNotifications()
665 callBack.onContactInfoComplete(callId, entry); in sendInfoNotifications()
672 private void sendImageNotifications(String callId, ContactCacheEntry entry) { in sendImageNotifications() argument
675 final Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in sendImageNotifications()
678 callBack.onImageLoadComplete(callId, entry); in sendImageNotifications()
684 private void clearCallbacks(String callId) { in clearCallbacks() argument
685 callBacks.remove(callId); in clearCallbacks()
691 void onContactInfoComplete(String callId, ContactCacheEntry entry); in onContactInfoComplete() argument
693 void onImageLoadComplete(String callId, ContactCacheEntry entry); in onImageLoadComplete() argument
778 final String callId; field in ContactInfoCache.DialerCallCookieWrapper
782 DialerCallCookieWrapper(String callId, int numberPresentation, String cnapName) { in DialerCallCookieWrapper() argument
783 this.callId = callId; in DialerCallCookieWrapper()
803 if (!isWaitingForThisQuery(cw.callId, queryToken.queryId)) { in onDataLoaded()
810 updateCallerInfoInCacheOnAnyThread(cw.callId, cw.numberPresentation, ci, true, queryToken); in onDataLoaded()
818 String callId = cw.callId; in onQueryComplete() local
819 if (!isWaitingForThisQuery(cw.callId, queryToken.queryId)) { in onQueryComplete()
823 ContactCacheEntry cacheEntry = infoMap.get(callId); in onQueryComplete()
827 clearCallbacks(callId); in onQueryComplete()
837 new PhoneNumberServiceListener(callId, queryToken.queryId); in onQueryComplete()
841 sendInfoNotifications(callId, cacheEntry); in onQueryComplete()
851 clearCallbacks(callId); in onQueryComplete()
859 private final String callId; field in ContactInfoCache.PhoneNumberServiceListener
862 PhoneNumberServiceListener(String callId, int queryId) { in PhoneNumberServiceListener() argument
863 this.callId = callId; in PhoneNumberServiceListener()
870 if (!isWaitingForThisQuery(callId, queryIdOfRemoteLookup)) { in onPhoneNumberInfoComplete()
878 clearCallbacks(callId); in onPhoneNumberInfoComplete()
894 final ContactCacheEntry oldEntry = infoMap.get(callId); in onPhoneNumberInfoComplete()
914 infoMap.put(callId, entry); in onPhoneNumberInfoComplete()
915 sendInfoNotifications(callId, entry); in onPhoneNumberInfoComplete()
922 clearCallbacks(callId); in onPhoneNumberInfoComplete()
950 final String callId; field in ContactInfoCache.CallerInfoQueryToken
952 CallerInfoQueryToken(int queryId, String callId) { in CallerInfoQueryToken() argument
954 this.callId = callId; in CallerInfoQueryToken()
959 private boolean isWaitingForThisQuery(String callId, int queryId) { in isWaitingForThisQuery() argument
960 final ContactCacheEntry existingCacheEntry = infoMap.get(callId); in isWaitingForThisQuery()