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.java38 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.java40 private final List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>();
59 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start()
97 for (NsdManager.DiscoveryListener listener : mListeners) { in stop()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceListener.java43 private List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>();
135 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start()
173 for(NsdManager.DiscoveryListener listener : mListeners) { in stop()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java194 NsdManager.DiscoveryListener listener = mock(NsdManager.DiscoveryListener.class); in testDiscoverService()
269 NsdManager.DiscoveryListener listener2 = mock(NsdManager.DiscoveryListener.class); in testInvalidCalls()
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java127 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/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/non-updatable-api/
Dcurrent.txt29545 method public void discoverServices(String, int, android.net.nsd.NsdManager.DiscoveryListener);
29548 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);
29560 public static interface NsdManager.DiscoveryListener {
/frameworks/base/api/
Dcurrent.txt29675 method public void discoverServices(String, int, android.net.nsd.NsdManager.DiscoveryListener);
29678 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);
29690 public static interface NsdManager.DiscoveryListener {