Searched refs:writeUdpHeader (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | PacketBuilderTest.java | 554 packetBuilder.writeUdpHeader(SRC_PORT, DST_PORT); in buildPacket() 925 assertThrows(IOException.class, () -> packetBuilder.writeUdpHeader(SRC_PORT, DST_PORT)); in testWriteUdpHeaderToInsufficientBuffer()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | PacketBuilder.java | 200 public void writeUdpHeader(short srcPort, short dstPort) throws IOException { in writeUdpHeader() method in PacketBuilder
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | RateLimitTest.java | 214 builder.writeUdpHeader((short) TEST_UDP_PORT, (short) TEST_UDP_PORT); in sendPacketsToTunInterfaceForDuration()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 2031 packetBuilder.writeUdpHeader(srcPort, dstPort); in buildIpv4UdpPacket() 2050 packetBuilder.writeUdpHeader(srcPort, dstPort); in buildIpv6UdpPacket()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 713 packetBuilder.writeUdpHeader(srcPort, dstPort);
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1313 builder.writeUdpHeader((short) MDNS_UDP_PORT, (short) MDNS_UDP_PORT); in makeMdnsV4Packet() 1327 builder.writeUdpHeader((short) MDNS_UDP_PORT, (short) MDNS_UDP_PORT); in makeMdnsV6Packet() 1455 builder.writeUdpHeader((short) MDNS_UDP_PORT, (short) MDNS_UDP_PORT); in makeMdnsCompressedV6Packet()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1164 pb.writeUdpHeader((short) DHCP6_SERVER_PORT /*src port */,
|