/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLeaseRepository.java | 188 public DhcpLease getOffer(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getOffer() argument 197 final DhcpLease currentLease = findByClient(clientId, hwAddr); in getOffer() 204 newLease = new DhcpLease(clientId, hwAddr, reqAddr, mPrefixLength, expTime, hostname); in getOffer() 207 newLease = makeNewOffer(clientId, hwAddr, expTime, hostname); in getOffer() 223 public DhcpLease getCommittedLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getCommittedLease() argument 226 final DhcpLease newLease = getOffer(clientId, hwAddr, relayAddr, null /* reqAddr */, in getCommittedLease() 249 private DhcpLease findByClient(@Nullable byte[] clientId, @NonNull MacAddress hwAddr) { in findByClient() argument 251 if (lease.matchesClient(clientId, hwAddr)) { in findByClient() 277 public DhcpLease requestLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in requestLease() argument 284 final DhcpLease assignedLease = findByClient(clientId, hwAddr); in requestLease() [all …]
|
D | DhcpLease.java | 56 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() 173 p.hwAddr = mHwAddr.toByteArray(); in toParcelable()
|
D | DhcpClient.java | 1543 @NonNull Inet4Address senderIp, final byte[] hwAddr, in transmitPacket() argument 1546 final ByteBuffer packet = ArpPacket.buildArpPacket(DhcpPacket.ETHER_BROADCAST, hwAddr, in transmitPacket()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | NetdWrapper.java | 275 String hwAddr = cfg.getHardwareAddress(); in toStableParcel() local 276 if (!TextUtils.isEmpty(hwAddr)) { in toStableParcel() 277 cfgParcel.hwAddr = hwAddr; in toStableParcel() 279 cfgParcel.hwAddr = ""; in toStableParcel() 297 cfg.setHardwareAddress(p.hwAddr); in fromStableParcel()
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | SocketUtilsShimImpl.java | 46 int protocol, int ifIndex, @NonNull byte[] hwAddr) { in makePacketSocketAddress() argument 48 return SocketUtils.makePacketSocketAddress(ifIndex, hwAddr); in makePacketSocketAddress()
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | SocketUtilsShimImpl.java | 49 int protocol, int ifIndex, @NonNull byte[] hwAddr) { in makePacketSocketAddress() argument 50 return SocketUtils.makePacketSocketAddress(protocol, ifIndex, hwAddr); in makePacketSocketAddress()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | InterfaceControllerTest.java | 76 assertEquals("", parcel.hwAddr); in testSetIPv4Address() 88 assertEquals("", parcel.hwAddr); in testClearIPv4Address()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseTest.kt | 99 assertEquals(expected.hwAddr, MacAddress.fromBytes(p.hwAddr)) in assertParcelEquals()
|
D | DhcpLeaseRepositoryTest.java | 654 p.hwAddr == null ? null : MacAddress.fromBytes(p.hwAddr), in fromParcelable()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 21 byte[] hwAddr;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 21 byte[] hwAddr;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 21 byte[] hwAddr;
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 24 byte[] hwAddr;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 22 byte[] hwAddr;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 23 byte[] hwAddr;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 23 byte[] hwAddr;
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | SocketUtilsShim.java | 36 SocketAddress makePacketSocketAddress(int protocol, int ifIndex, @NonNull byte[] hwAddr); in makePacketSocketAddress() argument
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | InterfaceController.java | 70 ifConfig.hwAddr = ""; in setInterfaceConfiguration()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 482 macAddress = MacAddress.fromBytes(lease.hwAddr); in onLeasesChanged() 485 + Arrays.toString(lease.hwAddr)); in onLeasesChanged()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 2530 final MacAddress macAddress = MacAddress.fromBytes(lease.hwAddr); in toTetheredClients() 2543 final MacAddress hwAddr, final String netAddr, final int prefixLength, in createDhcpLeaseParcelable() argument 2547 lease.hwAddr = hwAddr.toByteArray(); in createDhcpLeaseParcelable()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 8747 cfg.hwAddr = "11:22:33:44:55:66"; in getClatInterfaceConfigParcel()
|