Searched refs:DiscoveryListener (Results 1 – 11 of 11) sorted by relevance
47 @NonNull NsdManager.DiscoveryListener newListener) { in addListener()52 ArrayList<NsdManager.DiscoveryListener> subListeners = new ArrayList<>(1); in addListener()79 @NonNull NsdManager.DiscoveryListener listener) { in removeListener()104 final @NonNull ArrayList<NsdManager.DiscoveryListener> subListeners;109 private DiscoveryListenerSet(ArrayList<NsdManager.DiscoveryListener> subListeners, in DiscoveryListenerSet()120 private static class MultiListener implements NsdManager.DiscoveryListener {121 private final @NonNull ArrayList<NsdManager.DiscoveryListener> mListeners;128 public MultiListener(@NonNull ArrayList<NsdManager.DiscoveryListener> listeners) { in MultiListener()159 NsdManager.DiscoveryListener listener = mListeners.get(i); in onServiceFound()171 NsdManager.DiscoveryListener listener = mListeners.get(i); in onServiceLost()
39 public class MDNSFilteredDiscovery implements NsdManager.DiscoveryListener {
305 public interface DiscoveryListener { interface in NsdManager379 ((DiscoveryListener) listener).onDiscoveryStarted(s); in handleMessage()383 ((DiscoveryListener) listener).onStartDiscoveryFailed(getNsdServiceInfoType(ns), in handleMessage()387 ((DiscoveryListener) listener).onServiceFound((NsdServiceInfo) message.obj); in handleMessage()390 ((DiscoveryListener) listener).onServiceLost((NsdServiceInfo) message.obj); in handleMessage()396 ((DiscoveryListener) listener).onStopDiscoveryFailed(getNsdServiceInfoType(ns), in handleMessage()401 ((DiscoveryListener) listener).onDiscoveryStopped(getNsdServiceInfoType(ns)); in handleMessage()573 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices()600 public void stopServiceDiscovery(DiscoveryListener listener) { in stopServiceDiscovery()
39 private final List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>();58 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start()96 for (NsdManager.DiscoveryListener listener : mListeners) { in stop()
42 private List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>();134 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start()172 for(NsdManager.DiscoveryListener listener : mListeners) { in stop()
195 NsdManager.DiscoveryListener listener = mock(NsdManager.DiscoveryListener.class); in testDiscoverService()270 NsdManager.DiscoveryListener listener2 = mock(NsdManager.DiscoveryListener.class); in testInvalidCalls()
125 NsdManager.DiscoveryListener listener2 = mock(NsdManager.DiscoveryListener.class); in testClientRequestsAreGCedAtDisconnection()
31 import android.net.nsd.NsdManager.DiscoveryListener;
25649 Landroid/net/nsd/NsdManager$DiscoveryListener;25650 Landroid/net/nsd/NsdManager$DiscoveryListener;->onDiscoveryStarted(Ljava/lang/String;)V25651 Landroid/net/nsd/NsdManager$DiscoveryListener;->onDiscoveryStopped(Ljava/lang/String;)V25652 Landroid/net/nsd/NsdManager$DiscoveryListener;->onServiceFound(Landroid/net/nsd/NsdServiceInfo;)V25653 Landroid/net/nsd/NsdManager$DiscoveryListener;->onServiceLost(Landroid/net/nsd/NsdServiceInfo;)V25654 Landroid/net/nsd/NsdManager$DiscoveryListener;->onStartDiscoveryFailed(Ljava/lang/String;I)V25655 Landroid/net/nsd/NsdManager$DiscoveryListener;->onStopDiscoveryFailed(Ljava/lang/String;I)V25666 …d/NsdManager;->discoverServices(Ljava/lang/String;ILandroid/net/nsd/NsdManager$DiscoveryListener;)V25676 Landroid/net/nsd/NsdManager;->stopServiceDiscovery(Landroid/net/nsd/NsdManager$DiscoveryListener;)V
17574 … public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryListener);17577 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);17589 public static abstract interface NsdManager.DiscoveryListener {
27643 … public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryListener);27646 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);27658 public static abstract interface NsdManager.DiscoveryListener {