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.java212 long leaseTimeMillis, byte[] leaseTimeBytes) throws Exception { in assertLeaseTimeParses() argument
235 assertEquals(leaseTimeMillis, offerPacket.getLeaseTimeMillis()); in assertLeaseTimeParses()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java1049 long leaseTimeMillis = packet.getLeaseTimeMillis(); in setDhcpLeaseExpiry() local
1051 (leaseTimeMillis > 0) ? SystemClock.elapsedRealtime() + leaseTimeMillis : 0; in setDhcpLeaseExpiry()