Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/test/a2dp/
Da2dp_sbc_unittest.cc42 const uint8_t kCodecInfoSbcCapability[AVDT_CODEC_SIZE] = { variable
73 A2DP_GetEncoderInterfaceSbc(kCodecInfoSbcCapability)); in SetUp()
76 A2DP_GetDecoderInterfaceSbc(kCodecInfoSbcCapability)); in SetUp()
103 ASSERT_TRUE(A2DP_IsSinkCodecSupportedSbc(kCodecInfoSbcCapability)); in SetCodecConfig()
104 peer_codec_index = A2DP_SinkCodecIndex(kCodecInfoSbcCapability); 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()
112 for (size_t i = 0; i < kCodecInfoSbcCapability[0] + 1; i++) { in SetCodecConfig()
113 ASSERT_EQ(codec_info_result[i], kCodecInfoSbcCapability[i]); in SetCodecConfig()
[all …]