Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/tests/
Dsoundpool_stress.cpp145 (int)((requestLoadTimeNs - startTimeNs) / NANOS_PER_MILLISECOND)); in testStreams()
179 printf("\nloadTimeMs: %d\n", (int)((loadTimeNs - startTimeNs) / NANOS_PER_MILLISECOND)); in testStreams()
198 printf("\nplayTimeMs: %d\n", (int)((playTimeNs - loadTimeNs) / NANOS_PER_MILLISECOND)); in testStreams()
310 printf("total time in ms: %lld\n", (endTimeNs - startTimeNs) / NANOS_PER_MILLISECOND); in main()
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp53 constexpr int64_t NANOS_PER_MILLISECOND = 1000 * 1000; variable
125 500 * NANOS_PER_MILLISECOND)); in checkReleaseThenClose()
196 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
210 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
229 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
248 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
282 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
Dtest_clock_model.cpp60 const int64_t markerTime = startTimeNanos + NANOS_PER_MILLISECOND in checkDriftingClock()
137 int64_t markerTime = startTime + NANOS_PER_MILLISECOND + (200 * NANOS_PER_MICROSECOND); in TEST_F()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h32 #define NANOS_PER_MILLISECOND (NANOS_PER_MICROSECOND * 1000) macro
33 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * 1000)
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp121 (getNanoseconds(CLOCK_MONOTONIC) - startedAtNanos) / NANOS_PER_MILLISECOND; in testOpenPlayClose()
170 int64_t timeoutNanos = 2000 * NANOS_PER_MILLISECOND; in testOpenPlayClose()
Dwrite_sine.cpp166 int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main()
/frameworks/base/media/jni/soundpool/
DStream.h30 inline constexpr int64_t kStopWaitTimeNs = 20 * NANOS_PER_MILLISECOND;
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp128 const int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp667 constexpr int64_t maxValidTimeDiffNs = 200 * NANOS_PER_MILLISECOND; in getLatencyMs()
DThreads.cpp951 (long long) (systemTime() - mLastIoBeginNs) / NANOS_PER_MILLISECOND); in dumpBase_l()
3912 (long long)deltaWriteNs / NANOS_PER_MILLISECOND, in threadLoop()
3952 const int32_t deltaMs = writePeriodNs / NANOS_PER_MILLISECOND; in threadLoop()