Home
last modified time | relevance | path

Searched refs:parseArpPacket (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DArpPacketTest.java167 final ArpPacket packet = ArpPacket.parseArpPacket(TEST_ARP_PROBE, TEST_ARP_PROBE.length); in testParseArpProbePacket()
179 final ArpPacket packet = ArpPacket.parseArpPacket(TEST_ARP_ANNOUNCE, in testParseArpAnnouncePacket()
192 assertThrows(ArpPacket.ParseException.class, () -> ArpPacket.parseArpPacket( in testParseArpPacket_invalidByteBufferParameters()
198 assertThrows(ArpPacket.ParseException.class, () -> ArpPacket.parseArpPacket( in testParseArpPacket_truncatedPacket()
204 assertThrows(ArpPacket.ParseException.class, () -> ArpPacket.parseArpPacket( in testParseArpPacket_truncatedMacAddress()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java265 private ArpPacket parseArpPacket(final byte[] packet) { in parseArpPacket() method in TetheringTester
267 return ArpPacket.parseArpPacket(packet, packet.length); in parseArpPacket()
276 final ArpPacket arpPacket = parseArpPacket(packet); in maybeReplyArp()
308 final ArpPacket arpPacket = parseArpPacket(p); in getRouterMacAddressFromArp()
315 final ArpPacket arpReply = ArpPacket.parseArpPacket(packet, packet.length); in getRouterMacAddressFromArp()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DFrameParser.java97 parseArpPacket(data); in parseEthernetFrame()
322 private void parseArpPacket(ByteBuffer data) { in parseArpPacket() method in FrameParser
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/arp/
DArpPacket.java99 public static ArpPacket parseArpPacket(final byte[] recvbuf, final int length) in parseArpPacket() method in ArpPacket
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java1550 final ArpPacket packet = ArpPacket.parseArpPacket(recvbuf, length); in handlePacket()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java1081 return ArpPacket.parseArpPacket(packet, packet.length);