Home
last modified time | relevance | path

Searched refs:deltaMillis (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/
DFramerateJankDetector.java62 double deltaMillis = (timestamp - mLastFrameTimestamp) / 1000000.0; in onCompleted() local
65 double fractionalChange = (deltaMillis - mLastDeltaMillis) / mLastDeltaMillis; in onCompleted()
67 mUsageStatistics.cameraFrameDrop(deltaMillis, mLastDeltaMillis); in onCompleted()
71 mLog.v("JANK! Time between frames (" + deltaMillis + "ms) increased by " + in onCompleted()
76 mLastDeltaMillis = deltaMillis; in onCompleted()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DMemoryPublisherTest.java482 long deltaMillis = 1000; // +/- 1 seconds is good enough for testing in assertThatMessageIsScheduledWithGivenDelay() local
484 .closed(expectedTimeMillis - deltaMillis, expectedTimeMillis + deltaMillis)); in assertThatMessageIsScheduledWithGivenDelay()
DStatsPublisherTest.java528 long deltaMillis = 1000; // +/- 1 seconds is good enough for testing in assertThatMessageIsScheduledWithGivenDelay() local
530 .closed(expectedTimeMillis - deltaMillis, expectedTimeMillis + deltaMillis)); in assertThatMessageIsScheduledWithGivenDelay()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java792 long deltaMillis = millis - mLastKnownNudCheckTimeMillis; in shouldCheckIpLayer() local
795 if (deltaMillis < NUD_THROTTLE_MILLIS) { in shouldCheckIpLayer()
818 && deltaMillis < 5.0 * TIME_CONSTANT_MILLIS) { in shouldCheckIpLayer()
819 double a = Math.exp(-deltaMillis / TIME_CONSTANT_MILLIS); in shouldCheckIpLayer()