Home
last modified time | relevance | path

Searched refs:NANOS_PER_MILLISECOND (Results 1 – 9 of 9) 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.cpp38 static const int64_t MAX_LATENCY_RANGE = 200 * NANOS_PER_MILLISECOND;
39 static const int64_t MAX_LATENCY = 800 * NANOS_PER_MILLISECOND;
98 500 * NANOS_PER_MILLISECOND)); in checkCallsAfterRelease()
520 timeoutNanos = std::max(timeoutNanos, 400 * NANOS_PER_MILLISECOND); in TEST_P()
551 timeoutNanos = std::max(timeoutNanos, 400 * NANOS_PER_MILLISECOND); in TEST_P()
Dutils.h70 500 * NANOS_PER_MILLISECOND)); in waitForState()
Dtest_aaudio_callback.cpp56 int32_t latencyMillis = (int32_t) ((latencyNanos + NANOS_PER_MILLISECOND - 1) in measureLatency()
57 / NANOS_PER_MILLISECOND); in measureLatency()
/cts/tests/tests/view/src/android/view/cts/
DVerifyInputEventTest.java67 private static final int NANOS_PER_MILLISECOND = 1000000; field in VerifyInputEventTest
302 assertEquals(keyEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareKeys()
311 assertEquals(keyEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareKeys()
322 assertEquals(motionEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareMotions()
333 assertEquals(motionEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareMotions()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java342 private static final long NANOS_PER_MILLISECOND = 1000000; field in AudioHelper.TimestampVerifier
343 private static final long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
391 * (1. / NANOS_PER_MILLISECOND); in add()
432 (int) ((getStartTimeNs() - trackStartTimeNs) / NANOS_PER_MILLISECOND); in verifyAndLog()
DAudioTrackSurroundTest.java72 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackSurroundTest
74 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
271 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()
DAudioTrackLatencyTest.java56 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackLatencyTest
58 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
349 int latencyMillis = (int) (latencyNanos / NANOS_PER_MILLISECOND); in checkOutputLowLatency()
DAudioRecordTest.java589 final int NANOS_PER_MILLISECOND = 1000000; in testTimestamp() local
591 final long RECORD_TIME_NS = RECORD_TIME_MS * NANOS_PER_MILLISECOND; in testTimestamp()