Home
last modified time | relevance | path

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

/hardware/interfaces/tv/tuner/1.0/default/
DDvr.cpp228 int availableToWrite = mDvrMQ->availableToWrite(); in maySendPlaybackStatusCallback() local
230 PlaybackStatus newStatus = checkPlaybackStatusChange(availableToWrite, availableToRead, in maySendPlaybackStatusCallback()
239 PlaybackStatus Dvr::checkPlaybackStatusChange(uint32_t availableToWrite, uint32_t availableToRead, in checkPlaybackStatusChange() argument
241 if (availableToWrite == 0) { in checkPlaybackStatusChange()
313 int availableToWrite = mDvrMQ->availableToWrite(); in maySendRecordStatusCallback() local
315 RecordStatus newStatus = checkRecordStatusChange(availableToWrite, availableToRead, in maySendRecordStatusCallback()
324 RecordStatus Dvr::checkRecordStatusChange(uint32_t availableToWrite, uint32_t availableToRead, in checkRecordStatusChange() argument
326 if (availableToWrite == 0) { in checkRecordStatusChange()
DFilter.cpp238 int availableToWrite = mFilterMQ->availableToWrite(); in maySendFilterStatusCallback() local
242 availableToWrite, availableToRead, ceil(fmqSize * 0.75), ceil(fmqSize * 0.25)); in maySendFilterStatusCallback()
249 DemuxFilterStatus Filter::checkFilterStatusChange(uint32_t availableToWrite, in checkFilterStatusChange() argument
252 if (availableToWrite == 0) { in checkFilterStatusChange()
DDvr.h98 PlaybackStatus checkPlaybackStatusChange(uint32_t availableToWrite, uint32_t availableToRead,
100 RecordStatus checkRecordStatusChange(uint32_t availableToWrite, uint32_t availableToRead,
DFilter.h152 DemuxFilterStatus checkFilterStatusChange(uint32_t availableToWrite, uint32_t availableToRead,
/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSession.cpp380 size_t availableToWrite = mDataMQ->availableToWrite(); in OutWritePcmData() local
381 if (availableToWrite) { in OutWritePcmData()
382 if (availableToWrite > (bytes - totalWritten)) { in OutWritePcmData()
383 availableToWrite = bytes - totalWritten; in OutWritePcmData()
387 availableToWrite)) { in OutWritePcmData()
391 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.cpp833 const size_t availableToWrite = sink->availableToWrite(); in audio_config_compare() local
838 if (dont_block && availableToWrite < frames) { in audio_config_compare()
841 size_t frames_to_flush_from_source = frames - availableToWrite; in audio_config_compare()
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp578 numToWrite = std::min(events.size(), mEventQueue->availableToWrite()); in postEventsToMessageQueue()
/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.cpp719 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()