Home
last modified time | relevance | path

Searched refs:decodeFullPacket (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java182 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertDomainAndVendorInfoParses()
229 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertLeaseTimeParses()
237 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertLeaseTimeParses()
283 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in checkIpAddress()
369 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer1()
403 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer2()
438 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runCapportOptionTest()
486 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testCapportOption_Invalid()
524 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runIPv6OnlyPreferredOption()
549 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3, in testBadIpPacket()
[all …]
DDhcpServerTest.java498 return DhcpPacket.decodeFullPacket(mSentPacketCaptor.getValue(), ENCAP_BOOTP, in getPacket()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java59 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf.mBytes, length, in handlePacket()
DDhcpPacket.java995 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType, byte[] optionsToSkip) in decodeFullPacket() method in DhcpPacket
1421 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType, in decodeFullPacket() method in DhcpPacket
1425 return decodeFullPacket(buffer, pktType, optionsToSkip); in decodeFullPacket()
1436 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType) in decodeFullPacket() method in DhcpPacket
1438 return decodeFullPacket(packet, length, pktType, new byte[0]); in decodeFullPacket()
DDhcpClient.java677 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf, length, in handlePacket()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTest.kt236 val packet = DhcpPacket.decodeFullPacket(packetBytes, packetBytes.size, DhcpPacket.ENCAP_L2) in makeOfferPacket()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java251 DhcpPacket.decodeFullPacket(p, p.length, DhcpPacket.ENCAP_L2); in getNextDhcpPacket()
261 DhcpPacket.decodeFullPacket(packet, packet.length, DhcpPacket.ENCAP_L2); in getNextDhcpPacket()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java388 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java1363 final DhcpPacket dhcpPacket = DhcpPacket.decodeFullPacket(packet, packet.length,
1490 DhcpPacket packet = DhcpPacket.decodeFullPacket(payload, payload.length, ENCAP_L2);