/hardware/interfaces/bluetooth/audio/2.0/default/ |
D | HearingAidAudioProvider.cpp | 44 : 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()
|
D | A2dpSoftwareAudioProvider.cpp | 44 : 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()
|
D | HearingAidAudioProvider.h | 48 std::unique_ptr<DataMQ> mDataMQ;
|
D | A2dpSoftwareAudioProvider.h | 48 std::unique_ptr<DataMQ> mDataMQ;
|
/hardware/interfaces/bluetooth/audio/2.0/default/session/ |
D | BluetoothAudioSession.cpp | 54 : 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()
|
D | BluetoothAudioSession.h | 90 std::unique_ptr<DataMQ> mDataMQ; variable
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamIn.cpp | 50 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()
|
D | StreamOut.cpp | 51 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/ |
D | StreamIn.h | 128 std::unique_ptr<DataMQ> mDataMQ; member
|
D | StreamOut.h | 150 std::unique_ptr<DataMQ> mDataMQ; member
|