Home
last modified time | relevance | path

Searched refs:hwAddr (Results 1 – 25 of 53) sorted by relevance

123

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java192 public DhcpLease getOffer(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getOffer() argument
201 final DhcpLease currentLease = findByClient(clientId, hwAddr); in getOffer()
208 newLease = new DhcpLease(clientId, hwAddr, reqAddr, mPrefixLength, expTime, hostname); in getOffer()
211 newLease = makeNewOffer(clientId, hwAddr, expTime, hostname); in getOffer()
227 public DhcpLease getCommittedLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getCommittedLease() argument
230 final DhcpLease newLease = getOffer(clientId, hwAddr, relayAddr, null /* reqAddr */, in getCommittedLease()
253 private DhcpLease findByClient(@Nullable byte[] clientId, @NonNull MacAddress hwAddr) { in findByClient() argument
255 if (lease.matchesClient(clientId, hwAddr)) { in findByClient()
281 public DhcpLease requestLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in requestLease() argument
288 final DhcpLease assignedLease = findByClient(clientId, hwAddr); in requestLease()
[all …]
DDhcpLease.java56 public DhcpLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in DhcpLease() argument
60 mHwAddr = hwAddr; in DhcpLease()
121 public boolean matchesClient(@Nullable byte[] clientId, @NonNull MacAddress hwAddr) { in matchesClient() argument
125 return clientId == null && mHwAddr.equals(hwAddr); in matchesClient()
174 p.hwAddr = mHwAddr.toByteArray(); in toParcelable()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java281 String hwAddr = cfg.getHardwareAddress(); in toStableParcel() local
282 if (!TextUtils.isEmpty(hwAddr)) { in toStableParcel()
283 cfgParcel.hwAddr = hwAddr; in toStableParcel()
285 cfgParcel.hwAddr = ""; in toStableParcel()
303 cfg.setHardwareAddress(p.hwAddr); in fromStableParcel()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DSocketUtilsShimImpl.java49 int protocol, int ifIndex, @NonNull byte[] hwAddr) { in makePacketSocketAddress() argument
51 return SocketUtils.makePacketSocketAddress(ifIndex, hwAddr); in makePacketSocketAddress()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DSocketUtilsShimImpl.java53 int protocol, int ifIndex, @NonNull byte[] hwAddr) { in makePacketSocketAddress() argument
54 return SocketUtils.makePacketSocketAddress(protocol, ifIndex, hwAddr); in makePacketSocketAddress()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ip/
DInterfaceControllerTest.java75 assertEquals("", parcel.hwAddr); in testSetIPv4Address()
87 assertEquals("", parcel.hwAddr); in testClearIPv4Address()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseTest.kt99 assertEquals(expected.hwAddr, MacAddress.fromBytes(p.hwAddr)) in assertParcelEquals()
/packages/modules/NetworkStack/src/com/android/networkstack/util/
DNetworkStackUtils.java363 public static byte[] macAddressToEui64(@NonNull final MacAddress hwAddr) { in macAddressToEui64() argument
365 final byte[] mac48 = hwAddr.toByteArray(); in macAddressToEui64()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/dhcp/
DDhcpLeaseParcelable.aidl21 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/
DDhcpLeaseParcelable.aidl21 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/
DDhcpLeaseParcelable.aidl21 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/19/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/15/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/17/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/dhcp/
DDhcpLeaseParcelable.aidl23 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/21/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/11/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/18/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/16/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/13/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/12/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/14/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/dhcp/
DDhcpLeaseParcelable.aidl22 byte[] hwAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/20/android/net/dhcp/
DDhcpLeaseParcelable.aidl38 byte[] hwAddr;

123