Home
last modified time | relevance | path

Searched refs:writeUdpHeader (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java554 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/
DPacketBuilder.java200 public void writeUdpHeader(short srcPort, short dstPort) throws IOException { in writeUdpHeader() method in PacketBuilder
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DRateLimitTest.java214 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/
DVpnTest.java2031 packetBuilder.writeUdpHeader(srcPort, dstPort); in buildIpv4UdpPacket()
2050 packetBuilder.writeUdpHeader(srcPort, dstPort); in buildIpv6UdpPacket()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java713 packetBuilder.writeUdpHeader(srcPort, dstPort);
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1313 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/
DIpClientIntegrationTestCommon.java1164 pb.writeUdpHeader((short) DHCP6_SERVER_PORT /*src port */,