Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpLeaseRepository.java192 final long expTime = currentTime + mLeaseTimeMs; in getOffer() local
200 newLease = currentLease.renewedLease(expTime, hostname); in getOffer()
329 final long expTime = currentTime + mLeaseTimeMs; in checkClientAndMakeLease() local
343 lease = currentLease.renewedLease(expTime, hostname); in checkClientAndMakeLease()
409 mDeclinedAddrs.put(addr, expTime); in markLeaseDeclined()
411 maybeUpdateEarliestExpiration(expTime); in markLeaseDeclined()
461 private void maybeUpdateEarliestExpiration(long expTime) { in maybeUpdateEarliestExpiration() argument
462 if (expTime < mNextExpirationCheck) { in maybeUpdateEarliestExpiration()
463 mNextExpirationCheck = expTime; in maybeUpdateEarliestExpiration()
482 if (expTime <= currentTime) { in removeExpired()
[all …]
H A 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()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/
H A DTetheredClientTest.kt34 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(
46 expTime /* deprecationTime */,
47 expTime /* expirationTime */)
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2CaptureRequestTest.java310 long expTime, int sensitivity) { in changeExposure() argument
315 expTime = mStaticInfo.getExposureClampToRange(expTime); in changeExposure()
319 requestBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, expTime); in changeExposure()
415 long expTime = getValueNotNull(result, CaptureResult.SENSOR_EXPOSURE_TIME); in validateFrameDurationForCapture() local
418 Log.v(TAG, "frame duration: " + frameDuration + " Exposure time: " + expTime); in validateFrameDurationForCapture()
422 + " time (%d) for a given capture", frameDuration, expTime), in validateFrameDurationForCapture()
423 frameDuration >= expTime); in validateFrameDurationForCapture() local
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DConnectedClientsTrackerTest.kt65 private fun makeAddrInfo(addr: String, hostname: String?, expTime: Long) =
68 expTime /* deprecationTime */, expTime /* expirationTime */), hostname)
H A DTetheringTest.java2528 lease.expTime /* deprecationTime */, lease.expTime /* expirationTime */); in toTetheredClients()
2544 final long expTime, final String hostname) throws Exception { in createDhcpLeaseParcelable() argument
2551 lease.expTime = expTime; in createDhcpLeaseParcelable()
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
H A DDhcpLeaseTest.kt102 assertEquals(expected.expTime, p.expTime)
H A DDhcpLeaseRepositoryTest.java657 p.expTime, in fromParcelable()
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl24 long expTime;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl24 long expTime;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl24 long expTime;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl25 long expTime;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl26 long expTime;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl30 long expTime;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/dhcp/
H A DDhcpLeaseParcelable.aidl26 long expTime;
/aosp12/packages/modules/Connectivity/Tethering/src/android/net/ip/
H A DIpServer.java478 lease.expTime /* deprecationTime */, lease.expTime /* expirationTime */); in onLeasesChanged()
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/
H A DNetworkMonitor.java1948 final long expTime; in getTestUrl() local
1950 expTime = Long.parseUnsignedLong(strExpiration); in getTestUrl()
1957 if (expTime < now || (expTime - now) > TEST_URL_EXPIRATION_MS) return null; in getTestUrl()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCameraParameters.cpp3229 char expTime[PROPERTY_VALUE_MAX]; in setExposureTime() local
3231 property_get("persist.camera.exposure.time", expTime, ""); in setExposureTime()
3232 if (strlen(expTime) > 0) { in setExposureTime()
3234 strcmp(expTime, prev_str) != 0) { in setExposureTime()
3235 return setExposureTime(expTime); in setExposureTime()