Searched refs:timeoutNanoseconds (Results 1 – 15 of 15) sorted by relevance
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.cpp | 347 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()
|
D | AAudioAudio.cpp | 309 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()
|
D | AudioStream.h | 108 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/ |
D | AudioStreamInternal.cpp | 386 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()
|
D | AudioStreamInternalCapture.h | 37 int64_t timeoutNanoseconds) override;
|
D | AudioStreamInternalCapture.cpp | 61 int64_t timeoutNanoseconds) in read() argument 63 return processData(buffer, numFrames, timeoutNanoseconds); in read()
|
D | AudioStreamInternalPlay.h | 55 int64_t timeoutNanoseconds) override;
|
D | AudioStreamInternalPlay.cpp | 110 int64_t timeoutNanoseconds) { in write() argument 111 return processData((void *)buffer, numFrames, timeoutNanoseconds); in write()
|
D | AudioStreamInternal.h | 106 int64_t timeoutNanoseconds);
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioExampleUtils.h | 175 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/ |
D | AAudio.h | 1156 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/ |
D | AudioStreamRecord.h | 52 int64_t timeoutNanoseconds) override;
|
D | AudioStreamTrack.h | 67 int64_t timeoutNanoseconds) override;
|
D | AudioStreamRecord.cpp | 407 int64_t timeoutNanoseconds) in read() argument 422 bool blocking = (timeoutNanoseconds > 0); in read()
|
D | AudioStreamTrack.cpp | 416 int64_t timeoutNanoseconds) in write() argument 430 bool blocking = timeoutNanoseconds > 0; in write()
|