/system/bt/stack/a2dp/ |
D | a2dp_codec_config.cc | 53 codec_config->codec_type = codec_index; in init_btav_a2dp_codec_config() 154 tA2DP_CODEC_TYPE codec_type = A2DP_GetCodecType(p_codec_info); in getTrackBitRate() local 156 LOG_VERBOSE(LOG_TAG, "%s: codec_type = 0x%x", __func__, codec_type); in getTrackBitRate() 158 switch (codec_type) { in getTrackBitRate() 169 LOG_ERROR(LOG_TAG, "%s: unsupported codec type 0x%x", __func__, codec_type); in getTrackBitRate() 187 tA2DP_CODEC_TYPE codec_type = A2DP_GetCodecType(codec_config); in getCodecSpecificConfig() local 188 switch (codec_type) { in getCodecSpecificConfig() 401 return (codec_config.codec_type < BTAV_A2DP_CODEC_INDEX_MAX) && in codecConfigIsValid() 542 std::make_pair(config.codec_type, config.codec_priority)); in A2dpCodecs() 736 if (codec_user_config.codec_type < BTAV_A2DP_CODEC_INDEX_MAX) { in setCodecUserConfig() [all …]
|
D | a2dp_vendor_aptx.cc | 124 tA2DP_CODEC_TYPE codec_type; in A2DP_ParseInfoAptx() local 133 codec_type = *p_codec_info++; in A2DP_ParseInfoAptx() 136 codec_type != A2DP_MEDIA_CT_NON_A2DP) { in A2DP_ParseInfoAptx()
|
D | a2dp_vendor_aptx_hd.cc | 135 tA2DP_CODEC_TYPE codec_type; in A2DP_ParseInfoAptxHd() local 144 codec_type = *p_codec_info++; in A2DP_ParseInfoAptxHd() 147 codec_type != A2DP_MEDIA_CT_NON_A2DP) { in A2DP_ParseInfoAptxHd()
|
D | a2dp_aac.cc | 164 tA2DP_CODEC_TYPE codec_type; in A2DP_ParseInfoAac() local 173 codec_type = *p_codec_info++; in A2DP_ParseInfoAac() 175 if (media_type != AVDT_MEDIA_TYPE_AUDIO || codec_type != A2DP_MEDIA_CT_AAC) { in A2DP_ParseInfoAac()
|
D | a2dp_vendor_ldac.cc | 152 tA2DP_CODEC_TYPE codec_type; in A2DP_ParseInfoLdac() local 161 codec_type = *p_codec_info++; in A2DP_ParseInfoLdac() 164 codec_type != A2DP_MEDIA_CT_NON_A2DP) { in A2DP_ParseInfoLdac()
|
D | a2dp_sbc.cc | 165 tA2DP_CODEC_TYPE codec_type; in A2DP_ParseInfoSbc() local 174 codec_type = *p_codec_info++; in A2DP_ParseInfoSbc() 176 if (media_type != AVDT_MEDIA_TYPE_AUDIO || codec_type != A2DP_MEDIA_CT_SBC) { in A2DP_ParseInfoSbc()
|
/system/bt/service/common/bluetooth/ |
D | a2dp_codec_config.cc | 23 A2dpCodecConfig::A2dpCodecConfig(int codec_type, int codec_priority, in A2dpCodecConfig() argument 29 : codec_type_(codec_type), in A2dpCodecConfig()
|
D | a2dp_codec_config.h | 28 A2dpCodecConfig(int codec_type, int codec_priority, int sample_rate, 34 int codec_type() const { return codec_type_; } in codec_type() function
|
/system/bt/bta/ag/ |
D | bta_ag_act.cc | 802 tBTA_AG_PEER_CODEC codec_type = data.api_setcodec.codec; in bta_ag_setcodec() local 807 if ((codec_type != BTA_AG_CODEC_NONE) && (codec_type != BTA_AG_CODEC_CVSD) && in bta_ag_setcodec() 808 (codec_type != BTA_AG_CODEC_MSBC)) { in bta_ag_setcodec() 809 val.num = codec_type; in bta_ag_setcodec() 812 codec_type); in bta_ag_setcodec() 817 if ((p_scb->peer_codecs & codec_type) || (codec_type == BTA_AG_CODEC_NONE) || in bta_ag_setcodec() 818 (codec_type == BTA_AG_CODEC_CVSD)) { in bta_ag_setcodec() 819 p_scb->sco_codec = codec_type; in bta_ag_setcodec() 821 val.num = codec_type; in bta_ag_setcodec() 823 APPL_TRACE_DEBUG("bta_ag_setcodec: Updated codec type %d", codec_type); in bta_ag_setcodec() [all …]
|
D | bta_ag_cmd.cc | 1251 tBTA_AG_PEER_CODEC codec_type, codec_sent; in bta_ag_at_hfp_cback() local 1257 codec_type = BTA_AG_CODEC_CVSD; in bta_ag_at_hfp_cback() 1260 codec_type = BTA_AG_CODEC_MSBC; in bta_ag_at_hfp_cback() 1264 codec_type = 0xFFFF; in bta_ag_at_hfp_cback() 1273 bta_ag_sco_codec_nego(p_scb, codec_type == codec_sent); in bta_ag_at_hfp_cback()
|
/system/bt/service/ |
D | a2dp_source.cc | 53 .codec_type = static_cast<btav_a2dp_codec_index_t>(config.codec_type()), in CodecConfigToFluoride() 82 A2dpCodecConfig ret(config.codec_type, config.codec_priority, in FluorideCodecToCodec()
|
/system/bt/stack/test/ |
D | stack_a2dp_test.cc | 346 tA2DP_CODEC_TYPE codec_type = A2DP_GetCodecType(codec_info_sbc); in TEST_F() local 347 EXPECT_EQ(codec_type, A2DP_MEDIA_CT_SBC); in TEST_F() 349 codec_type = A2DP_GetCodecType(codec_info_aac); in TEST_F() 350 EXPECT_EQ(codec_type, A2DP_MEDIA_CT_AAC); in TEST_F() 352 codec_type = A2DP_GetCodecType(codec_info_non_a2dp); in TEST_F() 353 EXPECT_EQ(codec_type, A2DP_MEDIA_CT_NON_A2DP); in TEST_F() 436 for (uint8_t codec_type = A2DP_MEDIA_CT_AAC + 1; in TEST_F() local 437 codec_type < A2DP_MEDIA_CT_NON_A2DP; codec_type++) { in TEST_F() 438 codec_info_test[2] = codec_type; // Unknown codec type in TEST_F()
|
/system/bt/include/hardware/ |
D | bt_av.h | 119 btav_a2dp_codec_index_t codec_type; member 136 switch (codec_type) { in ToString()
|
/system/bt/audio_hal_interface/ |
D | a2dp_encoding.cc | 295 switch (current_codec.codec_type) { in a2dp_get_selected_hal_codec_config() 449 if (current_codec.codec_type == BTAV_A2DP_CODEC_INDEX_SOURCE_APTX) { in a2dp_get_selected_hal_codec_config() 536 << ": Unknown codec_type=" << current_codec.codec_type; in a2dp_get_selected_hal_codec_config()
|
/system/bt/btif/src/ |
D | btif_a2dp_audio_interface.cc | 203 switch (codec_config.codec_type) { in btif_a2dp_get_codec_configuration() 241 codec_config.codec_type); in btif_a2dp_get_codec_configuration()
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 3095 UINT32_TO_STREAM(p_param, offload_start->codec_type); in bta_av_vendor_offload_start() 3220 uint32_t codec_type = 0; in bta_av_offload_codec_builder() local 3225 codec_type = BTA_AV_CODEC_TYPE_SBC; in bta_av_offload_codec_builder() 3234 codec_type = BTA_AV_CODEC_TYPE_AAC; in bta_av_offload_codec_builder() 3237 codec_type = BTA_AV_CODEC_TYPE_APTX; in bta_av_offload_codec_builder() 3240 codec_type = BTA_AV_CODEC_TYPE_APTXHD; in bta_av_offload_codec_builder() 3243 codec_type = BTA_AV_CODEC_TYPE_LDAC; in bta_av_offload_codec_builder() 3250 p_a2dp_offload->codec_type = codec_type; in bta_av_offload_codec_builder()
|
D | bta_av_int.h | 622 uint32_t codec_type; /* codec types ex: SBC/AAC/LDAC/APTx */
|
/system/extras/sound/ |
D | playwav.c | 29 uint32_t codec_type; member
|
/system/bt/stack/include/ |
D | btm_api.h | 1110 extern tBTM_STATUS BTM_SetWBSCodec(tBTM_SCO_CODEC_TYPE codec_type);
|
/system/bt/btif/co/ |
D | bta_av_co.cc | 1479 if (codec_user_config.codec_type < BTAV_A2DP_CODEC_INDEX_MAX) { in SetCodecUserConfig() 1480 p_sink = FindPeerSink(p_peer, codec_user_config.codec_type); in SetCodecUserConfig() 1489 codec_user_config.codec_type); in SetCodecUserConfig()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid.cc | 792 uint16_t CalcCompressedAudioPacketSize(uint16_t codec_type, in CalcCompressedAudioPacketSize() argument 798 if (codec_type == CODEC_G722_24KHZ) { in CalcCompressedAudioPacketSize()
|