Searched refs:listenersTracker (Results 1 – 2 of 2) sorted by relevance
2267 RemoteCallbackList<ISuggestionConnectionStatusListener> listenersTracker = in sendConnectionFailureIfAllowed() local2269 if (listenersTracker == null || listenersTracker.getRegisteredCallbackCount() == 0) { in sendConnectionFailureIfAllowed()2282 int itemCount = listenersTracker.beginBroadcast(); in sendConnectionFailureIfAllowed()2285 listenersTracker.getBroadcastItem(i).onConnectionStatus(matchingSuggestion, in sendConnectionFailureIfAllowed()2291 listenersTracker.finishBroadcast(); in sendConnectionFailureIfAllowed()2317 RemoteCallbackList<ISuggestionUserApprovalStatusListener> listenersTracker = in addSuggestionUserApprovalStatusListener() local2319 if (listenersTracker == null) { in addSuggestionUserApprovalStatusListener()2320 listenersTracker = new RemoteCallbackList<>(); in addSuggestionUserApprovalStatusListener()2322 listenersTracker.register(listener); in addSuggestionUserApprovalStatusListener()2323 mSuggestionUserApprovalStatusListenerPerApp.put(packageName, listenersTracker); in addSuggestionUserApprovalStatusListener()[all …]
2094 RemoteCallbackList<ILocalOnlyConnectionStatusListener> listenersTracker = in addLocalOnlyConnectionStatusListener() local2096 if (listenersTracker == null) { in addLocalOnlyConnectionStatusListener()2097 listenersTracker = new RemoteCallbackList<>(); in addLocalOnlyConnectionStatusListener()2099 listenersTracker.register(listener); in addLocalOnlyConnectionStatusListener()2100 mLocalOnlyStatusListenerPerApp.put(packageName, listenersTracker); in addLocalOnlyConnectionStatusListener()2111 RemoteCallbackList<ILocalOnlyConnectionStatusListener> listenersTracker = in removeLocalOnlyConnectionStatusListener() local2113 if (listenersTracker == null || !listenersTracker.unregister(listener)) { in removeLocalOnlyConnectionStatusListener()2117 if (listenersTracker != null && listenersTracker.getRegisteredCallbackCount() == 0) { in removeLocalOnlyConnectionStatusListener()2125 RemoteCallbackList<ILocalOnlyConnectionStatusListener> listenersTracker = in sendConnectionFailureIfAllowed() local2127 if (listenersTracker == null || listenersTracker.getRegisteredCallbackCount() == 0) { in sendConnectionFailureIfAllowed()[all …]