Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/2.0/default/
DHearingAidAudioProvider.cpp44 : BluetoothAudioProvider(), mDataMQ(nullptr) { in HearingAidAudioProvider()
50 mDataMQ = std::move(tempDataMQ); in HearingAidAudioProvider()
59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid()
91 if (mDataMQ && mDataMQ->isValid()) { in onSessionReady()
93 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
94 _hidl_cb(BluetoothAudioStatus::SUCCESS, *mDataMQ->getDesc()); in onSessionReady()
DA2dpSoftwareAudioProvider.cpp44 : BluetoothAudioProvider(), mDataMQ(nullptr) { in A2dpSoftwareAudioProvider()
50 mDataMQ = std::move(tempDataMQ); in A2dpSoftwareAudioProvider()
59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid()
92 if (mDataMQ && mDataMQ->isValid()) { in onSessionReady()
94 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
95 _hidl_cb(BluetoothAudioStatus::SUCCESS, *mDataMQ->getDesc()); in onSessionReady()
DHearingAidAudioProvider.h48 std::unique_ptr<DataMQ> mDataMQ;
DA2dpSoftwareAudioProvider.h48 std::unique_ptr<DataMQ> mDataMQ;
/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSession.cpp54 : session_type_(session_type), stack_iface_(nullptr), mDataMQ(nullptr) { in BluetoothAudioSession()
150 (mDataMQ != nullptr && mDataMQ->isValid())); in IsSessionReady()
157 mDataMQ = nullptr; in UpdateDataPath()
163 mDataMQ = nullptr; in UpdateDataPath()
166 mDataMQ = std::move(tempDataMQ); in UpdateDataPath()
378 size_t availableToWrite = mDataMQ->availableToWrite(); in OutWritePcmData()
384 if (!mDataMQ->write(static_cast<const uint8_t*>(buffer) + totalWritten, in OutWritePcmData()
DBluetoothAudioSession.h90 std::unique_ptr<DataMQ> mDataMQ; variable
/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp50 mDataMQ(dataMQ), in ReadThread()
55 mBuffer.reset(new (std::nothrow) uint8_t[mDataMQ->getQuantumCount()]); in init()
64 StreamIn::DataMQ* mDataMQ; member in android::hardware::audio::CPP_VERSION::implementation::__anon4123301e0111::ReadThread
78 size_t availableToWrite = mDataMQ->availableToWrite(); in doRead()
91 if (!mDataMQ->write(&mBuffer[0], readResult)) { in doRead()
352 if (mDataMQ) { in prepareForReading()
409 mDataMQ = std::move(tempDataMQ); in prepareForReading()
415 _hidl_cb(Result::OK, *mCommandMQ->getDesc(), *mDataMQ->getDesc(), *mStatusMQ->getDesc(), in prepareForReading()
DStreamOut.cpp51 mDataMQ(dataMQ), in WriteThread()
56 mBuffer.reset(new (std::nothrow) uint8_t[mDataMQ->getQuantumCount()]); in init()
65 StreamOut::DataMQ* mDataMQ; member in android::hardware::audio::CPP_VERSION::implementation::__anon4890291f0111::WriteThread
79 const size_t availToRead = mDataMQ->availableToRead(); in doWrite()
82 if (mDataMQ->read(&mBuffer[0], availToRead)) { in doWrite()
339 if (mDataMQ) { in prepareForWriting()
395 mDataMQ = std::move(tempDataMQ); in prepareForWriting()
401 _hidl_cb(Result::OK, *mCommandMQ->getDesc(), *mDataMQ->getDesc(), *mStatusMQ->getDesc(), in prepareForWriting()
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStreamIn.h128 std::unique_ptr<DataMQ> mDataMQ; member
DStreamOut.h150 std::unique_ptr<DataMQ> mDataMQ; member