Home
last modified time | relevance | path

Searched refs:expTime (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java192 final long expTime = currentTime + mLeaseTimeMs; in getOffer() local
200 newLease = currentLease.renewedLease(expTime, hostname); in getOffer()
204 newLease = new DhcpLease(clientId, hwAddr, reqAddr, mPrefixLength, expTime, hostname); in getOffer()
207 newLease = makeNewOffer(clientId, hwAddr, expTime, hostname); in getOffer()
329 final long expTime = currentTime + mLeaseTimeMs; in checkClientAndMakeLease() local
338 lease = new DhcpLease(clientId, hwAddr, addr, mPrefixLength, expTime, hostname); in checkClientAndMakeLease()
343 lease = currentLease.renewedLease(expTime, hostname); in checkClientAndMakeLease()
408 final long expTime = mClock.elapsedRealtime() + mLeaseTimeMs; in markLeaseDeclined() local
409 mDeclinedAddrs.put(addr, expTime); in markLeaseDeclined()
410 mLog.logf("Marked %s as declined expiring %d", inet4AddrToString(addr), expTime); in markLeaseDeclined()
[all …]
DDhcpLease.java57 @NonNull Inet4Address netAddr, int prefixLength, long expTime, in DhcpLease() argument
63 mExpTime = expTime; in DhcpLease()
110 public DhcpLease renewedLease(long expTime, @Nullable String hostname) { in renewedLease() argument
112 Math.max(expTime, mExpTime), in renewedLease()
176 p.expTime = mExpTime; in toParcelable()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseTest.kt102 assertEquals(expected.expTime, p.expTime) in assertParcelEquals()
DDhcpLeaseRepositoryTest.java657 p.expTime, in fromParcelable()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/
DDhcpLeaseParcelable.aidl24 long expTime;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/
DDhcpLeaseParcelable.aidl24 long expTime;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/
DDhcpLeaseParcelable.aidl24 long expTime;
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/dhcp/
DDhcpLeaseParcelable.aidl29 long expTime;
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1912 final long expTime; in getTestUrl() local
1914 expTime = Long.parseUnsignedLong(strExpiration); in getTestUrl()
1921 if (expTime < now || (expTime - now) > TEST_URL_EXPIRATION_MS) return null; in getTestUrl()