Home
last modified time | relevance | path

Searched refs:timeDelta (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DExtendedWifiInfo.java77 long timeDelta = timeStamp - mLastPacketCountUpdateTimeStamp; in update() local
78 double lastSampleWeight = Math.exp(-1.0 * timeDelta / FILTER_TIME_CONSTANT); in update()
82 + (txbad - txBad) * 1000.0 / timeDelta in update()
85 + (txgood - txSuccess) * 1000.0 / timeDelta in update()
88 + (rxgood - rxSuccess) * 1000.0 / timeDelta in update()
91 + (txretries - txRetries) * 1000.0 / timeDelta in update()
DWifiMetrics.java1616 long timeDelta = mClock.getElapsedSinceBootMillis() - mScanResultRssiTimestampMillis; in maybeIncrementRssiDeltaCount() local
1617 if (timeDelta <= TIMEOUT_RSSI_DELTA_MILLIS) { in maybeIncrementRssiDeltaCount()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLinkProbeManagerTest.java128 long timeDelta = LinkProbeManager.DELAY_AFTER_TX_SUCCESS_MS + 20000; in testLinkProbeTriggeredAndAcked() local
129 mTimeMs += timeDelta; in testLinkProbeTriggeredAndAcked()
145 verify(mWifiMetrics).logLinkProbeSuccess(timeDelta, rssi, linkSpeed, TEST_ELAPSED_TIME_MS); in testLinkProbeTriggeredAndAcked()
171 long timeDelta = LinkProbeManager.DELAY_BETWEEN_PROBES_MS + 1000; in testLinkProbeTriggeredAndFailed() local
172 mTimeMs += timeDelta; in testLinkProbeTriggeredAndFailed()
181 verify(mWifiMetrics).logLinkProbeFailure(timeDelta, rssi, linkSpeed, in testLinkProbeTriggeredAndFailed()
317 long timeDelta = LinkProbeManager.DELAY_AFTER_TX_SUCCESS_MS + 1000; in testLinkProbeFeatureDisabled() local
318 mTimeMs += timeDelta; in testLinkProbeFeatureDisabled()
349 long timeDelta = LinkProbeManager.DELAY_AFTER_TX_SUCCESS_MS + 1000; in testLinkProbeFeatureUnsupported() local
350 mTimeMs += timeDelta; in testLinkProbeFeatureUnsupported()
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java135 final float timeDelta = (frameTimeNanos - mLastFrameTimeNanos)
148 final float amount = timeDelta * mRate / scale;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java320 final long timeDelta = time - mBaseTime; in onMotionEvent() local
327 if (timeDelta > threshold) { in onMotionEvent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java382 final long timeDelta = -123; in timeChangeMovesRtcAlarm() local
383 mNowRtcTest += timeDelta; in timeChangeMovesRtcAlarm()
387 triggerElapsed1 - timeDelta); in timeChangeMovesRtcAlarm()