Home
last modified time | relevance | path

Searched refs:DiscoveryListener (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DDiscoveryListenerMultiplexer.java47 @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()
DMDNSFilteredDiscovery.java39 public class MDNSFilteredDiscovery implements NsdManager.DiscoveryListener {
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java305 public interface DiscoveryListener { interface in NsdManager
379 ((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()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DServiceResolver.java39 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()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceListener.java42 private List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>();
134 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start()
172 for(NsdManager.DiscoveryListener listener : mListeners) { in stop()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java195 NsdManager.DiscoveryListener listener = mock(NsdManager.DiscoveryListener.class); in testDiscoverService()
270 NsdManager.DiscoveryListener listener2 = mock(NsdManager.DiscoveryListener.class); in testInvalidCalls()
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java125 NsdManager.DiscoveryListener listener2 = mock(NsdManager.DiscoveryListener.class); in testClientRequestsAreGCedAtDisconnection()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java31 import android.net.nsd.NsdManager.DiscoveryListener;
/frameworks/base/config/
Dhiddenapi-public-dex.txt25649 Landroid/net/nsd/NsdManager$DiscoveryListener;
25650 Landroid/net/nsd/NsdManager$DiscoveryListener;->onDiscoveryStarted(Ljava/lang/String;)V
25651 Landroid/net/nsd/NsdManager$DiscoveryListener;->onDiscoveryStopped(Ljava/lang/String;)V
25652 Landroid/net/nsd/NsdManager$DiscoveryListener;->onServiceFound(Landroid/net/nsd/NsdServiceInfo;)V
25653 Landroid/net/nsd/NsdManager$DiscoveryListener;->onServiceLost(Landroid/net/nsd/NsdServiceInfo;)V
25654 Landroid/net/nsd/NsdManager$DiscoveryListener;->onStartDiscoveryFailed(Ljava/lang/String;I)V
25655 Landroid/net/nsd/NsdManager$DiscoveryListener;->onStopDiscoveryFailed(Ljava/lang/String;I)V
25666 …d/NsdManager;->discoverServices(Ljava/lang/String;ILandroid/net/nsd/NsdManager$DiscoveryListener;)V
25676 Landroid/net/nsd/NsdManager;->stopServiceDiscovery(Landroid/net/nsd/NsdManager$DiscoveryListener;)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17574 … 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 {
/frameworks/base/api/
Dcurrent.txt27643 … 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 {