Home
last modified time | relevance | path

Searched refs:availableToWrite (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSession.cpp378 size_t availableToWrite = mDataMQ->availableToWrite(); in OutWritePcmData() local
379 if (availableToWrite) { in OutWritePcmData()
380 if (availableToWrite > (bytes - totalWritten)) { in OutWritePcmData()
381 availableToWrite = bytes - totalWritten; in OutWritePcmData()
385 availableToWrite)) { in OutWritePcmData()
389 totalWritten += availableToWrite; in OutWritePcmData()
/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp78 size_t availableToWrite = mDataMQ->availableToWrite(); in doRead() local
80 if (requestedToRead > availableToWrite) { in doRead()
84 (int32_t)requestedToRead, (int32_t)availableToWrite); in doRead()
85 requestedToRead = availableToWrite; in doRead()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp825 const size_t availableToWrite = sink->availableToWrite(); in audio_config_compare() local
827 if (rsxadev->routes[out->route_handle].input == NULL && availableToWrite < frames) { in audio_config_compare()
830 size_t frames_to_flush_from_source = frames - availableToWrite; in audio_config_compare()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp729 if (tryWriteFmq && mResultMetadataQueue->availableToWrite() > 0) { in invokeProcessCaptureResultCallback()
739 mResultMetadataQueue->availableToWrite()); in invokeProcessCaptureResultCallback()
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp718 if (tryWriteFmq && mResultMetadataQueue->availableToWrite() > 0) { in invokeProcessCaptureResultCallback_3_4()
DExternalCameraDeviceSession.cpp902 if (tryWriteFmq && mResultMetadataQueue->availableToWrite() > 0) { in invokeProcessCaptureResultCallback()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp3920 resultQueue->availableToWrite() <= 0) { in TEST_F()
4150 resultQueue->availableToWrite() <= 0) { in TEST_F()
4354 if (!resultQueue->isValid() || resultQueue->availableToWrite() <= 0) { in TEST_F()
4634 resultQueue->availableToWrite() <= 0) { in TEST_F()