Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioCommandQueue.h43 timeoutNanoseconds(timeoutNanos) { } in operationCode()
52 const int64_t timeoutNanoseconds; variable
DAAudioCommandQueue.cpp42 command->operationCode, command->isWaitingForReply, command->timeoutNanoseconds); in sendCommand()
46 + std::chrono::nanoseconds(command->timeoutNanoseconds); in sendCommand()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp485 int64_t timeoutNanoseconds = (MIN_TIMEOUT_OPERATIONS in calculateReasonableTimeout() local
489 if (timeoutNanoseconds < MIN_TIMEOUT_NANOS) { // arbitrary number of seconds in calculateReasonableTimeout()
490 timeoutNanoseconds = MIN_TIMEOUT_NANOS; in calculateReasonableTimeout()
492 return timeoutNanoseconds; in calculateReasonableTimeout()
767 int64_t timeoutNanoseconds) in processData() argument
782 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData()
799 if (timeoutNanoseconds == 0) { in processData()
821 (long long) timeoutNanoseconds); in processData()
DAudioStreamInternalCapture.cpp66 int64_t timeoutNanoseconds) in read() argument
68 return processData(buffer, numFrames, timeoutNanoseconds); in read()
DAudioStreamInternalCapture.h37 int64_t timeoutNanoseconds) override;
DAudioStreamInternalPlay.h55 int64_t timeoutNanoseconds) override;
DAudioStreamInternalPlay.cpp124 int64_t timeoutNanoseconds) { in write() argument
125 return processData((void *)buffer, numFrames, timeoutNanoseconds); in write()
DAudioStreamInternal.h97 int64_t timeoutNanoseconds);
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp351 int64_t timeoutNanoseconds) in AAudioStream_waitForStateChange() argument
356 return spAudioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
366 int64_t timeoutNanoseconds) in AAudioStream_read() argument
378 aaudio_result_t result = audioStream->read(buffer, numFrames, timeoutNanoseconds); in AAudioStream_read()
386 int64_t timeoutNanoseconds) in AAudioStream_write() argument
406 aaudio_result_t result = audioStream->write(buffer, numFrames, timeoutNanoseconds); in AAudioStream_write()
DAudioStream.cpp398 int64_t timeoutNanoseconds) in waitForStateChange() argument
407 while (state == currentState && timeoutNanoseconds > 0) { in waitForStateChange()
408 if (durationNanos > timeoutNanoseconds) { in waitForStateChange()
409 durationNanos = timeoutNanoseconds; in waitForStateChange()
412 timeoutNanoseconds -= durationNanos; in waitForStateChange()
DAudioStream.h112 int64_t timeoutNanoseconds);
374 int64_t timeoutNanoseconds __unused) { in write()
380 int64_t timeoutNanoseconds __unused) { in read()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h201 android::status_t wait(int32_t value, int64_t timeoutNanoseconds) { in wait() argument
203 convertNanosecondsToTimespec(timeoutNanoseconds, &time); in wait()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1511 int64_t timeoutNanoseconds) __INTRODUCED_IN(26);
1540 void *buffer, int32_t numFrames, int64_t timeoutNanoseconds) __INTRODUCED_IN(26);
1565 const void *buffer, int32_t numFrames, int64_t timeoutNanoseconds) __INTRODUCED_IN(26);
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.h51 int64_t timeoutNanoseconds) override;
DAudioStreamTrack.h70 int64_t timeoutNanoseconds) override;
DAudioStreamRecord.cpp397 int64_t timeoutNanoseconds) in read() argument
412 bool blocking = (timeoutNanoseconds > 0); in read()
DAudioStreamTrack.cpp428 int64_t timeoutNanoseconds) in write() argument
442 bool blocking = timeoutNanoseconds > 0; in write()