Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp320 startTime = AudioClock::getNanoseconds(); in requestStart()
388 mClockModel.stop(AudioClock::getNanoseconds()); in requestStop()
444 *timeNanoseconds = timestamp.getNanoseconds(); in getTimestamp()
616 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData()
644 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
675 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
DAudioStreamInternalPlay.cpp73 mClockModel.stop(AudioClock::getNanoseconds()); in requestPause()
248 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesRead()
DAudioStreamInternalCapture.cpp214 ? mClockModel.convertTimeToPosition(AudioClock::getNanoseconds()) in getFramesWritten()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp167 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
190 *timeNanos = timestamp.getNanoseconds() + serviceEndpointMMAP->getHardwareTimeOffsetNanos(); in getHardwareTimestamp()
DAAudioServiceEndpointCapture.cpp120 Timestamp timestamp(clientFramesWritten, AudioClock::getNanoseconds()); in callbackLoop()
DAAudioServiceEndpointPlay.cpp136 Timestamp timestamp(clientFramesRead, AudioClock::getNanoseconds()); in callbackLoop()
DAAudioServiceStreamBase.cpp299 timestampScheduler.start(AudioClock::getNanoseconds()); in run()
304 if (AudioClock::getNanoseconds() >= nextTime) { in run()
DAAudioServiceEndpointShared.cpp187 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
DAAudioServiceStreamShared.cpp248 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
/frameworks/av/media/libaaudio/src/utility/
DAudioClock.h34 static int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
DAAudioUtilities.h257 int64_t getNanoseconds() const { return mNanoseconds; } in getNanoseconds() function
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp116 startedAtNanos = getNanoseconds(CLOCK_MONOTONIC); in testOpenPlayClose()
121 (getNanoseconds(CLOCK_MONOTONIC) - startedAtNanos) / NANOS_PER_MILLISECOND; in testOpenPlayClose()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h92 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp174 int64_t realTime = getNanoseconds(); in main()
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp245 long int seed = (long int)getNanoseconds(); // different every time by default in main()
Dtest_timestamps.cpp138 timestamp->appNanoseconds = getNanoseconds(); in timestampDataCallbackProc()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp98 const int64_t startNanos = getNanoseconds(); in hangIfRequested()
100 const int64_t endNanos = getNanoseconds(); in hangIfRequested()