Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java441 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength()
442 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
449 assertEquals(5, offerPacket.getClientMac().length); in testBadHwaddrLength()
451 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
457 assertEquals(3, offerPacket.getClientMac().length); in testBadHwaddrLength()
459 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
467 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength()
468 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
476 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength()
477 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength()
[all …]
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java622 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket()
624 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket()
625 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
DDhcpPacket.java334 public byte[] getClientMac() { in getClientMac() method in DhcpPacket