Searched refs:DiscoveryListener (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | DiscoveryListenerMultiplexer.java | 46 @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()
|
D | MDNSFilteredDiscovery.java | 38 public class MDNSFilteredDiscovery implements NsdManager.DiscoveryListener {
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 292 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/ |
D | ServiceResolver.java | 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()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
D | ServiceListener.java | 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()
|
/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/api/ |
D | current.txt | 26000 … 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 {
|
D | system-current.txt | 28278 … 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 {
|