Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
H A DEthernetTetheringTest.java525 private DhcpResults runDhcp(FileDescriptor fd, byte[] clientMacAddr) throws Exception { in runDhcp() argument
531 sendDhcpDiscover(fd, clientMacAddr); in runDhcp()
539 sendDhcpRequest(fd, offerPacket, clientMacAddr); in runDhcp()
550 byte[] clientMacAddr = new byte[6]; in checkTetheredClientCallbacks()
551 new Random().nextBytes(clientMacAddr); in checkTetheredClientCallbacks()
553 DhcpResults dhcpResults = runDhcp(fd, clientMacAddr); in checkTetheredClientCallbacks()
560 assertEquals(MacAddress.fromBytes(clientMacAddr), client.getMacAddress()); in checkTetheredClientCallbacks()