Home
last modified time | relevance | path

Searched refs:discoverService (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DServiceDiscoveryTest.java24 import static android.net.thread.utils.IntegrationTestUtils.discoverService;
197 discoverService(mNsdManager, serviceTypePrefix + i + "._tcp"); in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns()
248 NsdServiceInfo discoveredService = discoverService(mNsdManager, "_test._tcp"); in advertisingProxy_srpClientUpdatesService_updatedServiceResolvableByMdns()
296 assertThat(discoverService(mNsdManager, "_test._udp")).isNotNull(); in advertisingProxy_srpClientUnregistersService_serviceIsNotDiscoverableByMdns()
310 assertThrows(TimeoutException.class, () -> discoverService(mNsdManager, "_test._udp")); in advertisingProxy_srpClientUnregistersService_serviceIsNotDiscoverableByMdns()
315 NsdServiceInfo discoveredService = discoverService(mNsdManager, "_meshcop._udp"); in meshcopOverlay_vendorAndModelNameAreSetToOverlayValue()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java910 () -> discoverService(MESHCOP_SERVICE_TYPE, SERVICE_LOST_TIMEOUT_MILLIS));
1131 private NsdServiceInfo discoverService(String serviceType) throws Exception {
1132 return discoverService(serviceType, SERVICE_DISCOVERY_TIMEOUT_MILLIS);
1136 private NsdServiceInfo discoverService(String serviceType, int timeoutMilliseconds)
1182 NsdServiceInfo discoveredServiceInfo = discoverService(serviceType);
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java475 mNsdPublisher.discoverService("_test._tcp", mDiscoverServiceCallback, 10 /* listenerId */); in discoverService_serviceDiscovered()
500 mNsdPublisher.discoverService("_test._tcp", mDiscoverServiceCallback, 10 /* listenerId */); in discoverService_serviceLost()
525 mNsdPublisher.discoverService("_test._tcp", mDiscoverServiceCallback, 10 /* listenerId */); in stopServiceDiscovery()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DIntegrationTestUtils.java319 public static NsdServiceInfo discoverService(NsdManager nsdManager, String serviceType) in discoverService() method in IntegrationTestUtils
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java208 public void discoverService(String type, INsdDiscoverServiceCallback callback, int listenerId) { in discoverService() method in NsdPublisher