Searched refs:discoverService (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ServiceDiscoveryTest.java | 24 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/ |
D | ThreadNetworkControllerTest.java | 910 () -> 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/ |
D | NsdPublisherTest.java | 475 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/ |
D | IntegrationTestUtils.java | 319 public static NsdServiceInfo discoverService(NsdManager nsdManager, String serviceType) in discoverService() method in IntegrationTestUtils
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 208 public void discoverService(String type, INsdDiscoverServiceCallback callback, int listenerId) { in discoverService() method in NsdPublisher
|