Home
last modified time | relevance | path

Searched refs:mDataMQ (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DStreamHalHidl.cpp386 if (bytes == 0 && !mDataMQ) { in write()
393 if (!mDataMQ) { in write()
429 size_t availableToWrite = mDataMQ->availableToWrite(); in callWriterThread()
435 if (!mDataMQ->write(data, dataSize)) { in callWriterThread()
521 mDataMQ = std::move(tempDataMQ); in prepareForWriting()
836 if (bytes == 0 && !mDataMQ) { in read()
842 if (!mDataMQ && (status = prepareForReading(bytes)) != OK) { in read()
851 const size_t availToRead = mDataMQ->availableToRead(); in read()
852 if (!mDataMQ->read(static_cast<uint8_t*>(buffer), std::min(bytes, availToRead))) { in read()
953 mDataMQ = std::move(tempDataMQ); in prepareForReading()
DStreamHalHidl.h204 std::unique_ptr<DataMQ> mDataMQ; variable
260 std::unique_ptr<DataMQ> mDataMQ; variable