Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DDiscoveryListenerMultiplexer.java46 @NonNull NsdManager.DiscoveryListener newListener) { in addListener()
51 ArrayList<NsdManager.DiscoveryListener> subListeners = new ArrayList<>(1); in addListener()
78 @NonNull NsdManager.DiscoveryListener listener) { in removeListener()
103 final @NonNull ArrayList<NsdManager.DiscoveryListener> subListeners;
108 private DiscoveryListenerSet(ArrayList<NsdManager.DiscoveryListener> subListeners, in DiscoveryListenerSet()
119 private static class MultiListener implements NsdManager.DiscoveryListener {
120 private final @NonNull ArrayList<NsdManager.DiscoveryListener> mListeners;
127 public MultiListener(@NonNull ArrayList<NsdManager.DiscoveryListener> listeners) { in MultiListener()
158 NsdManager.DiscoveryListener listener = mListeners.get(i); in onServiceFound()
170 NsdManager.DiscoveryListener listener = mListeners.get(i); in onServiceLost()
DMDNSFilteredDiscovery.java38 public class MDNSFilteredDiscovery implements NsdManager.DiscoveryListener {
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java292 public interface DiscoveryListener { interface in NsdManager
358 ((DiscoveryListener) listener).onDiscoveryStarted(s); in handleMessage()
362 ((DiscoveryListener) listener).onStartDiscoveryFailed(getNsdServiceInfoType(ns), in handleMessage()
366 ((DiscoveryListener) listener).onServiceFound((NsdServiceInfo) message.obj); in handleMessage()
369 ((DiscoveryListener) listener).onServiceLost((NsdServiceInfo) message.obj); in handleMessage()
373 ((DiscoveryListener) listener).onStopDiscoveryFailed(getNsdServiceInfoType(ns), in handleMessage()
378 ((DiscoveryListener) listener).onDiscoveryStopped(getNsdServiceInfoType(ns)); in handleMessage()
574 public void discoverServices(String serviceType, int protocolType, DiscoveryListener listener) { in discoverServices()
613 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/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java31 import android.net.nsd.NsdManager.DiscoveryListener;
/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.txt26000 … public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryListener);
26003 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);
26015 public static abstract interface NsdManager.DiscoveryListener {
Dsystem-current.txt28278 … public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryListener);
28281 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);
28293 public static abstract interface NsdManager.DiscoveryListener {