Searched refs:mLeaseTime (Results 1 – 5 of 5) sorted by relevance
238 protected Integer mLeaseTime; field in DhcpPacket774 addTlv(buf, DHCP_LEASE_TIME, mLeaseTime); in addCommonServerTlvs()775 if (mLeaseTime != null && mLeaseTime != INFINITE_LEASE) { in addCommonServerTlvs()777 addTlv(buf, DHCP_RENEWAL_TIME, (int) (Integer.toUnsignedLong(mLeaseTime) / 2)); in addCommonServerTlvs()780 (int) (Integer.toUnsignedLong(mLeaseTime) * 875L / 1000L)); in addCommonServerTlvs()1282 newPacket.mLeaseTime = leaseTime; in decodeFullPacket()1365 results.leaseDuration = (mLeaseTime != null) ? mLeaseTime : INFINITE_LEASE; in toDhcpResults()1378 if (mLeaseTime == null || mLeaseTime == INFINITE_LEASE) { in getLeaseTimeMillis()1380 } else if (0 <= mLeaseTime && mLeaseTime < MINIMUM_LEASE) { in getLeaseTimeMillis()1383 return (mLeaseTime & 0xffffffffL) * 1000; in getLeaseTimeMillis()[all …]
52 " lease time " + mLeaseTime + ", domain " + mDomainName; in toString()
52 ", lease time " + mLeaseTime; in toString()
457 assertNotNull(packet.mLeaseTime); in assertMatchesLease()458 assertEquals(TEST_LEASE_EXPTIME_SECS, (int) packet.mLeaseTime); in assertMatchesLease()
233 assertEquals(rawLeaseTime, offerPacket.mLeaseTime); in assertLeaseTimeParses()