Searched refs:mDiscoveryListeners (Results 1 – 2 of 2) sorted by relevance
64 mDiscoveryListeners = new WeakHashMap<>(); field in RemoteAuthManager112 synchronized (mDiscoveryListeners) { in startDiscovery()114 mDiscoveryListeners.get(callback); in startDiscovery()130 mDiscoveryListeners.put(callback, new WeakReference<>(transport)); in startDiscovery()156 synchronized (mDiscoveryListeners) { in stopDiscovery()158 mDiscoveryListeners.remove(callback); in stopDiscovery()232 synchronized (mDiscoveryListeners) { in onTimeout()233 mDiscoveryListeners.remove(mDeviceDiscoveryCallback); in onTimeout()
73 private final SparseArray<DiscoveryListener> mDiscoveryListeners = new SparseArray<>(0); field in NsdPublisher224 mDiscoveryListeners.append(listenerId, listener); in discoverServiceInternal()238 DiscoveryListener listener = mDiscoveryListeners.get(listenerId); in stopServiceDiscoveryInternal()515 mDiscoveryListeners.remove(mListenerId); in onStartDiscoveryFailed()527 mDiscoveryListeners.remove(mListenerId); in onStopDiscoveryFailed()538 mDiscoveryListeners.remove(mListenerId); in onDiscoveryStopped()