Home
last modified time | relevance | path

Searched refs:timeoutNanos (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/hardware/
DSyncFence.java185 final long timeoutNanos; in await() local
187 timeoutNanos = -1; in await()
189 timeoutNanos = timeout.toNanos(); in await()
191 return await(timeoutNanos); in await()
206 private boolean await(long timeoutNanos) { in await() argument
208 return mNativePtr != 0 && nWait(mNativePtr, timeoutNanos); in await()
/frameworks/av/services/oboeservice/
DAAudioCommandQueue.h41 bool waitForReply = false, int64_t timeoutNanos = 0)
43 timeoutNanoseconds(timeoutNanos) { } in operationCode()
78 std::shared_ptr<AAudioCommand> waitForCommand(int64_t timeoutNanos = -1);
DAAudioCommandQueue.cpp59 std::shared_ptr<AAudioCommand> AAudioCommandQueue::waitForCommand(int64_t timeoutNanos) { in waitForCommand() argument
64 if (timeoutNanos >= 0) { in waitForCommand()
65 mWaitWorkCond.wait_for(_l, std::chrono::nanoseconds(timeoutNanos), [this]() { in waitForCommand()
DAAudioServiceEndpointCapture.cpp57 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop() local
66 getFramesPerBurst(), timeoutNanos); in callbackLoop()
DAAudioServiceEndpointPlay.cpp70 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop() local
147 getFramesPerBurst(), timeoutNanos); in callbackLoop()
DAAudioServiceStreamBase.cpp416 int64_t timeoutNanos = -1; in run() local
418 timeoutNanos = (isRunning() ? nextTime : standbyTime) - AudioClock::getNanoseconds(); in run()
419 timeoutNanos = std::max<int64_t>(0, timeoutNanos); in run()
422 auto command = mCommandQueue.waitForCommand(timeoutNanos); in run()
720 int64_t timeoutNanos) { in sendCommand() argument
722 opCode, param, waitForReply, timeoutNanos)); in sendCommand()
DAAudioServiceStreamBase.h405 int64_t timeoutNanos = 0);
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine.cpp166 int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main() local
171 actual = AAudioStream_write(aaudioStream, floatData, minFrames, timeoutNanos); in main()
174 actual = AAudioStream_write(aaudioStream, shortData, minFrames, timeoutNanos); in main()
177 actual = AAudioStream_write(aaudioStream, int32Data, minFrames, timeoutNanos); in main()
180 actual = AAudioStream_write(aaudioStream, byteData, minFrames, timeoutNanos); in main()
Dwrite_sine_callback.cpp179 int64_t timeoutNanos = 2000 * NANOS_PER_MILLISECOND; in testOpenPlayClose() local
181 &finalState, timeoutNanos); in testOpenPlayClose()
/frameworks/base/core/jni/
Dandroid_hardware_SyncFence.cpp59 static jboolean SyncFence_wait(JNIEnv* env, jobject, jlong jPtr, jlong timeoutNanos) { in SyncFence_wait() argument
61 int err = fence->wait(timeoutNanos); in SyncFence_wait()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp128 const int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main() local
132 actual = AAudioStream_read(aaudioStream, shortData, minFrames, timeoutNanos); in main()
134 actual = AAudioStream_read(aaudioStream, floatData, minFrames, timeoutNanos); in main()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp235 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop() local
238 result = read(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
DAudioStreamInternalPlay.cpp294 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop() local
303 result = write(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
/frameworks/base/config/
Dboot-image-profile.txt23071 HSPLcom/android/okhttp/okio/Timeout;->timeoutNanos()J