Home
last modified time | relevance | path

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

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_session_id.cpp57 ASSERT_EQ(kNumFrames, AAudioStream_write(aaudioStream1, buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdNone()
116 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate()
119 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate()
145 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate()
148 buffer, kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate()
Dtest_aaudio.h24 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * MILLIS_PER_SECOND) macro
Dtest_aaudio.cpp225 timeoutNanos = 100 * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P()
330 timeoutNanos = timeoutBursts * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P()
Dutils.cpp37 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; in getNanoseconds()
Dtest_aaudio_callback.cpp50 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java267 private static final long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioHelper.TimestampVerifier
293 return mLastTimeNs - (mLastFrames * NANOS_PER_SECOND / mSampleRate); in getStartTimeNs()
308 final double deltaFramesNs = (double)deltaFrames * NANOS_PER_SECOND / mSampleRate; in add()
DAudioTrackSurroundTest.java62 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()
DAudioTrackLatencyTest.java57 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()
DAudioRecordTest.java1583 final long NANOS_PER_SECOND = 1000000000; in verifyContinuousTimestamps() local
1584 final long timeByFrames = frameDiff * NANOS_PER_SECOND / sampleRate; in verifyContinuousTimestamps()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp62 #define NANOS_PER_SECOND 1000000000LL macro
69 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; in systemTime()