Home
last modified time | relevance | path

Searched refs:getNanoseconds (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_stream_builder.cpp56 int64_t beforeTimeNanos = getNanoseconds(); in try_opening_audio_stream()
71 ASSERT_LT(getNanoseconds() - beforeTimeNanos, kNanosPerSecond) in try_opening_audio_stream()
77 beforeTimeNanos = getNanoseconds(); in try_opening_audio_stream()
80 ASSERT_LT(getNanoseconds() - beforeTimeNanos, kNanosPerSecond) in try_opening_audio_stream()
Dtest_aaudio.cpp140 const int64_t nowNs = getNanoseconds(); in getLatency()
430 int64_t beginTime = getNanoseconds(CLOCK_MONOTONIC); in TEST_P()
444 beginTime = getNanoseconds(CLOCK_MONOTONIC); in TEST_P()
Dutils.h34 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC);
Dutils.cpp37 int64_t getNanoseconds(clockid_t clockId) { in getNanoseconds() function
Dtest_aaudio_callback.cpp37 int64_t now = getNanoseconds(); in measureLatency()