Home
last modified time | relevance | path

Searched refs:mNsdManager (Results 1 – 4 of 4) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DNsdResolveQueue.java34 private final NsdManager mNsdManager; field in NsdResolveQueue
41 mNsdManager = nsdManager; in NsdResolveQueue()
47 return mNsdManager; in getNsdManager()
62 NsdResolveRequest request = new NsdResolveRequest(mNsdManager, serviceInfo, listener); in resolve()
83 private final NsdManager mNsdManager; field in NsdResolveQueue.NsdResolveRequest
91 mNsdManager = nsdManager; in NsdResolveRequest()
99 mNsdManager.resolveService(mServiceInfo, this); in start()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DServiceDiscoveryTest.java103 private NsdManager mNsdManager; field in ServiceDiscoveryTest
113 mNsdManager = mContext.getSystemService(NsdManager.class); in setUp()
197 discoverService(mNsdManager, serviceTypePrefix + i + "._tcp"); in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns()
199 NsdServiceInfo resolvedService = resolveService(mNsdManager, discoveredService); in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns()
248 NsdServiceInfo discoveredService = discoverService(mNsdManager, "_test._tcp"); in advertisingProxy_srpClientUpdatesService_updatedServiceResolvableByMdns()
252 mNsdManager, in advertisingProxy_srpClientUpdatesService_updatedServiceResolvableByMdns()
296 assertThat(discoverService(mNsdManager, "_test._udp")).isNotNull(); in advertisingProxy_srpClientUnregistersService_serviceIsNotDiscoverableByMdns()
301 discoverForServiceLost(mNsdManager, "_test._udp", serviceLostFuture); in advertisingProxy_srpClientUnregistersService_serviceIsNotDiscoverableByMdns()
308 mNsdManager.stopServiceDiscovery(listener); in advertisingProxy_srpClientUnregistersService_serviceIsNotDiscoverableByMdns()
310 assertThrows(TimeoutException.class, () -> discoverService(mNsdManager, "_test._udp")); in advertisingProxy_srpClientUnregistersService_serviceIsNotDiscoverableByMdns()
[all …]
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java68 private final NsdManager mNsdManager; field in NsdPublisher
80 mNsdManager = nsdManager; in NsdPublisher()
172 mNsdManager.registerService(serviceInfo, PROTOCOL_DNS_SD, mExecutor, listener); in registerInternal()
204 mNsdManager.unregisterService(registrationListener); in unregisterInternal()
227 mNsdManager.discoverServices(discoveryRequest, mExecutor, listener); in discoverServiceInternal()
249 mNsdManager.stopServiceDiscovery(listener); in stopServiceDiscoveryInternal()
278 mNsdManager.registerServiceInfoCallback(serviceInfo, mExecutor, listener); in resolveServiceInternal()
302 mNsdManager.unregisterServiceInfoCallback(listener); in stopServiceResolutionInternal()
374 mNsdManager.unregisterService(mRegistrationListeners.valueAt(i)); in resetInternal()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java123 private NsdManager mNsdManager; field in ThreadNetworkControllerTest
138 mNsdManager = mContext.getSystemService(NsdManager.class); in setUp()
906 mNsdManager.stopServiceDiscovery(listener);
1146 mNsdManager.discoverServices(
1155 mNsdManager.stopServiceDiscovery(listener);
1170 mNsdManager.discoverServices(
1193 mNsdManager.registerServiceInfoCallback(discoveredServiceInfo, mExecutor, callback);
1197 mNsdManager.unregisterServiceInfoCallback(callback);