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.java333 private DhcpResults mDhcpLease; field in DhcpClient
785 if (l2Key == null || mDhcpLease == null || mDhcpLease.ipAddress == null) return; in maybeSaveLeaseToIpMemoryStore()
787 na.setAssignedV4Address((Inet4Address) mDhcpLease.ipAddress.getAddress()); in maybeSaveLeaseToIpMemoryStore()
788 na.setAssignedV4AddressExpiry((mDhcpLease.leaseDuration == INFINITE_LEASE) in maybeSaveLeaseToIpMemoryStore()
790 : mDhcpLease.leaseDuration * 1000 + System.currentTimeMillis()); in maybeSaveLeaseToIpMemoryStore()
791 na.setDnsAddresses(mDhcpLease.dnsServers); in maybeSaveLeaseToIpMemoryStore()
792 na.setMtu(mDhcpLease.mtu); in maybeSaveLeaseToIpMemoryStore()
805 CMD_POST_DHCP_ACTION, DHCP_SUCCESS, 0, new DhcpResults(mDhcpLease)); in notifySuccess()
816 mDhcpLease = results; in acceptDhcpResults()
817 if (mDhcpLease.dnsServers.isEmpty()) { in acceptDhcpResults()
[all …]