Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java349 private DhcpResults mDhcpLease; field in DhcpClient
824 if (l2Key == null || mDhcpLease == null || mDhcpLease.ipAddress == null) return; in maybeSaveLeaseToIpMemoryStore()
826 na.setAssignedV4Address((Inet4Address) mDhcpLease.ipAddress.getAddress()); in maybeSaveLeaseToIpMemoryStore()
827 na.setAssignedV4AddressExpiry((mDhcpLease.leaseDuration == INFINITE_LEASE) in maybeSaveLeaseToIpMemoryStore()
829 : mDhcpLease.leaseDuration * 1000 + System.currentTimeMillis()); in maybeSaveLeaseToIpMemoryStore()
830 na.setDnsAddresses(mDhcpLease.dnsServers); in maybeSaveLeaseToIpMemoryStore()
831 na.setMtu(mDhcpLease.mtu); in maybeSaveLeaseToIpMemoryStore()
844 CMD_POST_DHCP_ACTION, DHCP_SUCCESS, 0, new DhcpResults(mDhcpLease)); in notifySuccess()
855 mDhcpLease = results; in acceptDhcpResults()
856 if (mDhcpLease.dnsServers.isEmpty()) { in acceptDhcpResults()
[all …]