Home
last modified time | relevance | path

Searched refs:PROTOCOL_DNS_SD (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DAdvertisingRequestTest.kt20 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()
DNsdManagerTest.java72 static final int PROTOCOL = NsdManager.PROTOCOL_DNS_SD;
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java21 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/
DNsdServiceTest.java166 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/
DNsdManagerDownstreamTetheringTest.kt90 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/
DIntegrationTestUtils.java329 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/
DDiscoveryRequest.java177 this(NsdManager.PROTOCOL_DNS_SD, serviceType); in Builder()
DNsdManager.java330 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/
DServiceDiscoveryTest.java20 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/
DNsdPublisher.java19 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/
DMdnsDiscovery.java153 nsdManager.discoverServices(mServiceName, NsdManager.PROTOCOL_DNS_SD, serviceListener); in onStart()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java1148 NsdManager.PROTOCOL_DNS_SD,
1172 NsdManager.PROTOCOL_DNS_SD,
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt252 field public static final int PROTOCOL_DNS_SD = 1; // 0x1