Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpOfferPacket.java55 + (mIpv6OnlyWaitTime != null ? ", V6ONLY_WAIT " + mIpv6OnlyWaitTime : ""); in toString()
DDhcpAckPacket.java54 + (mIpv6OnlyWaitTime != null ? ", V6ONLY_WAIT " + mIpv6OnlyWaitTime : ""); in toString()
DDhcpPacket.java337 public Integer mIpv6OnlyWaitTime; field in DhcpPacket
863 if (mIpv6OnlyWaitTime != null) { in addCommonServerTlvs()
864 addTlv(buf, DHCP_IPV6_ONLY_PREFERRED, (int) Integer.toUnsignedLong(mIpv6OnlyWaitTime)); in addCommonServerTlvs()
1404 newPacket.mIpv6OnlyWaitTime = ipv6OnlyWaitTime; in decodeFullPacket()
1509 if (mIpv6OnlyWaitTime == null) return V6ONLY_PREFERRED_ABSENCE; in getIpv6OnlyWaitTimeMillis()
1510 return Math.max(MIN_V6ONLY_WAIT_MS, Integer.toUnsignedLong(mIpv6OnlyWaitTime) * 1000); in getIpv6OnlyWaitTimeMillis()
1570 pkt.mIpv6OnlyWaitTime = ipv6OnlyWaitTime; in buildOfferPacket()
1620 pkt.mIpv6OnlyWaitTime = ipv6OnlyWaitTime; in buildAckPacket()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java528 assertEquals(offerPacket.mIpv6OnlyWaitTime, in runIPv6OnlyPreferredOption()
1339 assertEquals(offerPacket.mIpv6OnlyWaitTime, null); in testInvalidLengthIpv6OnlyPreferredOption()