Home
last modified time | relevance | path

Searched refs:getClientMac (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java630 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength()
631 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
638 assertEquals(5, offerPacket.getClientMac().length); in testBadHwaddrLength()
640 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
646 assertEquals(3, offerPacket.getClientMac().length); in testBadHwaddrLength()
648 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
656 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength()
657 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
665 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength()
666 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
[all …]
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java655 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket()
657 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket()
658 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
DDhcpPacket.java337 public byte[] getClientMac() { in getClientMac() method in DhcpPacket