Searched refs:getClientMac (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 441 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/ |
D | DhcpClient.java | 622 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket() 624 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket() 625 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
|
D | DhcpPacket.java | 334 public byte[] getClientMac() { in getClientMac() method in DhcpPacket
|