Searched refs:NANOS_PER_SECOND (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_session_id.cpp | 55 ASSERT_EQ(kNumFrames, AAudioStream_write(aaudioStream1, buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdNone() 110 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate() 113 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate() 139 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate() 142 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate()
|
D | test_aaudio.h | 24 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * MILLIS_PER_SECOND) macro
|
D | test_aaudio.cpp | 224 timeoutNanos = 100 * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P() 329 timeoutNanos = timeoutBursts * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P()
|
D | utils.cpp | 34 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; in getNanoseconds()
|
D | test_aaudio_callback.cpp | 50 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackSurroundTest.java | 62 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioTrackSurroundTest 305 double measuredRate = elapsedFrames * (double) NANOS_PER_SECOND / elapsedNanos; in calculateSampleRate()
|
D | AudioTrackLatencyTest.java | 57 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioTrackLatencyTest 345 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency()
|
D | AudioRecordTest.java | 1444 final long NANOS_PER_SECOND = 1000000000; in verifyContinuousTimestamps() local 1445 final long timeByFrames = frameDiff * NANOS_PER_SECOND / sampleRate; in verifyContinuousTimestamps()
|
D | AudioTrackTest.java | 2162 final long NANOS_PER_SECOND = 1000000000; in doTestTimestamp() local 2163 final long closeTimeNs = frameCount * 2 * NANOS_PER_SECOND / sampleRate; in doTestTimestamp()
|