/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsConstants.java | 28 public static final int MDNS_PORT = 5353; field in MdnsConstants 47 getMdnsIPv6Address(), MDNS_PORT); 49 getMdnsIPv4Address(), MDNS_PORT);
|
D | MdnsSocket.java | 42 new InetSocketAddress(MdnsConstants.getMdnsIPv4Address(), MdnsConstants.MDNS_PORT); 44 new InetSocketAddress(MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT);
|
D | EnqueueMdnsQueryCallable.java | 218 sendPacketToIpv4AndIpv6(requestSender, MdnsConstants.MDNS_PORT, queryPacket); in call()
|
D | MdnsSocketClient.java | 147 multicastSocket = createMdnsSocket(MdnsConstants.MDNS_PORT, sharedLog); in startDiscovery()
|
D | MdnsSocketProvider.java | 530 networkInterface.getNetworkInterface(), MdnsConstants.MDNS_PORT, mLooper, in createSocket()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsSocketTests.java | 73 InetAddress.getByName("224.0.0.251"), MdnsConstants.MDNS_PORT); in setUp() 75 InetAddress.getByName("FF02::FB"), MdnsConstants.MDNS_PORT); in setUp()
|
D | MdnsRecordTests.java | 57 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()
|
D | MdnsRecordRepositoryTest.kt | 1166 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 …]
|
D | MdnsSocketClientTests.java | 105 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()
|
D | MdnsInterfaceAdvertiserTest.kt | 314 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()
|
D | MdnsServiceTypeClientTests.java | 108 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()
|
D | MdnsResponseDecoderTests.java | 340 new InetSocketAddress(MdnsConstants.getMdnsIPv6Address(), MdnsConstants.MDNS_PORT)); in decode_withInterfaceIndex_populatesInterfaceIndex()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfConstants.java | 107 public static final int MDNS_PORT = 5353; field in ApfConstants
|
D | LegacyApfFilter.java | 298 private static final int MDNS_PORT = 5353; field in LegacyApfFilter 1668 gen.addJumpIfR0NotEquals(MDNS_PORT, skipMdnsFilter); in generateMdnsFilterLocked()
|
D | ApfFilter.java | 63 import static android.net.apf.ApfConstants.MDNS_PORT; 2137 gen.addJumpIfR0NotEquals(MDNS_PORT, skipMdnsFilter); in generateMdnsFilterLocked()
|