/system/bt/stack/a2dp/ |
D | a2dp_codec_config.cc | 50 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, in init_btav_a2dp_codec_config() argument 53 codec_config->codec_type = codec_index; in init_btav_a2dp_codec_config() 57 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() argument 60 : codec_index_(codec_index), in A2dpCodecConfig() 107 btav_a2dp_codec_index_t codec_index, in createCodec() argument 109 LOG_DEBUG(LOG_TAG, "%s: codec %s", __func__, A2DP_CodecIndexStr(codec_index)); in createCodec() 112 switch (codec_index) { in createCodec() 597 btav_a2dp_codec_index_t codec_index = in init() local 603 auto cp_iter = codec_priorities_.find(codec_index); in init() 609 if ((codec_index < BTAV_A2DP_CODEC_INDEX_SOURCE_MAX) && in init() [all …]
|
D | a2dp_vendor.cc | 586 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index) { in A2DP_VendorCodecIndexStr() argument 588 switch (codec_index) { in A2DP_VendorCodecIndexStr() 610 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index, in A2DP_VendorInitCodecConfig() argument 613 switch (codec_index) { in A2DP_VendorInitCodecConfig()
|
/system/bt/common/ |
D | metrics_unittest.cc | 188 EXPECT_EQ((a).codec_index, (b).codec_index); \ 223 metrics1.codec_index = -1; in TEST() 224 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_AAC; in TEST() 225 metrics_sum.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_AAC; in TEST() 255 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX; in TEST() 256 metrics_sum.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX; in TEST() 285 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX_HD; in TEST() 286 metrics_sum.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX_HD; in TEST() 580 metrics1.codec_index = -1; in TEST_F() 581 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_AAC; in TEST_F() [all …]
|
D | metrics.cc | 141 if (codec_index < 0) { in Update() 142 codec_index = metrics.codec_index; in Update() 159 codec_index == rhs.codec_index && in operator ==() 239 static A2dpSourceCodec get_a2dp_source_codec(int64_t codec_index) { in get_a2dp_source_codec() argument 240 switch (codec_index) { in get_a2dp_source_codec() 432 get_a2dp_source_codec(pimpl_->a2dp_session_metrics_.codec_index)); in LogA2dpSession()
|
D | metrics.h | 112 int64_t codec_index = -1; variable
|
/system/bt/stack/include/ |
D | a2dp_vendor.h | 196 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index); 202 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index,
|
D | a2dp_codec_api.h | 56 btav_a2dp_codec_index_t codec_index, 208 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, const std::string& name, 306 bool isSupportedCodec(btav_a2dp_codec_index_t codec_index); 712 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index); 718 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index,
|
D | a2dp_vendor_ldac.h | 30 A2dpCodecConfigLdacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigLdacBase() argument 34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigLdacBase()
|
D | a2dp_sbc.h | 30 A2dpCodecConfigSbcBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigSbcBase() argument 34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigSbcBase()
|
D | a2dp_aac.h | 30 A2dpCodecConfigAacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigAacBase() argument 34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigAacBase()
|
/system/bt/stack/test/ |
D | stack_a2dp_test.cc | 195 btav_a2dp_codec_index_t codec_index = in StackA2dpTest() local 199 switch (codec_index) { in StackA2dpTest() 239 supported_codecs_.insert(codec_index); in StackA2dpTest() 244 bool has_codec_support(btav_a2dp_codec_index_t codec_index) { in has_codec_support() argument 245 return supported_codecs_.find(codec_index) != supported_codecs_.end(); in has_codec_support() 754 btav_a2dp_codec_index_t codec_index = in TEST_F() local 756 EXPECT_STRNE(A2DP_CodecIndexStr(codec_index), "UNKNOWN CODEC INDEX"); in TEST_F() 812 btav_a2dp_codec_index_t codec_index = in TEST_F() local 816 if (!has_codec_support(codec_index)) { in TEST_F() 820 A2dpCodecConfig* codec_config = A2dpCodecConfig::createCodec(codec_index); in TEST_F() [all …]
|
/system/bt/btif/include/ |
D | btif_av_co.h | 70 bool bta_av_co_is_supported_codec(btav_a2dp_codec_index_t codec_index);
|
/system/bt/btif/co/ |
D | bta_av_co.cc | 187 bool IsSupportedCodec(btav_a2dp_codec_index_t codec_index); 497 btav_a2dp_codec_index_t codec_index); 507 btav_a2dp_codec_index_t codec_index); 780 bool BtaAvCo::IsSupportedCodec(btav_a2dp_codec_index_t codec_index) { in IsSupportedCodec() argument 785 return codecs->isSupportedCodec(codec_index); in IsSupportedCodec() 1782 btav_a2dp_codec_index_t codec_index) { in FindPeerSink() argument 1783 if (codec_index == BTAV_A2DP_CODEC_INDEX_MAX) { in FindPeerSink() 1794 if (peer_codec_index != codec_index) { in FindPeerSink() 1801 __func__, A2DP_CodecIndexStr(codec_index)); in FindPeerSink() 1810 btav_a2dp_codec_index_t codec_index) { in FindPeerSource() argument [all …]
|
/system/bt/bta/include/ |
D | bta_av_co.h | 47 bool bta_av_co_audio_init(btav_a2dp_codec_index_t codec_index,
|
/system/bt/btif/src/ |
D | btif_a2dp_source.cc | 136 codec_index = -1; in Reset() 166 int codec_index = -1; member in BtifMediaStats 310 if (dst->codec_index < 0) dst->codec_index = src->codec_index; in btif_a2dp_source_accumulate_stats() 780 btif_a2dp_source_cb.stats.codec_index = codec_config->codecIndex(); in btif_a2dp_source_audio_tx_start_event() 1257 metrics.codec_index = stats.codec_index; in btif_a2dp_source_update_metrics()
|
D | btif_a2dp_audio_interface.cc | 103 metrics.codec_index = codec_index_; in StoreMetrics() 124 void SetCodecIndex(int64_t codec_index) { in SetCodecIndex() argument 126 codec_index_ = codec_index; in SetCodecIndex()
|
/system/bt/bta/av/ |
D | bta_av_main.cc | 636 btav_a2dp_codec_index_t codec_index = in bta_av_api_register() local 638 if (!bta_av_co_is_supported_codec(codec_index)) { in bta_av_api_register() 641 if (!(*bta_av_a2dp_cos.init)(codec_index, &avdtp_stream_config.cfg)) { in bta_av_api_register() 644 if (AVDT_CreateStream(p_scb->app_id, &p_scb->seps[codec_index].av_handle, in bta_av_api_register() 649 memcpy(p_scb->seps[codec_index].codec_info, in bta_av_api_register() 651 p_scb->seps[codec_index].tsep = avdtp_stream_config.tsep; in bta_av_api_register() 653 p_scb->seps[codec_index].p_app_sink_data_cback = in bta_av_api_register() 659 p_scb->seps[codec_index].p_app_sink_data_cback = NULL; in bta_av_api_register()
|
D | bta_av_int.h | 158 typedef bool (*tBTA_AV_CO_INIT)(btav_a2dp_codec_index_t codec_index,
|
D | bta_av_aact.cc | 3218 btav_a2dp_codec_index_t codec_index = in bta_av_offload_codec_builder() local 3222 APPL_TRACE_DEBUG("%s:codec_index = %d", __func__, codec_index); in bta_av_offload_codec_builder() 3223 switch (codec_index) { in bta_av_offload_codec_builder()
|
/system/bt/bta/ag/ |
D | bta_ag_sco.cc | 402 esco_codec_t codec_index = ESCO_CODEC_CVSD; in bta_ag_create_sco() local 407 codec_index = ESCO_CODEC_MSBC_T2; in bta_ag_create_sco() 409 codec_index = ESCO_CODEC_MSBC_T1; in bta_ag_create_sco() 414 enh_esco_params_t params = esco_parameters_for_codec(codec_index); in bta_ag_create_sco()
|