/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLeaseRepository.java | 196 final long expTime = currentTime + mLeaseTimeMs; in getOffer() local 204 newLease = currentLease.renewedLease(expTime, hostname); in getOffer() 208 newLease = new DhcpLease(clientId, hwAddr, reqAddr, mPrefixLength, expTime, hostname); in getOffer() 211 newLease = makeNewOffer(clientId, hwAddr, expTime, hostname); in getOffer() 333 final long expTime = currentTime + mLeaseTimeMs; in checkClientAndMakeLease() local 342 lease = new DhcpLease(clientId, hwAddr, addr, mPrefixLength, expTime, hostname); in checkClientAndMakeLease() 347 lease = currentLease.renewedLease(expTime, hostname); in checkClientAndMakeLease() 412 final long expTime = mClock.elapsedRealtime() + mLeaseTimeMs; in markLeaseDeclined() local 413 mDeclinedAddrs.put(addr, expTime); in markLeaseDeclined() 414 mLog.logf("Marked %s as declined expiring %d", inet4AddrToString(addr), expTime); in markLeaseDeclined() [all …]
|
D | DhcpLease.java | 57 @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() 177 p.expTime = mExpTime; in toParcelable()
|
/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 34 private val TEST_ADDR1 = makeLinkAddress("192.168.113.3", prefixLength = 24, expTime = 123L) 35 private val TEST_ADDR2 = makeLinkAddress("fe80::1:2:3", prefixLength = 64, expTime = 456L) 41 private fun makeLinkAddress(addr: String, prefixLength: Int, expTime: Long) = LinkAddress( in makeLinkAddress() 46 expTime /* deprecationTime */, in makeLinkAddress() 47 expTime /* expirationTime */) in makeLinkAddress()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseTest.kt | 102 assertEquals(expected.expTime, p.expTime) in assertParcelEquals()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTrackerTest.kt | 71 private fun makeAddrInfo(addr: String, hostname: String?, expTime: Long) = in makeAddrInfo() 74 expTime /* deprecationTime */, expTime /* expirationTime */), hostname) in makeAddrInfo()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 24 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 24 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 24 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/19/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/15/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/17/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 26 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/21/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/11/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/18/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/16/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/13/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/12/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/14/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 25 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/20/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 41 long expTime;
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/dhcp/ |
D | DhcpLeaseParcelable.aidl | 30 long expTime;
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 516 long expTime = SystemClock.uptimeMillis() + duration; in testPlayAlertDuration() local 522 assertTrue((capTime.getValue() - expTime) < tolerance); in testPlayAlertDuration()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 2478 final long expTime; in getTestUrl() local 2480 expTime = Long.parseUnsignedLong(strExpiration); in getTestUrl() 2487 if (expTime < now || (expTime - now) > TEST_URL_EXPIRATION_MS) { in getTestUrl() 2488 log.w("Skipping test URL with expiration " + expTime + ", now " + now); in getTestUrl()
|