Searched refs:a2dp_codecs_ (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/stack/test/a2dp/ |
D | a2dp_vendor_ldac_unittest.cc | 68 if (a2dp_codecs_ != nullptr) { in TearDown() 69 delete a2dp_codecs_; in TearDown() 83 a2dp_codecs_ = new A2dpCodecs(std::vector<btav_a2dp_codec_config_t>()); in SetCodecConfig() 85 ASSERT_TRUE(a2dp_codecs_->init()); in SetCodecConfig() 91 a2dp_codecs_->findSourceCodecConfig(kCodecInfoLdacCapability); in SetCodecConfig() 93 ASSERT_TRUE(a2dp_codecs_->setCodecConfig(kCodecInfoLdacCapability, true, in SetCodecConfig() 95 ASSERT_EQ(a2dp_codecs_->getCurrentCodecConfig(), source_codec_config_); in SetCodecConfig() 126 A2dpCodecs* a2dp_codecs_; member in bluetooth::testing::A2dpLdacTest
|
D | a2dp_aac_unittest.cc | 80 if (a2dp_codecs_ != nullptr) { in TearDown() 81 delete a2dp_codecs_; in TearDown() 96 a2dp_codecs_ = new A2dpCodecs(std::vector<btav_a2dp_codec_config_t>()); in SetCodecConfig() 98 ASSERT_TRUE(a2dp_codecs_->init()); in SetCodecConfig() 105 sink_codec_config_ = a2dp_codecs_->findSinkCodecConfig(kCodecInfoAacCapability); in SetCodecConfig() 107 ASSERT_TRUE(a2dp_codecs_->setSinkCodecConfig(kCodecInfoAacCapability, true, in SetCodecConfig() 109 ASSERT_TRUE(a2dp_codecs_->setPeerSinkCodecCapabilities(kCodecInfoAacCapability)); in SetCodecConfig() 114 … ASSERT_TRUE(a2dp_codecs_->setCodecConfig(kCodecInfoAacCapability, true, codec_info_result, true)); in SetCodecConfig() 115 source_codec_config_ = a2dp_codecs_->getCurrentCodecConfig(); in SetCodecConfig() 143 A2dpCodecs* a2dp_codecs_; member in bluetooth::testing::A2dpAacTest [all …]
|
D | a2dp_sbc_unittest.cc | 81 if (a2dp_codecs_ != nullptr) { in TearDown() 82 delete a2dp_codecs_; in TearDown() 97 a2dp_codecs_ = new A2dpCodecs(std::vector<btav_a2dp_codec_config_t>()); in SetCodecConfig() 99 ASSERT_TRUE(a2dp_codecs_->init()); in SetCodecConfig() 106 sink_codec_config_ = a2dp_codecs_->findSinkCodecConfig(kCodecInfoSbcCapability); in SetCodecConfig() 108 ASSERT_TRUE(a2dp_codecs_->setSinkCodecConfig(kCodecInfoSbcCapability, true, in SetCodecConfig() 110 ASSERT_TRUE(a2dp_codecs_->setPeerSinkCodecCapabilities(kCodecInfoSbcCapability)); in SetCodecConfig() 115 … ASSERT_TRUE(a2dp_codecs_->setCodecConfig(kCodecInfoSbcCapability, true, codec_info_result, true)); in SetCodecConfig() 116 source_codec_config_ = a2dp_codecs_->getCurrentCodecConfig(); in SetCodecConfig() 144 A2dpCodecs* a2dp_codecs_; member in bluetooth::testing::A2dpSbcTest [all …]
|
D | a2dp_opus_unittest.cc | 78 if (a2dp_codecs_ != nullptr) { in TearDown() 79 delete a2dp_codecs_; in TearDown() 92 a2dp_codecs_ = new A2dpCodecs(std::vector<btav_a2dp_codec_config_t>()); in SetCodecConfig() 94 ASSERT_TRUE(a2dp_codecs_->init()); in SetCodecConfig() 100 codec_config_ = a2dp_codecs_->findSinkCodecConfig(kCodecInfoOpusCapability); in SetCodecConfig() 102 ASSERT_TRUE(a2dp_codecs_->setSinkCodecConfig(kCodecInfoOpusCapability, true, in SetCodecConfig() 104 ASSERT_EQ(a2dp_codecs_->getCurrentCodecConfig(), codec_config_); in SetCodecConfig() 136 A2dpCodecs* a2dp_codecs_; member in bluetooth::testing::A2dpOpusTest
|