Searched refs:availableToWrite (Results 1 – 12 of 12) sorted by relevance
/hardware/interfaces/tv/tuner/1.0/default/ |
D | Dvr.cpp | 228 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()
|
D | Filter.cpp | 238 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()
|
D | Dvr.h | 98 PlaybackStatus checkPlaybackStatusChange(uint32_t availableToWrite, uint32_t availableToRead, 100 RecordStatus checkRecordStatusChange(uint32_t availableToWrite, uint32_t availableToRead,
|
D | Filter.h | 152 DemuxFilterStatus checkFilterStatusChange(uint32_t availableToWrite, uint32_t availableToRead,
|
/hardware/interfaces/bluetooth/audio/2.0/default/session/ |
D | BluetoothAudioSession.cpp | 380 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/ |
D | StreamIn.cpp | 78 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/ |
D | audio_hw.cpp | 833 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/ |
D | HalProxy.cpp | 578 numToWrite = std::min(events.size(), mEventQueue->availableToWrite()); in postEventsToMessageQueue()
|
/hardware/interfaces/camera/device/3.2/default/ |
D | CameraDeviceSession.cpp | 729 if (tryWriteFmq && mResultMetadataQueue->availableToWrite() > 0) { in invokeProcessCaptureResultCallback() 739 mResultMetadataQueue->availableToWrite()); in invokeProcessCaptureResultCallback()
|
/hardware/interfaces/camera/device/3.4/default/ |
D | CameraDeviceSession.cpp | 719 if (tryWriteFmq && mResultMetadataQueue->availableToWrite() > 0) { in invokeProcessCaptureResultCallback_3_4()
|
D | ExternalCameraDeviceSession.cpp | 902 if (tryWriteFmq && mResultMetadataQueue->availableToWrite() > 0) { in invokeProcessCaptureResultCallback()
|
/hardware/interfaces/camera/provider/2.4/vts/functional/ |
D | VtsHalCameraProviderV2_4TargetTest.cpp | 3920 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()
|