Searched refs:getClientMac (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 366 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 367 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 374 assertEquals(5, offerPacket.getClientMac().length); in testBadHwaddrLength() 376 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 382 assertEquals(3, offerPacket.getClientMac().length); in testBadHwaddrLength() 384 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 392 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 393 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 401 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 402 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() [all …]
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpClient.java | 637 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket() 639 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket() 640 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
|
D | DhcpPacket.java | 312 public byte[] getClientMac() { in getClientMac() method in DhcpPacket
|