Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java799 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/
DDhcpServer.java806 return MacAddress.fromBytes(packet.getClientMac()); in getMacAddr()
809 + HexDump.dumpHexString(packet.getClientMac()); in getMacAddr()
DDhcpClient.java1039 if (!Arrays.equals(packet.getClientMac(), mHwAddr)) { in isValidPacket()
1041 HexDump.toHexString(packet.getClientMac()) + ", expected " + in isValidPacket()
1042 HexDump.toHexString(packet.getClientMac())); in isValidPacket()
DDhcpPacket.java399 public byte[] getClientMac() { in getClientMac() method in DhcpPacket
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java555 CLIENT_ADDR /* yourIp */, packet.getClientMac(), leaseTimeSec,
568 clientAddress /* yourIp */, CLIENT_ADDR /* requestIp */, packet.getClientMac(),
578 SERVER_ADDR /* serverIp */, INADDR_ANY /* relayIp */, packet.getClientMac(),