Home
last modified time | relevance | path

Searched refs:stopTime (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DKeepaliveStatsTrackerTest.java628 final int stopTime = 4157; in testOneKeepalive_stopped() local
637 onStopKeepalive(stopTime, TEST_SLOT); in testOneKeepalive_stopped()
646 new int[] {startTime + (writeTime - stopTime), stopTime - startTime}; in testOneKeepalive_stopped()
649 startTime + (resumeTime - pauseTime) + (writeTime - stopTime), in testOneKeepalive_stopped()
650 (pauseTime - startTime) + (stopTime - resumeTime) in testOneKeepalive_stopped()
676 final int stopTime = 4157; in testOneKeepalive_pausedStopped() local
683 onStopKeepalive(stopTime, TEST_SLOT); in testOneKeepalive_pausedStopped()
692 new int[] {startTime + (writeTime - stopTime), stopTime - startTime}; in testOneKeepalive_pausedStopped()
720 final int stopTime = 4000; in testOneKeepalive_multiplePauses() local
733 onStopKeepalive(stopTime, TEST_SLOT); in testOneKeepalive_multiplePauses()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java101 RecordUpstreamEvent(final long startTime, final long stopTime, in RecordUpstreamEvent() argument
104 mStopTime = stopTime; in RecordUpstreamEvent()
209 final long stopTime = timeNow(); in noteDownstreamStopped() local
211 addUpstreamEvent(upstreamEventsBuilder, startTime, stopTime, mCurrentUpstream, in noteDownstreamStopped()
214 statsBuilder.setDurationMillis(stopTime - downstreamStartTime); in noteDownstreamStopped()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAppAdvertiseStats.java78 public Instant stopTime = null; field in AppAdvertiseStats.AppAdvertiserRecord
188 record.stopTime = Instant.now(); in recordAdvertiseStop()
189 Duration duration = Duration.between(record.startTime, record.stopTime); in recordAdvertiseStop()
502 if (record.stopTime == null) { in dumpToString()
511 + sDateFormat.format(record.stopTime)); in dumpToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAppScanStats.java153 private long stopTime = 0; field in AppScanStats
318 stopTime = SystemClock.elapsedRealtime(); in recordScanStop()
319 long scanDuration = stopTime - scan.timestamp; in recordScanStop()
322 long suspendDuration = stopTime - scan.suspendStartTime; in recordScanStop()
582 stopTime = SystemClock.elapsedRealtime(); in recordScanResume()
583 long suspendDuration = stopTime - scan.suspendStartTime; in recordScanResume()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.kt620 private fun computeVolume(currentTime: Long, stopTime: Long, duration: Long): Float { in <lambda>()
622 val elapsedCrescendoTime = stopTime - currentTime.toFloat() in <lambda>()
/packages/apps/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/
DTiasSessionImpl.java800 long stopTime = startTime + 25000; in requestAd() local
831 stopTime, in requestAd()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java1476 long stopTime = timeDurationInSec * 1000 + SystemClock.elapsedRealtime(); in injectContinuousVhalEvent() local
1481 if (stopTime < SystemClock.elapsedRealtime()) { in injectContinuousVhalEvent()