Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp354 std::unique_ptr<CommandMQ> tempCommandMQ(new CommandMQ(1)); in prepareForReading() local
372 if (!tempCommandMQ->isValid() || !tempDataMQ->isValid() || !tempStatusMQ->isValid()) { in prepareForReading()
373 ALOGE_IF(!tempCommandMQ->isValid(), "command MQ is invalid"); in prepareForReading()
391 std::make_unique<ReadThread>(&mStopReadThread, mStream, tempCommandMQ.get(), in prepareForReading()
405 mCommandMQ = std::move(tempCommandMQ); in prepareForReading()
DStreamOut.cpp338 std::unique_ptr<CommandMQ> tempCommandMQ(new CommandMQ(1)); in prepareForWriting() local
355 if (!tempCommandMQ->isValid() || !tempDataMQ->isValid() || !tempStatusMQ->isValid()) { in prepareForWriting()
356 ALOGE_IF(!tempCommandMQ->isValid(), "command MQ is invalid"); in prepareForWriting()
374 std::make_unique<WriteThread>(&mStopWriteThread, mStream, tempCommandMQ.get(), in prepareForWriting()
388 mCommandMQ = std::move(tempCommandMQ); in prepareForWriting()