Lines Matching refs:callBacks
85 private final Map<String, Set<ContactInfoCacheCallback>> callBacks = new ArrayMap<>(); field in ContactInfoCache
356 Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in findInfo() local
369 + (callBacks == null ? "complete" : "still running")); in findInfo()
372 if (callBacks == null) { in findInfo()
379 if (callBacks != null) { in findInfo()
381 callBacks.add(callback); in findInfo()
390 callBacks = new ArraySet<>(); in findInfo()
391 callBacks.add(callback); in findInfo()
392 this.callBacks.put(callId, callBacks); in findInfo()
618 callBacks.clear(); in clearCache()
662 final Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in sendInfoNotifications() local
663 if (callBacks != null) { in sendInfoNotifications()
664 for (ContactInfoCacheCallback callBack : callBacks) { in sendInfoNotifications()
675 final Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in sendImageNotifications() local
676 if (callBacks != null && entry.photo != null) { in sendImageNotifications()
677 for (ContactInfoCacheCallback callBack : callBacks) { in sendImageNotifications()
685 callBacks.remove(callId); in clearCallbacks()