Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2dp_codec_config.cc50 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()
587 btav_a2dp_codec_index_t codec_index = in init() local
593 auto cp_iter = codec_priorities_.find(codec_index); in init()
603 A2dpCodecConfig::createCodec(codec_index, codec_priority); in init()
[all …]
Da2dp_vendor.cc522 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index) { in A2DP_VendorCodecIndexStr() argument
524 switch (codec_index) { in A2DP_VendorCodecIndexStr()
544 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index, in A2DP_VendorInitCodecConfig() argument
547 switch (codec_index) { in A2DP_VendorInitCodecConfig()
/system/bt/stack/include/
Da2dp_vendor.h190 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index);
196 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index,
Da2dp_aac.h30 A2dpCodecConfigAacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigAacBase() argument
34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigAacBase()
Da2dp_sbc.h30 A2dpCodecConfigSbcBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigSbcBase() argument
34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigSbcBase()
Da2dp_codec_api.h57 btav_a2dp_codec_index_t codec_index,
209 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, const std::string& name,
703 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index);
709 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index,
/system/bt/stack/test/
Dstack_a2dp_test.cc194 btav_a2dp_codec_index_t codec_index = in StackA2dpTest() local
198 switch (codec_index) { in StackA2dpTest()
233 supported_codecs_.insert(codec_index); in StackA2dpTest()
238 bool has_codec_support(btav_a2dp_codec_index_t codec_index) { in has_codec_support() argument
239 return supported_codecs_.find(codec_index) != supported_codecs_.end(); in has_codec_support()
748 btav_a2dp_codec_index_t codec_index = in TEST_F() local
750 EXPECT_STRNE(A2DP_CodecIndexStr(codec_index), "UNKNOWN CODEC INDEX"); in TEST_F()
806 btav_a2dp_codec_index_t codec_index = in TEST_F() local
810 if (!has_codec_support(codec_index)) { in TEST_F()
814 A2dpCodecConfig* codec_config = A2dpCodecConfig::createCodec(codec_index); in TEST_F()
[all …]
/system/bt/bta/include/
Dbta_av_co.h47 bool bta_av_co_audio_init(btav_a2dp_codec_index_t codec_index,
/system/bt/btif/co/
Dbta_av_co.cc489 btav_a2dp_codec_index_t codec_index);
499 btav_a2dp_codec_index_t codec_index);
1760 btav_a2dp_codec_index_t codec_index) { in FindPeerSink() argument
1761 if (codec_index == BTAV_A2DP_CODEC_INDEX_MAX) { in FindPeerSink()
1772 if (peer_codec_index != codec_index) { in FindPeerSink()
1779 __func__, A2DP_CodecIndexStr(codec_index)); in FindPeerSink()
1788 btav_a2dp_codec_index_t codec_index) { in FindPeerSource() argument
1789 if (codec_index == BTAV_A2DP_CODEC_INDEX_MAX) { in FindPeerSource()
1800 if (peer_codec_index != codec_index) { in FindPeerSource()
1807 __func__, A2DP_CodecIndexStr(codec_index)); in FindPeerSource()
[all …]
/system/bt/bta/av/
Dbta_av_main.cc636 btav_a2dp_codec_index_t codec_index = in bta_av_api_register() local
638 if (!(*bta_av_a2dp_cos.init)(codec_index, &avdtp_stream_config.cfg)) { in bta_av_api_register()
641 if (AVDT_CreateStream(p_scb->app_id, &p_scb->seps[codec_index].av_handle, in bta_av_api_register()
646 memcpy(p_scb->seps[codec_index].codec_info, in bta_av_api_register()
648 p_scb->seps[codec_index].tsep = avdtp_stream_config.tsep; in bta_av_api_register()
650 p_scb->seps[codec_index].p_app_sink_data_cback = in bta_av_api_register()
656 p_scb->seps[codec_index].p_app_sink_data_cback = NULL; in bta_av_api_register()
Dbta_av_int.h158 typedef bool (*tBTA_AV_CO_INIT)(btav_a2dp_codec_index_t codec_index,
Dbta_av_aact.cc3219 btav_a2dp_codec_index_t codec_index = in bta_av_offload_codec_builder() local
3223 APPL_TRACE_DEBUG("%s:codec_index = %d", __func__, codec_index); in bta_av_offload_codec_builder()
3224 switch (codec_index) { in bta_av_offload_codec_builder()
/system/bt/bta/ag/
Dbta_ag_sco.cc393 esco_codec_t codec_index = ESCO_CODEC_CVSD; in bta_ag_create_sco() local
398 codec_index = ESCO_CODEC_MSBC_T2; in bta_ag_create_sco()
400 codec_index = ESCO_CODEC_MSBC_T1; in bta_ag_create_sco()
405 enh_esco_params_t params = esco_parameters_for_codec(codec_index); in bta_ag_create_sco()