Home
last modified time | relevance | path

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

/device/google/atv/audio_proxy/service/
DWriteThread.cpp72 const size_t availToRead = mDataMQ->availableToRead(); in doWrite() local
73 if (stream->availableToWrite() < availToRead) { in doWrite()
79 if (mDataMQ->beginRead(availToRead, &tx)) { in doWrite()
84 if (writeStatus.written < availToRead) { in doWrite()
86 << writeStatus.written << ", available " << availToRead; in doWrite()
/device/google/atv/audio_proxy/
DOutputStreamImpl.cpp82 const size_t availToRead = mDataMQ->availableToRead(); in doWrite() local
83 if (availToRead == 0) { in doWrite()
87 if (!mDataMQ->read(&mBuffer[0], availToRead)) { in doWrite()
91 return mStream->write(&mBuffer[0], availToRead); in doWrite()