Home
last modified time | relevance | path

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

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.h21 #define NANOS_PER_MILLISECOND (NANOS_PER_MICROSECOND * 1000) macro
24 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * MILLIS_PER_SECOND)
26 #define DEFAULT_STATE_TIMEOUT (500 * NANOS_PER_MILLISECOND)
27 #define DEFAULT_READ_TIMEOUT (300 * NANOS_PER_MILLISECOND)
Dtest_aaudio_callback.cpp53 int32_t latencyMillis = (int32_t) ((latencyNanos + NANOS_PER_MILLISECOND - 1) in measureLatency()
54 / NANOS_PER_MILLISECOND); in measureLatency()
Dtest_aaudio.cpp333 timeoutNanos = std::max(timeoutNanos, 400 * NANOS_PER_MILLISECOND); in TEST_P()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java266 private static final long NANOS_PER_MILLISECOND = 1000000; field in AudioHelper.TimestampVerifier
267 private static final long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
310 * (1. / NANOS_PER_MILLISECOND); in add()
351 (int) ((getStartTimeNs() - trackStartTimeNs) / NANOS_PER_MILLISECOND); in verifyAndLog()
DAudioTrackSurroundTest.java60 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackSurroundTest
62 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
257 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()
DAudioTrackLatencyTest.java55 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackLatencyTest
57 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
348 int latencyMillis = (int) (latencyNanos / NANOS_PER_MILLISECOND); in checkOutputLowLatency()
DAudioRecordTest.java536 final int NANOS_PER_MILLISECOND = 1000000; in testTimestamp() local
538 final long RECORD_TIME_NS = RECORD_TIME_MS * NANOS_PER_MILLISECOND; in testTimestamp()