Searched refs:codec_index (Results 1 - 10 of 10) sorted by relevance

/system/bt/stack/include/
H A Da2dp_vendor.h188 // Gets the A2DP vendor codec name for a given |codec_index|.
189 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index);
193 // |codec_index|.
195 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index,
H A Da2dp_codec_api.h52 // Creates a codec entry. The selected codec is defined by |codec_index|,
55 btav_a2dp_codec_index_t codec_index,
182 // Constructor where |codec_index| is the unique index that identifies the
187 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, const std::string& name,
637 // Gets the A2DP codec name for a given |codec_index|.
638 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index);
641 // entry pointed by |p_cfg|. The selected codec is defined by |codec_index|.
643 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index,
/system/bt/stack/a2dp/
H A Da2dp_codec_config.cc41 // |codec_index| and |codec_priority| are the codec type and priority to use
44 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index,
47 codec_config->codec_type = codec_index;
51 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, argument
54 : codec_index_(codec_index),
99 btav_a2dp_codec_index_t codec_index,
101 LOG_DEBUG(LOG_TAG, "%s: codec %s", __func__, A2DP_CodecIndexStr(codec_index));
104 switch (codec_index) {
448 btav_a2dp_codec_index_t codec_index = local
454 auto cp_iter = codec_priorities_.find(codec_index);
43 init_btav_a2dp_codec_config( btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, btav_a2dp_codec_priority_t codec_priority) argument
98 createCodec( btav_a2dp_codec_index_t codec_index, btav_a2dp_codec_priority_t codec_priority) argument
508 btav_a2dp_codec_index_t codec_index = A2DP_SourceCodecIndex(p_codec_info); local
1218 A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index) argument
1236 A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index, tAVDT_CFG* p_cfg) argument
[all...]
H A Da2dp_vendor.cc504 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index) { argument
505 // Add checks based on codec_index
506 switch (codec_index) {
525 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index, argument
527 // Add checks based on codec_index
528 switch (codec_index) {
/system/bt/bta/include/
H A Dbta_av_co.h47 bool bta_av_co_audio_init(btav_a2dp_codec_index_t codec_index,
/system/bt/stack/test/
H A Dstack_a2dp_test.cc194 btav_a2dp_codec_index_t codec_index = local
198 switch (codec_index) {
230 supported_codecs_.insert(codec_index);
235 bool has_codec_support(btav_a2dp_codec_index_t codec_index) { argument
236 return supported_codecs_.find(codec_index) != supported_codecs_.end();
769 btav_a2dp_codec_index_t codec_index = local
771 EXPECT_STRNE(A2DP_CodecIndexStr(codec_index), "UNKNOWN CODEC INDEX");
827 btav_a2dp_codec_index_t codec_index = local
831 if (!has_codec_support(codec_index)) {
835 A2dpCodecConfig* codec_config = A2dpCodecConfig::createCodec(codec_index);
[all...]
/system/bt/bta/av/
H A Dbta_av_main.cc587 btav_a2dp_codec_index_t codec_index = local
589 if (!(*bta_av_a2dp_cos.init)(codec_index, &cs.cfg)) {
592 if (AVDT_CreateStream(&p_scb->seps[codec_index].av_handle, &cs) !=
597 memcpy(p_scb->seps[codec_index].codec_info, cs.cfg.codec_info,
599 p_scb->seps[codec_index].tsep = cs.tsep;
601 p_scb->seps[codec_index].p_app_sink_data_cback =
607 p_scb->seps[codec_index].p_app_sink_data_cback = NULL;
H A Dbta_av_int.h160 typedef bool (*tBTA_AV_CO_INIT)(btav_a2dp_codec_index_t codec_index,
/system/bt/bta/ag/
H A Dbta_ag_sco.cc386 esco_codec_t codec_index = ESCO_CODEC_CVSD; local
391 codec_index = ESCO_CODEC_MSBC_T2;
393 codec_index = ESCO_CODEC_MSBC_T1;
398 enh_esco_params_t params = esco_parameters_for_codec(codec_index);
/system/bt/btif/co/
H A Dbta_av_co.cc224 bool bta_av_co_audio_init(btav_a2dp_codec_index_t codec_index, argument
226 return A2DP_InitCodecConfig(codec_index, p_cfg);

Completed in 122 milliseconds