Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/dhcp/
DDhcpOfferPacket.java52 " lease time " + mLeaseTime + ", domain " + mDomainName; in toString()
75 addTlv(buffer, DHCP_LEASE_TIME, mLeaseTime); in finishPacket()
78 if (mLeaseTime != null) { in finishPacket()
80 Integer.valueOf(mLeaseTime.intValue() / 2)); in finishPacket()
DDhcpAckPacket.java50 ", lease time " + mLeaseTime; in toString()
73 addTlv(buffer, DHCP_LEASE_TIME, mLeaseTime); in finishPacket()
76 if (mLeaseTime != null) { in finishPacket()
78 Integer.valueOf(mLeaseTime.intValue() / 2)); in finishPacket()
DDhcpPacket.java191 protected Integer mLeaseTime; field in DhcpPacket
1072 newPacket.mLeaseTime = leaseTime; in decodeFullPacket()
1135 results.leaseDuration = (mLeaseTime != null) ? mLeaseTime : INFINITE_LEASE; in toDhcpResults()
1146 if (mLeaseTime == null || mLeaseTime == INFINITE_LEASE) { in getLeaseTimeMillis()
1148 } else if (0 <= mLeaseTime && mLeaseTime < MINIMUM_LEASE) { in getLeaseTimeMillis()
1151 return (mLeaseTime & 0xffffffffL) * 1000; in getLeaseTimeMillis()
1180 pkt.mLeaseTime = timeout; in buildOfferPacket()
1200 pkt.mLeaseTime = timeout; in buildAckPacket()
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java186 assertEquals(rawLeaseTime, offerPacket.mLeaseTime); in assertLeaseTimeParses()