Searched refs:getClientMac (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 799 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 800 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 807 assertEquals(5, offerPacket.getClientMac().length); in testBadHwaddrLength() 809 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 815 assertEquals(3, offerPacket.getClientMac().length); in testBadHwaddrLength() 817 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 825 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 826 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 834 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 835 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 806 return MacAddress.fromBytes(packet.getClientMac()); in getMacAddr() 809 + HexDump.dumpHexString(packet.getClientMac()); in getMacAddr()
|
D | DhcpClient.java | 1039 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket() 1041 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket() 1042 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
|
D | DhcpPacket.java | 399 public byte[] getClientMac() { in getClientMac() method in DhcpPacket
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 555 CLIENT_ADDR /* yourIp */, packet.getClientMac(), leaseTimeSec, 568 clientAddress /* yourIp */, CLIENT_ADDR /* requestIp */, packet.getClientMac(), 578 SERVER_ADDR /* serverIp */, INADDR_ANY /* relayIp */, packet.getClientMac(),
|