Home
last modified time | relevance | path

Searched refs:listenersTracker (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java2267 RemoteCallbackList<ISuggestionConnectionStatusListener> listenersTracker = in sendConnectionFailureIfAllowed() local
2269 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() local
2319 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 …]
DWifiNetworkFactory.java2094 RemoteCallbackList<ILocalOnlyConnectionStatusListener> listenersTracker = in addLocalOnlyConnectionStatusListener() local
2096 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() local
2113 if (listenersTracker == null || !listenersTracker.unregister(listener)) { in removeLocalOnlyConnectionStatusListener()
2117 if (listenersTracker != null && listenersTracker.getRegisteredCallbackCount() == 0) { in removeLocalOnlyConnectionStatusListener()
2125 RemoteCallbackList<ILocalOnlyConnectionStatusListener> listenersTracker = in sendConnectionFailureIfAllowed() local
2127 if (listenersTracker == null || listenersTracker.getRegisteredCallbackCount() == 0) { in sendConnectionFailureIfAllowed()
[all …]