Home | History | Annotate | Download | only in server

Lines Matching defs:callbackList

408                 final RemoteCallbackList<INetworkScoreCache> callbackList;
411 callbackList = mScoreCaches.get(entry.getKey());
412 isEmpty = callbackList == null
413 || callbackList.getRegisteredCallbackCount() == 0;
427 sendCacheUpdateCallback(consumer, Collections.singleton(callbackList));
792 RemoteCallbackList<INetworkScoreCache> callbackList = mScoreCaches.get(networkType);
793 if (callbackList == null) {
794 callbackList = new RemoteCallbackList<>();
795 mScoreCaches.put(networkType, callbackList);
797 if (!callbackList.register(scoreCache, filterType)) {
798 if (callbackList.getRegisteredCallbackCount() == 0) {
817 RemoteCallbackList<INetworkScoreCache> callbackList = mScoreCaches.get(networkType);
818 if (callbackList == null || !callbackList.unregister(scoreCache)) {
823 } else if (callbackList.getRegisteredCallbackCount() == 0) {
905 for (RemoteCallbackList<INetworkScoreCache> callbackList : remoteCallbackLists) {
906 synchronized (callbackList) { // Ensure only one active broadcast per RemoteCallbackList
907 final int count = callbackList.beginBroadcast();
910 consumer.accept(callbackList.getBroadcastItem(i),
911 callbackList.getBroadcastCookie(i));
914 callbackList.finishBroadcast();