Home
last modified time | relevance | path

Searched refs:timeDiff (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java270 long timeDiff = (result.timestamp - timestamp) / 1000; in testScanResultTimeStamp() local
271 assertThat(timeDiff).isGreaterThan(0L); in testScanResultTimeStamp()
272 assertThat(timeDiff).isLessThan(6L * SCAN_WAIT_MSEC); in testScanResultTimeStamp()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DGnssLocationUpdateIntervalTest.java203 long timeDiff = (activeLocations.get(i).getElapsedRealtimeNanos() / MILLIS_PER_NANO) in validateTimeDriftBetweenUtcTimeAndElapsedRealtime() local
205 long timeDrift = Math.abs(timeDiff - firstTimeDiff); in validateTimeDriftBetweenUtcTimeAndElapsedRealtime()
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java1534 final long timeDiff = stopTs.nanoTime - startTs.nanoTime; in verifyContinuousTimestamps() local
1538 final double ratio = (double)timeDiff / timeByFrames; in verifyContinuousTimestamps()