/frameworks/base/core/java/android/hardware/ |
D | SyncFence.java | 185 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/ |
D | AAudioCommandQueue.h | 41 bool waitForReply = false, int64_t timeoutNanos = 0) 43 timeoutNanoseconds(timeoutNanos) { } in operationCode() 78 std::shared_ptr<AAudioCommand> waitForCommand(int64_t timeoutNanos = -1);
|
D | AAudioCommandQueue.cpp | 59 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()
|
D | AAudioServiceEndpointCapture.cpp | 57 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop() local 66 getFramesPerBurst(), timeoutNanos); in callbackLoop()
|
D | AAudioServiceEndpointPlay.cpp | 70 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop() local 147 getFramesPerBurst(), timeoutNanos); in callbackLoop()
|
D | AAudioServiceStreamBase.cpp | 416 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()
|
D | AAudioServiceStreamBase.h | 405 int64_t timeoutNanos = 0);
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 166 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()
|
D | write_sine_callback.cpp | 179 int64_t timeoutNanos = 2000 * NANOS_PER_MILLISECOND; in testOpenPlayClose() local 181 &finalState, timeoutNanos); in testOpenPlayClose()
|
/frameworks/base/core/jni/ |
D | android_hardware_SyncFence.cpp | 59 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/ |
D | input_monitor.cpp | 128 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/ |
D | AudioStreamInternalCapture.cpp | 235 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop() local 238 result = read(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
|
D | AudioStreamInternalPlay.cpp | 294 int64_t timeoutNanos = calculateReasonableTimeout(mCallbackFrames); in callbackLoop() local 303 result = write(mCallbackBuffer.get(), mCallbackFrames, timeoutNanos); in callbackLoop()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 23071 HSPLcom/android/okhttp/okio/Timeout;->timeoutNanos()J
|