Searched refs:DiscoveryListener (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | DiscoveryListenerMultiplexer.java | 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()
|
D | MDNSFilteredDiscovery.java | 38 public class MDNSFilteredDiscovery implements NsdManager.DiscoveryListener {
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 305 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/ |
D | ServiceResolver.java | 40 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/ |
D | ServiceListener.java | 43 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/ |
D | NsdManagerTest.java | 194 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/ |
D | NsdServiceTest.java | 127 NsdManager.DiscoveryListener listener2 = mock(NsdManager.DiscoveryListener.class); in testClientRequestsAreGCedAtDisconnection()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | UsbHostManagementActivity.java | 31 import android.net.nsd.NsdManager.DiscoveryListener;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 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 {
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 29545 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/ |
D | current.txt | 29675 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 {
|