/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 27 import android.net.nsd.NsdManager; 89 return NsdManager.nameOf(what); in getWhatToString() 100 mNsdStateMachine.sendMessage(NsdManager.ENABLE); in registerForNsdSetting() 102 mNsdStateMachine.sendMessage(NsdManager.DISABLE); in registerForNsdSetting() 168 case NsdManager.DISCOVER_SERVICES: in processMessage() 169 replyToMessage(msg, NsdManager.DISCOVER_SERVICES_FAILED, in processMessage() 170 NsdManager.FAILURE_INTERNAL_ERROR); in processMessage() 172 case NsdManager.STOP_DISCOVERY: in processMessage() 173 replyToMessage(msg, NsdManager.STOP_DISCOVERY_FAILED, in processMessage() 174 NsdManager.FAILURE_INTERNAL_ERROR); in processMessage() [all …]
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | DiscoveryListenerMultiplexer.java | 20 import android.net.nsd.NsdManager; 45 public static void addListener(@NonNull NsdManager nsdManager, @NonNull String serviceType, in addListener() 46 @NonNull NsdManager.DiscoveryListener newListener) { in addListener() 51 ArrayList<NsdManager.DiscoveryListener> subListeners = new ArrayList<>(1); in addListener() 60 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, in addListener() 77 public static boolean removeListener(@NonNull NsdManager nsdManager, in removeListener() 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 { [all …]
|
D | NsdResolveQueue.java | 20 import android.net.nsd.NsdManager; 59 final @NonNull NsdManager nsdManager; 61 final @NonNull NsdManager.ResolveListener listener; 63 private NsdResolveRequest(@NonNull NsdManager nsdManager, in NsdResolveRequest() 64 @NonNull NsdServiceInfo serviceInfo, @NonNull NsdManager.ResolveListener listener) { in NsdResolveRequest() 78 public void resolve(@NonNull NsdManager nsdManager, @NonNull NsdServiceInfo serviceInfo, in resolve() 79 @NonNull NsdManager.ResolveListener listener) { in resolve() 94 private class ListenerWrapper implements NsdManager.ResolveListener { 95 private final @NonNull NsdManager.ResolveListener mListener; 97 private ListenerWrapper(@NonNull NsdManager.ResolveListener listener) { in ListenerWrapper()
|
D | MDNSFilteredDiscovery.java | 21 import android.net.nsd.NsdManager; 38 public class MDNSFilteredDiscovery implements NsdManager.DiscoveryListener { 105 private NsdManager getNDSManager() { in getNDSManager() 106 return (NsdManager) mContext.getSystemService(Context.NSD_SERVICE); in getNDSManager() 160 new NsdManager.ResolveListener() { in onServiceFound() 184 new NsdManager.ResolveListener() { in onServiceLost()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
D | ServiceResolveQueue.java | 19 import android.net.nsd.NsdManager; 28 private final NsdManager mNsdManager; 37 public static void createInstance(NsdManager nsdManager) { in createInstance() 41 public static ServiceResolveQueue getInstance(NsdManager nsdManager) { in getInstance() 56 public ServiceResolveQueue(NsdManager nsdManager) { in ServiceResolveQueue() 84 new NsdManager.ResolveListener() { in makeNextRequest()
|
D | ServiceListener.java | 21 import android.net.nsd.NsdManager; 37 private final NsdManager mNSDManager; 42 private List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>(); 53 mNSDManager = (NsdManager)context.getSystemService(Context.NSD_SERVICE); in ServiceListener() 134 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start() 172 for(NsdManager.DiscoveryListener listener : mListeners) { in stop()
|
D | ServiceRecommendationPlugin.java | 21 import android.net.nsd.NsdManager; 37 protected final NsdManager mNSDManager; 42 mNSDManager = (NsdManager)context.getSystemService(Context.NSD_SERVICE); in ServiceRecommendationPlugin()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | ServiceResolver.java | 19 import android.net.nsd.NsdManager; 33 private final NsdManager mNSDManager; 39 private final List<NsdManager.DiscoveryListener> mListeners = new ArrayList<>(); 50 mNSDManager = (NsdManager) context.getSystemService(Context.NSD_SERVICE); in ServiceResolver() 58 NsdManager.DiscoveryListener listener = new NsdManager.DiscoveryListener() { in start() 96 for (NsdManager.DiscoveryListener listener : mListeners) { in stop() 135 … mNsdResolveQueue.resolve(mNSDManager, mCurrentRequest, new NsdManager.ResolveListener() { in makeNextRequest()
|
D | XeroxPrintServiceRecommendationPlugin.java | 20 import android.net.nsd.NsdManager; 30 protected final NsdManager mNSDManager; 37 mNSDManager = (NsdManager) context.getSystemService(Context.NSD_SERVICE); in XeroxPrintServiceRecommendationPlugin()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 120 public final class NsdManager { class 121 private static final String TAG = NsdManager.class.getSimpleName(); 264 public NsdManager(Context context, INsdManager service) { in NsdManager() method in NsdManager
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 83 import android.net.nsd.NsdManager; 400 registerService(Context.NSD_SERVICE, NsdManager.class, in registerService() 401 new CachedServiceFetcher<NsdManager>() { in registerService() 403 public NsdManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 406 return new NsdManager(ctx.getOuterContext(), service); in registerService()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | UsbHostManagementActivity.java | 31 import android.net.nsd.NsdManager.DiscoveryListener;
|
/frameworks/base/ |
D | preloaded-classes | 1802 android.net.nsd.NsdManager
|
D | compiled-classes-phone | 2968 android.net.nsd.NsdManager
|
/frameworks/base/services/ |
D | profile-classes | 1810 Landroid/net/nsd/NsdManager;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17573 public final class NsdManager { 17574 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis… 17575 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList… 17576 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol… 17577 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener); 17578 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener); 17589 public static abstract interface NsdManager.DiscoveryListener { 17598 public static abstract interface NsdManager.RegistrationListener { 17605 public static abstract interface NsdManager.ResolveListener {
|
/frameworks/base/api/ |
D | current.txt | 25999 public final class NsdManager { 26000 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis… 26001 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList… 26002 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol… 26003 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener); 26004 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener); 26015 public static abstract interface NsdManager.DiscoveryListener { 26024 public static abstract interface NsdManager.RegistrationListener { 26031 public static abstract interface NsdManager.ResolveListener {
|
D | system-current.txt | 28277 public final class NsdManager { 28278 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis… 28279 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList… 28280 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol… 28281 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener); 28282 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener); 28293 public static abstract interface NsdManager.DiscoveryListener { 28302 public static abstract interface NsdManager.RegistrationListener { 28309 public static abstract interface NsdManager.ResolveListener {
|