Searched refs:NANOS_PER_MILLISECOND (Results 1 – 8 of 8) 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 (1000 * 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;533 timeoutNanos = std::max(timeoutNanos, 400 * NANOS_PER_MILLISECOND); in TEST_P()564 timeoutNanos = std::max(timeoutNanos, 400 * NANOS_PER_MILLISECOND); in TEST_P()
57 int32_t latencyMillis = (int32_t) ((latencyNanos + NANOS_PER_MILLISECOND - 1) in measureLatency()58 / NANOS_PER_MILLISECOND); in measureLatency()
72 private static final int NANOS_PER_MILLISECOND = 1000000; field in VerifyInputEventTest320 assertEquals(keyEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareKeys()334 assertEquals(keyEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareKeys()345 assertEquals(motionEvent.getEventTime() * NANOS_PER_MILLISECOND, in compareMotions()356 assertEquals(motionEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareMotions()
384 private static final long NANOS_PER_MILLISECOND = 1000000; field in AudioHelper.TimestampVerifier385 private static final long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;433 * (1. / NANOS_PER_MILLISECOND); in add()474 (int) ((getStartTimeNs() - trackStartTimeNs) / NANOS_PER_MILLISECOND); in verifyAndLog()
68 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackSurroundTest70 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;256 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()
50 private final static long NANOS_PER_MILLISECOND = 1000000L; field in AudioTrackLatencyTest52 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;398 int latencyMillis = (int) (latencyNanos / NANOS_PER_MILLISECOND); in checkOutputLowLatency()
687 final int NANOS_PER_MILLISECOND = 1000000; in testTimestamp() local689 final long RECORD_TIME_NS = RECORD_TIME_MS * NANOS_PER_MILLISECOND; in testTimestamp()