Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/dynamicsproc/dsp/
DSHCircularBuffer.h40 if (availableToWrite()) { in write()
66 inline size_t availableToWrite() const { in availableToWrite() function
/frameworks/av/media/libeffects/downmix/aidl/
DEffectDownmix.cpp199 const auto availableToWrite = outputMQ->availableToWrite() * in process() local
203 std::max(availableToRead(), availableToWrite)); in process()
204 auto processSamples = std::min(availableToRead, availableToWrite); in process()
/frameworks/av/media/module/bufferpool/1.0/
DBufferStatus.cpp111 size_t avail = mBufferStatusQueue->availableToWrite(); in needsSync()
121 size_t avail = mBufferStatusQueue->availableToWrite(); in postBufferRelease()
147 size_t avail = mBufferStatusQueue->availableToWrite(); in postBufferStatusMessage()
/frameworks/av/media/module/bufferpool/2.0/
DBufferStatus.cpp124 size_t avail = mBufferStatusQueue->availableToWrite(); in needsSync()
134 size_t avail = mBufferStatusQueue->availableToWrite(); in postBufferRelease()
160 size_t avail = mBufferStatusQueue->availableToWrite(); in postBufferInvalidateAck()
183 size_t avail = mBufferStatusQueue->availableToWrite(); in postBufferStatusMessage()
/frameworks/av/media/libnbaio/include/media/nbaio/
DPipe.h55 virtual ssize_t availableToWrite() { return mMaxFrames; } in availableToWrite() function
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DMonoPipe.h61 virtual ssize_t availableToWrite();
DNBAIO.h167 virtual ssize_t availableToWrite() { in availableToWrite() function
/frameworks/base/media/jni/tuner/
DDvrClient.cpp63 int64_t available = mDvrMQ->availableToWrite(); in readFromFile()
118 int64_t available = mDvrMQ->availableToWrite(); in readFromBuffer()
/frameworks/av/media/libnbaio/
DMonoPipe.cpp55 ssize_t MonoPipe::availableToWrite() in availableToWrite() function in android::MonoPipe
/frameworks/av/media/libaudiohal/impl/
DEffectHalAidl.cpp220 size_t available = inputQ->availableToWrite(); in process()
230 floatsToWrite, mInBuffer->audioBuffer(), inputQ->availableToWrite()); in process()
DStreamHalHidl.cpp496 size_t availableToWrite = mDataMQ->availableToWrite(); in callWriterThread() local
497 if (dataSize > availableToWrite) { in callWriterThread()
499 (long long)dataSize, (long long)availableToWrite); in callWriterThread()
500 dataSize = availableToWrite; in callWriterThread()
DStreamHalAidl.cpp391 mContext.getDataMQ()->availableToWrite(&fmqError, &fmqErrorMsg)); in transfer()
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp101 (mCaptureResultMetadataQueue->availableToWrite() > 0)) { in convertResultMetadataToHidl()
DUtils.cpp280 if ((metadata_size > 0) && (captureResultMetadataQueue->availableToWrite() > 0)) { in convertToHidl()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraDeviceCallbacks.cpp102 (mCaptureResultMetadataQueue->availableToWrite() > 0)) { in convertResultMetadataToAidl()
DAidlUtils.cpp259 if ((metadata_size > 0) && (fmq->availableToWrite() > 0)) { in convertToAidl()
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3OfflineSession.cpp65 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in initialize()
DHidlCamera3Device.cpp222 if (!queue->isValid() || queue->availableToWrite() <= 0) { in initialize()
238 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in initialize()
1794 if (!queue->isValid() || queue->availableToWrite() <= 0) { in injectionInitialize()
1811 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in injectionInitialize()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3OfflineSession.cpp80 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in initialize()
DAidlCamera3Device.cpp271 if (!queue->isValid() || queue->availableToWrite() <= 0) { in initialize()
287 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in initialize()
1571 if (!queue->isValid() || queue->availableToWrite() <= 0) { in injectionInitialize()
1587 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in injectionInitialize()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp421 EXPECT_TRUE((requestMQ->availableToWrite() >= 0)); in BasicCameraTests()
DVtsHalCameraServiceV2_0TargetTest.cpp420 EXPECT_TRUE(requestMQ->isValid() && (requestMQ->availableToWrite() >= 0)); in TEST_P()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp385 auto availableSize = mMsgQueue->availableToWrite(); in writeHintSessionMessage()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp761 if (!reqQueue->isValid() || reqQueue->availableToWrite() <= 0) { in setDeviceMetadataQueues()
774 if (!resQueue->isValid() || resQueue->availableToWrite() <= 0) { in setDeviceMetadataQueues()
/frameworks/av/services/audioflinger/
DThreads.cpp4508 availableToWrite = mPipeSink->availableToWrite(); in threadLoop() local
4511 remainingFrames = pipeFrames - max(availableToWrite, 0); in threadLoop()
5379 const long long pipeFrames = monoPipe->maxFrames() - monoPipe->availableToWrite(); in threadLoop_standby()
5487 const ssize_t availableToWrite = mPipeSink->availableToWrite(); in threadLoop_sleepTime() local
5489 const size_t framesLeft = pipeFrames - max(availableToWrite, 0); in threadLoop_sleepTime()