Home
last modified time | relevance | path

Searched refs:tempDataMQ (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/bluetooth/audio/2.0/default/
DA2dpSoftwareAudioProvider.cpp51 std::unique_ptr<DataMQ> tempDataMQ( in A2dpSoftwareAudioProvider() local
53 if (tempDataMQ && tempDataMQ->isValid()) { in A2dpSoftwareAudioProvider()
54 mDataMQ = std::move(tempDataMQ); in A2dpSoftwareAudioProvider()
57 ALOGE_IF(!tempDataMQ, "failed to allocate data MQ"); in A2dpSoftwareAudioProvider()
58 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in A2dpSoftwareAudioProvider()
DHearingAidAudioProvider.cpp47 std::unique_ptr<DataMQ> tempDataMQ( in HearingAidAudioProvider() local
49 if (tempDataMQ && tempDataMQ->isValid()) { in HearingAidAudioProvider()
50 mDataMQ = std::move(tempDataMQ); in HearingAidAudioProvider()
53 ALOGE_IF(!tempDataMQ, "failed to allocate data MQ"); in HearingAidAudioProvider()
54 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in HearingAidAudioProvider()
/hardware/interfaces/bluetooth/audio/2.1/default/
DHearingAidAudioProvider.cpp49 std::unique_ptr<DataMQ> tempDataMQ( in HearingAidAudioProvider() local
51 if (tempDataMQ && tempDataMQ->isValid()) { in HearingAidAudioProvider()
52 mDataMQ = std::move(tempDataMQ); in HearingAidAudioProvider()
55 ALOGE_IF(!tempDataMQ, "failed to allocate data MQ"); in HearingAidAudioProvider()
56 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in HearingAidAudioProvider()
DA2dpSoftwareAudioProvider.cpp53 std::unique_ptr<DataMQ> tempDataMQ( in A2dpSoftwareAudioProvider() local
55 if (tempDataMQ && tempDataMQ->isValid()) { in A2dpSoftwareAudioProvider()
56 mDataMQ = std::move(tempDataMQ); in A2dpSoftwareAudioProvider()
59 ALOGE_IF(!tempDataMQ, "failed to allocate data MQ"); in A2dpSoftwareAudioProvider()
60 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in A2dpSoftwareAudioProvider()
DLeAudioAudioProvider.cpp165 std::unique_ptr<DataMQ> tempDataMQ( in startSession_2_1() local
167 if (tempDataMQ && tempDataMQ->isValid()) { in startSession_2_1()
168 mDataMQ = std::move(tempDataMQ); in startSession_2_1()
170 ALOGE_IF(!tempDataMQ, "failed to allocate data MQ"); in startSession_2_1()
171 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), "data MQ is invalid"); in startSession_2_1()
/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
DVtsHalBluetoothAudioV2_1TargetTest.cpp421 std::unique_ptr<DataMQ> tempDataMQ; in TEST_P() local
422 auto hidl_cb = [&is_codec_config_valid, &tempDataMQ]( in TEST_P()
428 tempDataMQ.reset(new DataMQ(dataMQ)); in TEST_P()
449 EXPECT_TRUE(tempDataMQ != nullptr && tempDataMQ->isValid()); in TEST_P()
949 std::unique_ptr<DataMQ> tempDataMQ; in TEST_P() local
950 auto hidl_cb = [&is_codec_config_valid, &tempDataMQ]( in TEST_P()
956 tempDataMQ.reset(new DataMQ(dataMQ)); in TEST_P()
977 EXPECT_TRUE(tempDataMQ != nullptr && tempDataMQ->isValid()); in TEST_P()
1037 std::unique_ptr<DataMQ> tempDataMQ; in TEST_P() local
1038 auto hidl_cb = [&is_codec_config_valid, &tempDataMQ]( in TEST_P()
[all …]
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp334 std::unique_ptr<DataMQ> tempDataMQ; in TEST_P() local
335 auto hidl_cb = [&is_codec_config_valid, &tempDataMQ]( in TEST_P()
341 tempDataMQ.reset(new DataMQ(dataMQ)); in TEST_P()
362 EXPECT_TRUE(tempDataMQ != nullptr && tempDataMQ->isValid()); in TEST_P()
851 std::unique_ptr<DataMQ> tempDataMQ; in TEST_P() local
852 auto hidl_cb = [&is_codec_config_valid, &tempDataMQ]( in TEST_P()
858 tempDataMQ.reset(new DataMQ(dataMQ)); in TEST_P()
879 EXPECT_TRUE(tempDataMQ != nullptr && tempDataMQ->isValid()); in TEST_P()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h962 std::unique_ptr<DataMQ> tempDataMQ; in workerInit() local
973 tempDataMQ.reset(new DataMQ(dataMQ)); in workerInit()
975 if (tempDataMQ->isValid() && tempDataMQ->getEventFlagWord()) { in workerInit()
976 EventFlag::createEventFlag(tempDataMQ->getEventFlagWord(), &mEfGroup); in workerInit()
988 if (!tempCommandMQ || !tempCommandMQ->isValid() || !tempDataMQ || !tempDataMQ->isValid() || in workerInit()
993 ALOGE_IF(!tempDataMQ, "Failed to obtain data message queue for writing"); in workerInit()
994 ALOGE_IF(tempDataMQ && !tempDataMQ->isValid(), in workerInit()
1003 mDataMQ = std::move(tempDataMQ); in workerInit()
1166 std::unique_ptr<DataMQ> tempDataMQ; in workerInit() local
1177 tempDataMQ.reset(new DataMQ(dataMQ)); in workerInit()
[all …]
/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp398 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForReading() local
401 if (!tempCommandMQ->isValid() || !tempDataMQ->isValid() || !tempStatusMQ->isValid()) { in prepareForReading()
403 ALOGE_IF(!tempDataMQ->isValid(), "data MQ is invalid"); in prepareForReading()
409 status = EventFlag::createEventFlag(tempDataMQ->getEventFlagWord(), &tempRawEfGroup); in prepareForReading()
420 sp<ReadThread>::make(&mStopReadThread, mStream, tempCommandMQ.get(), tempDataMQ.get(), in prepareForReading()
435 mDataMQ = std::move(tempDataMQ); in prepareForReading()
DStreamOut.cpp384 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForWriting() local
387 if (!tempCommandMQ->isValid() || !tempDataMQ->isValid() || !tempStatusMQ->isValid()) { in prepareForWriting()
389 ALOGE_IF(!tempDataMQ->isValid(), "data MQ is invalid"); in prepareForWriting()
395 status = EventFlag::createEventFlag(tempDataMQ->getEventFlagWord(), &tempRawEfGroup); in prepareForWriting()
406 sp<WriteThread>::make(&mStopWriteThread, mStream, tempCommandMQ.get(), tempDataMQ.get(), in prepareForWriting()
421 mDataMQ = std::move(tempDataMQ); in prepareForWriting()
/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession.cpp170 std::unique_ptr<DataMQ> tempDataMQ; in UpdateDataPath() local
171 tempDataMQ.reset(new DataMQ(*dataMQ)); in UpdateDataPath()
172 if (!tempDataMQ || !tempDataMQ->isValid()) { in UpdateDataPath()
176 mDataMQ = std::move(tempDataMQ); in UpdateDataPath()