Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DNsdService.java27 import android.net.nsd.NsdManager;
81 private static final int CMD_TO_STRING_COUNT = NsdManager.RESOLVE_SERVICE - BASE + 1;
85 sCmdToString[NsdManager.DISCOVER_SERVICES - BASE] = "DISCOVER";
86 sCmdToString[NsdManager.STOP_DISCOVERY - BASE] = "STOP-DISCOVER";
87 sCmdToString[NsdManager.REGISTER_SERVICE - BASE] = "REGISTER";
88 sCmdToString[NsdManager.UNREGISTER_SERVICE - BASE] = "UNREGISTER";
89 sCmdToString[NsdManager.RESOLVE_SERVICE - BASE] = "RESOLVE";
120 mNsdStateMachine.sendMessage(NsdManager.ENABLE); in registerForNsdSetting()
122 mNsdStateMachine.sendMessage(NsdManager.DISABLE); in registerForNsdSetting()
188 case NsdManager.DISCOVER_SERVICES: in processMessage()
[all …]
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd.jd125 android.net.nsd.NsdManager.RegistrationListener RegistrationListener} interface. This
131 mRegistrationListener = new NsdManager.RegistrationListener() {
149 // NsdManager.unregisterService() and pass in this listener.
161 {@link android.net.nsd.NsdManager#registerService registerService()}.
166 android.net.nsd.NsdManager.RegistrationListener#onServiceRegistered(NsdServiceInfo)
179 serviceInfo, NsdManager.PROTOCOL_DNS_SD, mRegistrationListener);
193 API call to {@link android.net.nsd.NsdManager#discoverServices(String
194 , int , NsdManager.DiscoveryListener) discoverServices()}.</p>
197 android.net.nsd.NsdManager.DiscoveryListener}. The following snippet shows a
204 mDiscoveryListener = new NsdManager.DiscoveryListener() {
[all …]
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java121 public final class NsdManager { class
232 public NsdManager(Context context, INsdManager service) { in NsdManager() method in NsdManager
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java74 import android.net.nsd.NsdManager;
357 registerService(Context.NSD_SERVICE, NsdManager.class, in registerService()
358 new CachedServiceFetcher<NsdManager>() { in registerService()
360 public NsdManager createService(ContextImpl ctx) { in registerService()
363 return new NsdManager(ctx.getOuterContext(), service); in registerService()
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd491 <p>Then you need to implement {@link android.net.nsd.NsdManager.RegistrationListener}
492 and pass it to {@link android.net.nsd.NsdManager#registerService registerService()}
496 android.net.nsd.NsdManager.DiscoveryListener} and pass it to {@link
497 android.net.nsd.NsdManager#discoverServices discoverServices()}.</p>
500 android.net.nsd.NsdManager.DiscoveryListener} receives callbacks about services
502 {@link android.net.nsd.NsdManager#resolveService resolveService()}, passing it an
503 implementation of {@link android.net.nsd.NsdManager.ResolveListener} that receives
/frameworks/base/
Dpreloaded-classes1340 android.net.nsd.NsdManager
/frameworks/base/docs/html/
Dsitemap.txt1410 http://developer.android.com/reference/android/net/nsd/NsdManager.html
1718 http://developer.android.com/reference/android/net/nsd/NsdManager.DiscoveryListener.html
1719 http://developer.android.com/reference/android/net/nsd/NsdManager.RegistrationListener.html
1720 http://developer.android.com/reference/android/net/nsd/NsdManager.ResolveListener.html
/frameworks/base/api/
Dcurrent.txt18779 public final class NsdManager {
18780 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis…
18781 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList…
18782 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol…
18783 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);
18784 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener);
18795 public static abstract interface NsdManager.DiscoveryListener {
18804 public static abstract interface NsdManager.RegistrationListener {
18811 public static abstract interface NsdManager.ResolveListener {
Dsystem-current.txt20356 public final class NsdManager {
20357 …method public void discoverServices(java.lang.String, int, android.net.nsd.NsdManager.DiscoveryLis…
20358 …d registerService(android.net.nsd.NsdServiceInfo, int, android.net.nsd.NsdManager.RegistrationList…
20359 …method public void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.Resol…
20360 method public void stopServiceDiscovery(android.net.nsd.NsdManager.DiscoveryListener);
20361 method public void unregisterService(android.net.nsd.NsdManager.RegistrationListener);
20372 public static abstract interface NsdManager.DiscoveryListener {
20381 public static abstract interface NsdManager.RegistrationListener {
20388 public static abstract interface NsdManager.ResolveListener {