Searched refs:NANOS_PER_MILLISECOND (Results 1 – 9 of 9) sorted by relevance
21 #define NANOS_PER_MILLISECOND (NANOS_PER_MICROSECOND * 1000) macro24 #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)
38 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()
70 500 * NANOS_PER_MILLISECOND)); in waitForState()
56 int32_t latencyMillis = (int32_t) ((latencyNanos + NANOS_PER_MILLISECOND - 1) in measureLatency()57 / NANOS_PER_MILLISECOND); in measureLatency()
67 private static final int NANOS_PER_MILLISECOND = 1000000; field in VerifyInputEventTest302 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()
342 private static final long NANOS_PER_MILLISECOND = 1000000; field in AudioHelper.TimestampVerifier343 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()
72 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackSurroundTest74 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;271 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()
56 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackLatencyTest58 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;349 int latencyMillis = (int) (latencyNanos / NANOS_PER_MILLISECOND); in checkOutputLowLatency()
589 final int NANOS_PER_MILLISECOND = 1000000; in testTimestamp() local591 final long RECORD_TIME_NS = RECORD_TIME_MS * NANOS_PER_MILLISECOND; in testTimestamp()