Home
last modified time | relevance | path

Searched refs:MDNS_PORT (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsConstants.java28 public static final int MDNS_PORT = 5353; field in MdnsConstants
47 getMdnsIPv6Address(), MDNS_PORT);
49 getMdnsIPv4Address(), MDNS_PORT);
DMdnsSocket.java42 new InetSocketAddress(MdnsConstants.getMdnsIPv4Address(), MdnsConstants.MDNS_PORT);
44 new InetSocketAddress(MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT);
DEnqueueMdnsQueryCallable.java218 sendPacketToIpv4AndIpv6(requestSender, MdnsConstants.MDNS_PORT, queryPacket); in call()
DMdnsSocketClient.java147 multicastSocket = createMdnsSocket(MdnsConstants.MDNS_PORT, sharedLog); in startDiscovery()
DMdnsSocketProvider.java530 networkInterface.getNetworkInterface(), MdnsConstants.MDNS_PORT, mLooper, in createSocket()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketTests.java73 InetAddress.getByName("224.0.0.251"), MdnsConstants.MDNS_PORT); in setUp()
75 InetAddress.getByName("FF02::FB"), MdnsConstants.MDNS_PORT); in setUp()
DMdnsRecordTests.java57 new InetSocketAddress(MdnsConstants.getMdnsIPv4Address(), MdnsConstants.MDNS_PORT);
59 new InetSocketAddress(MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT);
105 new InetSocketAddress(MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT)); in testTypeAAAInet6AddressRecord()
142 new InetSocketAddress(MdnsConstants.getMdnsIPv4Address(), MdnsConstants.MDNS_PORT)); in testTypeAAAInet4AddressRecord()
DMdnsRecordRepositoryTest.kt1166 assertEquals(MdnsConstants.MDNS_PORT, replyIpv4.destination.port) in testGetReply_queryWithIpv4Address_replyWithIpv4Address()
1180 assertEquals(MdnsConstants.MDNS_PORT, replyIpv6.destination.port) in testGetReply_queryWithIpv6Address_replyWithIpv6Address()
1196 assertEquals(MdnsConstants.MDNS_PORT, replyIpv4.destination.port) in testGetReply_ipv4AndIpv6Queries_ipv4AndIpv6Replies()
1199 assertEquals(MdnsConstants.MDNS_PORT, replyIpv6.destination.port) in testGetReply_ipv4AndIpv6Queries_ipv4AndIpv6Replies()
1215 assertEquals(MdnsConstants.MDNS_PORT, firstReplyIpv4.destination.port) in testGetReply_twoIpv4QueriesInOneSecond_theSecondReplyIsThrottled()
1233 assertEquals(MdnsConstants.MDNS_PORT, firstReplyIpv6.destination.port) in testGetReply_twoIpv6QueriesInOneSecond_theSecondReplyIsThrottled()
1252 assertEquals(MdnsConstants.MDNS_PORT, firstReplyIpv4.destination.port) in testGetReply_twoIpv4QueriesInMoreThanOneSecond_repliesAreNotThrottled()
1255 assertEquals(MdnsConstants.MDNS_PORT, secondReplyIpv4.destination.port) in testGetReply_twoIpv4QueriesInMoreThanOneSecond_repliesAreNotThrottled()
1273 assertEquals(MdnsConstants.MDNS_PORT, firstReplyIpv6.destination.port) in testGetReply_twoIpv6QueriesInMoreThanOneSecond_repliesAreNotThrottled()
1276 assertEquals(MdnsConstants.MDNS_PORT, secondReplyIpv6.destination.port) in testGetReply_twoIpv6QueriesInMoreThanOneSecond_repliesAreNotThrottled()
[all …]
DMdnsSocketClientTests.java105 if (port == MdnsConstants.MDNS_PORT) { in setup()
540 if (port == MdnsConstants.MDNS_PORT) { in startDiscovery_andPropagateInterfaceIndex_includesInterfaceIndex()
563 if (port == MdnsConstants.MDNS_PORT) { in startDiscovery_andDoNotPropagateInterfaceIndex_doesNotIncludeInterfaceIndex()
DMdnsInterfaceAdvertiserTest.kt314 val src = InetSocketAddress(parseNumericAddress("2001:db8::456"), MdnsConstants.MDNS_PORT) in testReplyToQuery()
341 val src = InetSocketAddress(parseNumericAddress("2001:db8::456"), MdnsConstants.MDNS_PORT) in testReplyToQuery_TruncatedBitSet()
457 val src = InetSocketAddress(parseNumericAddress("2001:db8::456"), MdnsConstants.MDNS_PORT) in testConflict()
DMdnsServiceTypeClientTests.java108 MdnsConstants.getMdnsIPv4Address(), MdnsConstants.MDNS_PORT);
110 MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT);
161 MdnsConstants.getMdnsIPv4Address(), MdnsConstants.MDNS_PORT); in setUp()
163 MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT); in setUp()
DMdnsResponseDecoderTests.java340 new InetSocketAddress(MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT)); in decode_withInterfaceIndex_populatesInterfaceIndex()
/packages/modules/NetworkStack/src/android/net/apf/
DApfConstants.java107 public static final int MDNS_PORT = 5353; field in ApfConstants
DLegacyApfFilter.java298 private static final int MDNS_PORT = 5353; field in LegacyApfFilter
1668 gen.addJumpIfR0NotEquals(MDNS_PORT, skipMdnsFilter); in generateMdnsFilterLocked()
DApfFilter.java63 import static android.net.apf.ApfConstants.MDNS_PORT;
2137 gen.addJumpIfR0NotEquals(MDNS_PORT, skipMdnsFilter); in generateMdnsFilterLocked()