Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/util/
DInterfaceParams.java41 public final MacAddress macAddr; field in InterfaceParams
54 final MacAddress macAddr = getMacAddress(netif); in getByName()
57 return new InterfaceParams(name, netif.getIndex(), macAddr, netif.getMTU()); in getByName()
63 public InterfaceParams(String name, int index, MacAddress macAddr) { in InterfaceParams() argument
64 this(name, index, macAddr, ETHER_MTU); in InterfaceParams()
67 public InterfaceParams(String name, int index, MacAddress macAddr, int defaultMtu) { in InterfaceParams() argument
72 this.macAddr = (macAddr != null) ? macAddr : MacAddress.fromBytes(new byte[] { in InterfaceParams()
79 return String.format("%s/%d/%s/%d", name, index, macAddr, defaultMtu); in toString()
/frameworks/base/tests/net/java/android/net/util/
DInterfaceParamsTest.java49 assertNotNull(ifParams.macAddr); in testLoopback()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1817 public void startTdls(@NonNull String ifaceName, String macAddr, boolean enable) { in startTdls() argument
1819 mSupplicantStaIfaceHal.initiateTdlsDiscover(ifaceName, macAddr); in startTdls()
1820 mSupplicantStaIfaceHal.initiateTdlsSetup(ifaceName, macAddr); in startTdls()
1822 mSupplicantStaIfaceHal.initiateTdlsTeardown(ifaceName, macAddr); in startTdls()
DSupplicantStaIfaceHal.java1803 byte[/* 6 */] macAddr) -> { in getMacAddress()
1805 gotMac.value = NativeUtil.macAddressFromByteArray(macAddr); in getMacAddress()
/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java297 putSlla(ra, mInterface.macAddr.toByteArray()); in assembleRaLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java1468 MacAddress macAddr = mPeerIdToMacMap.get(peerId); in answer() local
1469 if (macAddr != null) { in answer()
1470 macBytes = macAddr.toByteArray(); in answer()