Home
last modified time | relevance | path

Searched refs:timeoutNanoseconds (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libaaudio/src/core/
DAudioStream.cpp347 int64_t timeoutNanoseconds) in waitForStateChange() argument
356 while (state == currentState && timeoutNanoseconds > 0) { in waitForStateChange()
357 if (durationNanos > timeoutNanoseconds) { in waitForStateChange()
358 durationNanos = timeoutNanoseconds; in waitForStateChange()
361 timeoutNanoseconds -= durationNanos; in waitForStateChange()
438 aaudio_result_t AudioStream::joinThread(void** returnArg, int64_t timeoutNanoseconds __unused) in joinThread()
DAAudioAudio.cpp309 int64_t timeoutNanoseconds) in AAudioStream_waitForStateChange() argument
313 return audioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
323 int64_t timeoutNanoseconds) in AAudioStream_read() argument
335 aaudio_result_t result = audioStream->read(buffer, numFrames, timeoutNanoseconds); in AAudioStream_read()
343 int64_t timeoutNanoseconds) in AAudioStream_write() argument
362 aaudio_result_t result = audioStream->write(buffer, numFrames, timeoutNanoseconds); in AAudioStream_write()
DAudioStream.h108 int64_t timeoutNanoseconds);
159 aaudio_result_t joinThread(void **returnArg, int64_t timeoutNanoseconds);
335 int64_t timeoutNanoseconds __unused) { in write()
341 int64_t timeoutNanoseconds __unused) { in read()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp386 int64_t timeoutNanoseconds = (MIN_TIMEOUT_OPERATIONS in calculateReasonableTimeout() local
390 if (timeoutNanoseconds < MIN_TIMEOUT_NANOS) { // arbitrary number of seconds in calculateReasonableTimeout()
391 timeoutNanoseconds = MIN_TIMEOUT_NANOS; in calculateReasonableTimeout()
393 return timeoutNanoseconds; in calculateReasonableTimeout()
665 int64_t timeoutNanoseconds) in processData() argument
680 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData()
697 if (timeoutNanoseconds == 0) { in processData()
719 (long long) timeoutNanoseconds); in processData()
DAudioStreamInternalCapture.h37 int64_t timeoutNanoseconds) override;
DAudioStreamInternalCapture.cpp61 int64_t timeoutNanoseconds) in read() argument
63 return processData(buffer, numFrames, timeoutNanoseconds); in read()
DAudioStreamInternalPlay.h55 int64_t timeoutNanoseconds) override;
DAudioStreamInternalPlay.cpp110 int64_t timeoutNanoseconds) { in write() argument
111 return processData((void *)buffer, numFrames, timeoutNanoseconds); in write()
DAudioStreamInternal.h106 int64_t timeoutNanoseconds);
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h175 android::status_t wait(int32_t value, int64_t timeoutNanoseconds) { in wait() argument
177 convertNanosecondsToTimespec(timeoutNanoseconds, &time); in wait()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1156 int64_t timeoutNanoseconds) __INTRODUCED_IN(26);
1185 void *buffer, int32_t numFrames, int64_t timeoutNanoseconds) __INTRODUCED_IN(26);
1210 const void *buffer, int32_t numFrames, int64_t timeoutNanoseconds) __INTRODUCED_IN(26);
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.h52 int64_t timeoutNanoseconds) override;
DAudioStreamTrack.h67 int64_t timeoutNanoseconds) override;
DAudioStreamRecord.cpp407 int64_t timeoutNanoseconds) in read() argument
422 bool blocking = (timeoutNanoseconds > 0); in read()
DAudioStreamTrack.cpp416 int64_t timeoutNanoseconds) in write() argument
430 bool blocking = timeoutNanoseconds > 0; in write()