/frameworks/base/services/net/java/android/net/util/ |
D | InterfaceParams.java | 44 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()
|
D | ConnectivityPacketSummary.java | 55 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/ |
D | IpNeighborMonitor.java | 99 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()
|
D | ConnectivityPacketTracker.java | 118 mInterface.macAddr, recvbuf, length); in handlePacket()
|
D | RouterAdvertisementDaemon.java | 280 putSlla(ra, mInterface.macAddr.toByteArray()); in assembleRaLocked()
|
/frameworks/base/tests/net/java/android/net/util/ |
D | InterfaceParamsTest.java | 50 assertNotNull(ifParams.macAddr); in testLoopback()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 643 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()
|
D | DhcpClient.java | 281 mHwAddr = mIface.macAddr.toByteArray(); in initInterface()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 1506 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()
|
D | SupplicantStaIfaceHal.java | 1621 byte[/* 6 */] macAddr) -> { in getMacAddress() 1623 gotMac.value = NativeUtil.macAddressFromByteArray(macAddr); in getMacAddress()
|
/frameworks/base/services/net/java/android/net/apf/ |
D | ApfFilter.java | 430 mHardwareAddress = mInterfaceParams.macAddr.toByteArray(); in maybeStartFilter()
|