Searched refs:NANOS_PER_SECOND (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_session_id.cpp | 57 …SERT_EQ(kNumFrames, AAudioStream_write(aaudioStream1, buffer.get(), kNumFrames, NANOS_PER_SECOND)); in checkSessionIdNone() 117 buffer.get(), kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate() 120 buffer.get(), kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate() 146 buffer.get(), kNumFrames, NANOS_PER_SECOND)); in checkSessionIdAllocate() 149 buffer.get(), 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 | 142 const int64_t frameTimeDelta = (frameIndexDelta * NANOS_PER_SECOND) / actual().sampleRate; in getLatency() 152 int64_t minLatencyNanos = NANOS_PER_SECOND; in testTimestamp() 425 timeoutNanos = 100 * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P() 530 timeoutNanos = timeoutBursts * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P() 562 timeoutBursts * (NANOS_PER_SECOND * framesPerBurst() / actual().sampleRate); in TEST_P()
|
D | utils.cpp | 43 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; in getNanoseconds()
|
D | test_aaudio_callback.cpp | 54 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()
|
/cts/tests/surfacecontrol/jni/ |
D | ChoreographerTestUtils.h | 46 #define NANOS_PER_SECOND 1000000000LL macro 53 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; in systemTime()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | AudioHelper.java | 385 private static final long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioHelper.TimestampVerifier 416 return mLastTimeNs - ((mLastFrames - mStartFrames) * NANOS_PER_SECOND / mSampleRate); in getStartTimeNs() 431 final double deltaFramesNs = (double)deltaFrames * NANOS_PER_SECOND / mSampleRate; in add()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackSurroundTest.java | 70 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 | 52 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioTrackLatencyTest 395 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency()
|
D | AudioRecordTest.java | 1596 final long NANOS_PER_SECOND = 1000000000; in verifyContinuousTimestamps() local 1597 final long timeByFrames = frameDiff * NANOS_PER_SECOND / sampleRate; in verifyContinuousTimestamps()
|