Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java538 AudioTimestamp stopTs = new AudioTimestamp(); in testTimestamp() local
542 record.getTimestamp(stopTs, AudioTimestamp.TIMEBASE_MONOTONIC)); in testTimestamp()
551 assertEquals(stopTs.framePosition, stopTsBoot.framePosition); in testTimestamp()
552 assertTrue(stopTs.framePosition >= targetFrames); in testTimestamp()
553 assertTrue(stopTs.nanoTime - startTime > RECORD_TIME_IN_NANOS); in testTimestamp()
555 verifyContinuousTimestamps(startTs, stopTs, RECORD_SAMPLE_RATE); in testTimestamp()
1013 AudioTimestamp stopTs = new AudioTimestamp(); in doTest()
1015 record.getTimestamp(stopTs, AudioTimestamp.TIMEBASE_MONOTONIC)); in doTest()
1027 assertTrue(stopTs.framePosition >= targetFrames); in doTest()
1028 assertEquals(stopTs.framePosition, stopTsBoot.framePosition); in doTest()
[all …]