Searched refs:NANOS_PER_SECOND (Results 1 – 8 of 8) sorted by relevance
24 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * MILLIS_PER_SECOND) macro
34 return (time.tv_sec * NANOS_PER_SECOND) + time.tv_nsec; in getNanoseconds()
224 timeoutNanos = 100 * (NANOS_PER_SECOND * framesPerBurst() / in TEST_P()
50 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()
62 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioTrackSurroundTest305 double measuredRate = elapsedFrames * (double) NANOS_PER_SECOND / elapsedNanos; in calculateSampleRate()
55 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND; field in AudioTrackLatencyTest338 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency()
1242 final long NANOS_PER_SECOND = 1000000000; in verifyContinuousTimestamps() local1243 final long timeByFrames = frameDiff * NANOS_PER_SECOND / sampleRate; in verifyContinuousTimestamps()
2092 final long NANOS_PER_SECOND = 1000000000; in doTestTimestamp() local2093 final long closeTimeNs = frameCount * 2 * NANOS_PER_SECOND / sampleRate; in doTestTimestamp()