Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/util/
DInterfaceParams.java44 public final MacAddress macAddr; field in InterfaceParams
52 final MacAddress macAddr = getMacAddress(netif); in getByName()
55 return new InterfaceParams(name, netif.getIndex(), macAddr, netif.getMTU()); in getByName()
61 public InterfaceParams(String name, int index, MacAddress macAddr) { in InterfaceParams() argument
62 this(name, index, macAddr, ETHER_MTU); in InterfaceParams()
65 public InterfaceParams(String name, int index, MacAddress macAddr, int defaultMtu) { in InterfaceParams() argument
70 this.macAddr = (macAddr != null) ? macAddr : ALL_ZEROS_ADDRESS; in InterfaceParams()
76 return String.format("%s/%d/%s/%d", name, index, macAddr, defaultMtu); in toString()
DConnectivityPacketSummary.java55 public static String summarize(MacAddress macAddr, byte[] buffer, int length) { in summarize() argument
56 if ((macAddr == null) || (buffer == null)) return null; in summarize()
58 return (new ConnectivityPacketSummary(macAddr, buffer, length)).toString(); in summarize()
61 private ConnectivityPacketSummary(MacAddress macAddr, byte[] buffer, int length) { in ConnectivityPacketSummary() argument
62 mHwAddr = macAddr.toByteArray(); in ConnectivityPacketSummary()
/frameworks/base/services/net/java/android/net/ip/
DIpNeighborMonitor.java99 final MacAddress macAddr; field in IpNeighborMonitor.NeighborEvent
102 short nudState, MacAddress macAddr) { in NeighborEvent() argument
108 this.macAddr = macAddr; in NeighborEvent()
127 .add("[" + macAddr + "]") in toString()
DConnectivityPacketTracker.java118 mInterface.macAddr, recvbuf, length); in handlePacket()
DRouterAdvertisementDaemon.java280 putSlla(ra, mInterface.macAddr.toByteArray()); in assembleRaLocked()
/frameworks/base/tests/net/java/android/net/util/
DInterfaceParamsTest.java50 assertNotNull(ifParams.macAddr); in testLoopback()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java643 String macAddr = ""; in macToString() local
650 macAddr += hexString.substring(hexString.length() - 2); in macToString()
653 macAddr += ":"; in macToString()
657 return macAddr; in macToString()
661 String macAddr = macToString(mClientMac); in toString() local
663 return macAddr; in toString()
DDhcpClient.java281 mHwAddr = mIface.macAddr.toByteArray(); in initInterface()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1506 public void startTdls(@NonNull String ifaceName, String macAddr, boolean enable) { in startTdls() argument
1508 mSupplicantStaIfaceHal.initiateTdlsDiscover(ifaceName, macAddr); in startTdls()
1509 mSupplicantStaIfaceHal.initiateTdlsSetup(ifaceName, macAddr); in startTdls()
1511 mSupplicantStaIfaceHal.initiateTdlsTeardown(ifaceName, macAddr); in startTdls()
DSupplicantStaIfaceHal.java1621 byte[/* 6 */] macAddr) -> { in getMacAddress()
1623 gotMac.value = NativeUtil.macAddressFromByteArray(macAddr); in getMacAddress()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java430 mHardwareAddress = mInterfaceParams.macAddr.toByteArray(); in maybeStartFilter()