/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | AdvertisingRequestTest.kt | 20 import android.net.nsd.NsdManager.PROTOCOL_DNS_SD 46 val beforeParcel = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD) in testParcelingIsLossLess() 62 val request = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD) in testBuilder_setNullTtl_success() 74 val request = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD) in testBuilder_setPropertiesSuccess() 80 assertEquals(PROTOCOL_DNS_SD, request.protocolType) in testBuilder_setPropertiesSuccess() 90 val request1 = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD).build() in testEquality() 91 val request2 = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD).build() in testEquality() 92 val request3 = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD) in testEquality() 96 val request4 = AdvertisingRequest.Builder(info, PROTOCOL_DNS_SD) in testEquality()
|
D | NsdManagerTest.java | 72 static final int PROTOCOL = NsdManager.PROTOCOL_DNS_SD;
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 21 import static android.net.nsd.NsdManager.PROTOCOL_DNS_SD; 112 eq(PROTOCOL_DNS_SD), in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds() 158 eq(PROTOCOL_DNS_SD), in registerService_nsdManagerFails_serviceRegistrationFails() 227 eq(PROTOCOL_DNS_SD), in unregisterService_nsdManagerSucceeds_serviceUnregistrationSucceeds() 269 eq(PROTOCOL_DNS_SD), in unregisterService_nsdManagerFails_serviceUnregistrationFails() 308 eq(PROTOCOL_DNS_SD), in registerHost_nsdManagerSucceeds_serviceRegistrationSucceeds() 351 eq(PROTOCOL_DNS_SD), in registerHost_nsdManagerFails_serviceRegistrationFails() 414 eq(PROTOCOL_DNS_SD), in unregisterHost_nsdManagerSucceeds_serviceUnregistrationSucceeds() 452 eq(PROTOCOL_DNS_SD), in unregisterHost_nsdManagerFails_serviceUnregistrationFails() 481 eq(new DiscoveryRequest.Builder(PROTOCOL_DNS_SD, "_test._tcp").build()), in discoverService_serviceDiscovered() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 166 static final int PROTOCOL = NsdManager.PROTOCOL_DNS_SD; 810 client1.discoverServices(testType1, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 812 client1.registerService(testServiceInfo1, NsdManager.PROTOCOL_DNS_SD, Runnable::run, in testPerClientListenerLimit() 815 client2.registerService(testServiceInfo2, NsdManager.PROTOCOL_DNS_SD, Runnable::run, in testPerClientListenerLimit() 817 client2.discoverServices(testType2, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 841 client1.discoverServices(testType1, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 846 client1.registerService(testServiceInfo1, NsdManager.PROTOCOL_DNS_SD, Runnable::run, in testPerClientListenerLimit() 852 client1.discoverServices(testType2, NsdManager.PROTOCOL_DNS_SD, in testPerClientListenerLimit() 857 client1.registerService(testServiceInfo2, NsdManager.PROTOCOL_DNS_SD, Runnable::run, in testPerClientListenerLimit() 1285 client.registerService(regInfo, NsdManager.PROTOCOL_DNS_SD, Runnable::run, regListener); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NsdManagerDownstreamTetheringTest.kt | 90 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, discoveryRecord) in testMdnsDiscoveryCanSendPacketOnLocalOnlyDownstreamTetheringInterface() 137 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, discoveryRecord) in testMdnsDiscoveryWorkOnTetheringInterface()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | IntegrationTestUtils.java | 329 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, listener); in discoverService() 353 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, listener); in discoverForServiceLost()
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | DiscoveryRequest.java | 177 this(NsdManager.PROTOCOL_DNS_SD, serviceType); in Builder()
|
D | NsdManager.java | 330 public static final int PROTOCOL_DNS_SD = 0x0001; field in NsdManager 1743 if (protocolType != PROTOCOL_DNS_SD) { in checkProtocol()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ServiceDiscoveryTest.java | 20 import static android.net.nsd.NsdManager.PROTOCOL_DNS_SD; 452 mNsdManager.registerService(serviceInfo, PROTOCOL_DNS_SD, listener); in registerService()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 19 import static android.net.nsd.NsdManager.PROTOCOL_DNS_SD; 172 mNsdManager.registerService(serviceInfo, PROTOCOL_DNS_SD, mExecutor, listener); in registerInternal()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | MdnsDiscovery.java | 153 nsdManager.discoverServices(mServiceName, NsdManager.PROTOCOL_DNS_SD, serviceListener); in onStart()
|
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/ |
D | ThreadNetworkControllerTest.java | 1148 NsdManager.PROTOCOL_DNS_SD, 1172 NsdManager.PROTOCOL_DNS_SD,
|
/packages/modules/Connectivity/framework-t/api/ |
D | current.txt | 252 field public static final int PROTOCOL_DNS_SD = 1; // 0x1
|