Home
last modified time | relevance | path

Searched refs:leaseTimeMillis (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java219 long leaseTimeMillis, byte[] leaseTimeBytes) throws Exception { in assertLeaseTimeParses() argument
242 assertEquals(leaseTimeMillis, offerPacket.getLeaseTimeMillis()); in assertLeaseTimeParses()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java1093 long leaseTimeMillis = packet.getLeaseTimeMillis(); in setDhcpLeaseExpiry() local
1095 (leaseTimeMillis > 0) ? SystemClock.elapsedRealtime() + leaseTimeMillis : 0; in setDhcpLeaseExpiry()