Searched refs:INFINITE_LEASE (Results 1 – 7 of 7) sorted by relevance
21 import static com.android.server.util.NetworkStackConstants.INFINITE_LEASE;373 if (mDhcpLeaseTimeSecs <= 0 || mDhcpLeaseTimeSecs > toUnsignedLong(INFINITE_LEASE)) { in build()
65 public static final int INFINITE_LEASE = (int) 0xffffffff; field in DhcpPacket775 if (mLeaseTime != null && mLeaseTime != INFINITE_LEASE) { in addCommonServerTlvs()1365 results.leaseDuration = (mLeaseTime != null) ? mLeaseTime : INFINITE_LEASE; in toDhcpResults()1378 if (mLeaseTime == null || mLeaseTime == INFINITE_LEASE) { in getLeaseTimeMillis()
39 import static com.android.server.util.NetworkStackConstants.INFINITE_LEASE;785 if (remainingTimeSecs >= toUnsignedLong(INFINITE_LEASE)) { in getLeaseTimeout()786 return INFINITE_LEASE; in getLeaseTimeout()
32 import static android.net.dhcp.DhcpPacket.INFINITE_LEASE;788 na.setAssignedV4AddressExpiry((mDhcpLease.leaseDuration == INFINITE_LEASE) in maybeSaveLeaseToIpMemoryStore()
35 import static android.net.dhcp.DhcpPacket.INFINITE_LEASE;260 assertLeaseTimeParses(true, DhcpPacket.INFINITE_LEASE, 0, infiniteLease); in testLeaseTime()1194 if (leaseTimeSecs != INFINITE_LEASE) { in checkBuildOfferPacket()1245 checkBuildOfferPacket(INFINITE_LEASE, HOSTNAME); in testOfferPacket()
149 public static final int INFINITE_LEASE = 0xffffffff; field in NetworkStackConstants
26 import static android.net.dhcp.DhcpPacket.INFINITE_LEASE;642 if (leaseTimeSec == null || leaseTimeSec.intValue() == DhcpPacket.INFINITE_LEASE) {1056 performDhcpHandshake(true /* isSuccessLease */, INFINITE_LEASE,1060 assertIpMemoryStoreNetworkAttributes(INFINITE_LEASE, currentTime, TEST_DEFAULT_MTU);