Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java175 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertDomainAndVendorInfoParses()
222 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertLeaseTimeParses()
230 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertLeaseTimeParses()
275 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in checkIpAddress()
361 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer1()
395 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer2()
430 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runCapportOptionTest()
478 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testCapportOption_Invalid()
494 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3, in testBadIpPacket()
514 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadDhcpPacket()
[all …]
DDhcpServerTest.java496 return DhcpPacket.decodeFullPacket(mSentPacketCaptor.getValue(), ENCAP_BOOTP, in getPacket()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java906 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType, byte[] optionsToSkip) in decodeFullPacket() method in DhcpPacket
1306 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType, in decodeFullPacket() method in DhcpPacket
1310 return decodeFullPacket(buffer, pktType, optionsToSkip); in decodeFullPacket()
1321 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType) in decodeFullPacket() method in DhcpPacket
1323 return decodeFullPacket(packet, length, pktType, new byte[0]); in decodeFullPacket()
DDhcpPacketListener.java58 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf.mBytes, length, in handlePacket()
DDhcpClient.java620 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf, length, in handlePacket()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java388 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java752 return DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L2);
850 DhcpPacket packet = DhcpPacket.decodeFullPacket(payload, payload.length, ENCAP_L2);