Searched refs:getClientMac (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 854 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 855 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 862 assertEquals(5, offerPacket.getClientMac().length); in testBadHwaddrLength() 864 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 870 assertEquals(3, offerPacket.getClientMac().length); in testBadHwaddrLength() 872 HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 880 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 881 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() 889 assertEquals(6, offerPacket.getClientMac().length); in testBadHwaddrLength() 890 assertEquals(expectedClientMac, HexDump.toHexString(offerPacket.getClientMac())); in testBadHwaddrLength() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 825 return MacAddress.fromBytes(packet.getClientMac()); in getMacAddr() 828 + HexDump.dumpHexString(packet.getClientMac()); in getMacAddr()
|
D | DhcpClient.java | 1118 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket() 1120 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket() 1121 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
|
D | DhcpPacket.java | 440 public byte[] getClientMac() { in getClientMac() method in DhcpPacket
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1109 clientAddress /* yourIp */, packet.getClientMac(), leaseTimeSec, 1131 clientAddress /* yourIp */, CLIENT_ADDR /* requestIp */, packet.getClientMac(), 1150 SERVER_ADDR /* serverIp */, INADDR_ANY /* relayIp */, packet.getClientMac(),
|