Home
last modified time | relevance | path

Searched refs:availableToRead (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/tv/tuner/1.0/default/
DDvr.cpp227 int availableToRead = mDvrMQ->availableToRead(); in maySendPlaybackStatusCallback() local
230 PlaybackStatus newStatus = checkPlaybackStatusChange(availableToWrite, availableToRead, in maySendPlaybackStatusCallback()
239 PlaybackStatus Dvr::checkPlaybackStatusChange(uint32_t availableToWrite, uint32_t availableToRead, in checkPlaybackStatusChange() argument
243 } else if (availableToRead > highThreshold) { in checkPlaybackStatusChange()
245 } else if (availableToRead < lowThreshold) { in checkPlaybackStatusChange()
247 } else if (availableToRead == 0) { in checkPlaybackStatusChange()
255 int size = mDvrMQ->availableToRead(); in readPlaybackFMQ()
312 int availableToRead = mDvrMQ->availableToRead(); in maySendRecordStatusCallback() local
315 RecordStatus newStatus = checkRecordStatusChange(availableToWrite, availableToRead, in maySendRecordStatusCallback()
324 RecordStatus Dvr::checkRecordStatusChange(uint32_t availableToWrite, uint32_t availableToRead, in checkRecordStatusChange() argument
[all …]
DFilter.cpp114 int size = mFilterMQ->availableToRead(); in flush()
237 int availableToRead = mFilterMQ->availableToRead(); in maySendFilterStatusCallback() local
242 availableToWrite, availableToRead, ceil(fmqSize * 0.75), ceil(fmqSize * 0.25)); in maySendFilterStatusCallback()
250 uint32_t availableToRead, uint32_t highThreshold, in checkFilterStatusChange() argument
254 } else if (availableToRead > highThreshold) { in checkFilterStatusChange()
256 } else if (availableToRead < lowThreshold) { 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/sensors/2.0/vts/functional/
DSensorsHidlEnvironmentV2_0.cpp137 size_t availableEvents = mEventQueue->availableToRead(); in readEvents()
143 availableEvents = mEventQueue->availableToRead(); in readEvents()
/hardware/interfaces/sensors/2.0/multihal/tests/
DHalProxy_test.cpp293 EXPECT_EQ(eventQueue->availableToRead(), 1); in TEST()
310 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST()
332 EXPECT_EQ(eventQueue->availableToRead(), 1); in TEST()
358 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST()
378 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST()
382 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents * 2); in TEST()
402 EXPECT_EQ(eventQueue->availableToRead(), kQueueSize); in TEST()
410 EXPECT_EQ(eventQueue->availableToRead(), 0); in TEST()
432 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents * 2); in TEST()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp909 rsxadev->routes[out->route_handle].rsxSource->availableToRead(); in audio_config_compare()
943 rsxadev->routes[out->route_handle].rsxSource->availableToRead(); in audio_config_compare()
1215 SUBMIX_ALOGV("in_read(): frames available to read %zd", source->availableToRead()); in audio_config_compare()
/hardware/interfaces/audio/core/all-versions/default/
DStreamOut.cpp77 const size_t availToRead = mDataMQ->availableToRead(); in doWrite()
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DVtsHalTvTunerV1_0TargetTest.cpp626 mDataOutputBuffer.resize(mRecordMQ->availableToRead()); in readRecordFMQ()
627 result = mRecordMQ->read(mDataOutputBuffer.data(), mRecordMQ->availableToRead()); in readRecordFMQ()
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h102 size_t staleDataSize = mQueue ? mQueue->availableToRead() : 0; in writeQueue()
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp445 size_t numToRead = mEventQueue->availableToRead(); in stopThreads()