/system/bt/btif/src/ |
D | btif_a2dp_sink.cc | 72 uint8_t codec_info[AVDT_CODEC_SIZE]; member 386 memcpy(p_buf->codec_info, p_codec_info, AVDT_CODEC_SIZE); in btif_a2dp_sink_update_decoder() 551 p_buf->codec_info[1], p_buf->codec_info[2], in btif_a2dp_sink_decoder_update_event() 552 p_buf->codec_info[3], p_buf->codec_info[4], in btif_a2dp_sink_decoder_update_event() 553 p_buf->codec_info[5], p_buf->codec_info[6]); in btif_a2dp_sink_decoder_update_event() 555 int sample_rate = A2DP_GetTrackSampleRate(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() 560 int bits_per_sample = A2DP_GetTrackBitsPerSample(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() 565 int channel_count = A2DP_GetTrackChannelCount(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() 570 int channel_type = A2DP_GetSinkTrackChannelType(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event()
|
D | btif_a2dp_audio_interface.cc | 209 a2dp_offload.codec_info[0]; in btif_a2dp_get_codec_configuration() 211 a2dp_offload.codec_info[0]); in btif_a2dp_get_codec_configuration() 213 a2dp_offload.codec_info[1]; in btif_a2dp_get_codec_configuration() 215 a2dp_offload.codec_info[2]; in btif_a2dp_get_codec_configuration() 237 a2dp_offload.codec_info[6]; in btif_a2dp_get_codec_configuration() 308 CodecConfiguration codec_info; in btif_a2dp_audio_interface_start_session() local 309 btif_a2dp_get_codec_configuration(&codec_info); in btif_a2dp_audio_interface_start_session() 311 btAudio->startSession(host_if, codec_info); in btif_a2dp_audio_interface_start_session()
|
/system/bt/audio_hal_interface/ |
D | a2dp_encoding.cc | 308 uint8_t channel_mode = a2dp_offload.codec_info[3] & A2DP_SBC_IE_CH_MD_MSK; in a2dp_get_selected_hal_codec_config() 329 a2dp_offload.codec_info[0] & A2DP_SBC_IE_BLOCKS_MSK; in a2dp_get_selected_hal_codec_config() 348 uint8_t sub_bands = a2dp_offload.codec_info[0] & A2DP_SBC_IE_SUBBAND_MSK; in a2dp_get_selected_hal_codec_config() 361 a2dp_offload.codec_info[0] & A2DP_SBC_IE_ALLOC_MD_MSK; in a2dp_get_selected_hal_codec_config() 374 sbc_config.minBitpool = a2dp_offload.codec_info[1]; in a2dp_get_selected_hal_codec_config() 375 sbc_config.maxBitpool = a2dp_offload.codec_info[2]; in a2dp_get_selected_hal_codec_config() 392 uint8_t object_type = a2dp_offload.codec_info[0]; in a2dp_get_selected_hal_codec_config() 424 a2dp_offload.codec_info[1] & A2DP_AAC_VARIABLE_BIT_RATE_MASK; in a2dp_get_selected_hal_codec_config() 488 switch (a2dp_offload.codec_info[7]) { in a2dp_get_selected_hal_codec_config() 500 << a2dp_offload.codec_info[7]; in a2dp_get_selected_hal_codec_config() [all …]
|
/system/bt/stack/a2dp/ |
D | a2dp_codec_config.cc | 180 memset(p_a2dp_offload->codec_info, 0, sizeof(p_a2dp_offload->codec_info)); in getCodecSpecificConfig() 190 p_a2dp_offload->codec_info[0] = in getCodecSpecificConfig() 192 p_a2dp_offload->codec_info[1] = codec_config[5]; // Min bit pool in getCodecSpecificConfig() 193 p_a2dp_offload->codec_info[2] = codec_config[6]; // Max bit pool in getCodecSpecificConfig() 194 p_a2dp_offload->codec_info[3] = in getCodecSpecificConfig() 198 p_a2dp_offload->codec_info[0] = codec_config[3]; // object type in getCodecSpecificConfig() 199 p_a2dp_offload->codec_info[1] = codec_config[6]; // VBR | BR in getCodecSpecificConfig() 204 p_a2dp_offload->codec_info[0] = (vendor_id & 0x000000FF); in getCodecSpecificConfig() 205 p_a2dp_offload->codec_info[1] = (vendor_id & 0x0000FF00) >> 8; in getCodecSpecificConfig() 206 p_a2dp_offload->codec_info[2] = (vendor_id & 0x00FF0000) >> 16; in getCodecSpecificConfig() [all …]
|
D | a2dp_vendor_aptx_hd_encoder.cc | 243 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_vendor_aptx_hd_encoder_update() local 248 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_hd_encoder_update() 255 const uint8_t* p_codec_info = codec_info; in a2dp_vendor_aptx_hd_encoder_update()
|
D | a2dp_vendor_aptx_encoder.cc | 243 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_vendor_aptx_encoder_update() local 248 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_encoder_update() 255 const uint8_t* p_codec_info = codec_info; in a2dp_vendor_aptx_encoder_update()
|
D | a2dp_aac_encoder.cc | 184 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_aac_encoder_update() local 203 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_aac_encoder_update() 210 const uint8_t* p_codec_info = codec_info; in a2dp_aac_encoder_update()
|
D | a2dp_vendor_ldac_encoder.cc | 350 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_vendor_ldac_encoder_update() local 366 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_ldac_encoder_update() 373 const uint8_t* p_codec_info = codec_info; in a2dp_vendor_ldac_encoder_update()
|
D | a2dp_sbc_encoder.cc | 190 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_sbc_encoder_update() local 202 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_sbc_encoder_update() 209 const uint8_t* p_codec_info = codec_info; in a2dp_sbc_encoder_update()
|
D | a2dp_aac.cc | 709 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_InitCodecConfigAac() 726 p_cfg->codec_info) == A2DP_SUCCESS; in A2DP_InitCodecConfigAacSink()
|
D | a2dp_vendor_ldac.cc | 625 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_VendorInitCodecConfigLdac() 642 p_cfg->codec_info) == A2DP_SUCCESS; in A2DP_VendorInitCodecConfigLdacSink()
|
D | a2dp_sbc.cc | 828 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_InitCodecConfigSbc() 845 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_InitCodecConfigSbcSink()
|
D | a2dp_vendor_aptx.cc | 429 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_VendorInitCodecConfigAptx()
|
D | a2dp_vendor_aptx_hd.cc | 447 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_VendorInitCodecConfigAptxHd()
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 230 A2DP_CodecTypeEquals(p_scb->seps[i].codec_info, in bta_av_get_scb_handle() 231 p_scb->cfg.codec_info)) { in bta_av_get_scb_handle() 602 A2DP_CodecName(p_scb->cfg.codec_info)); in bta_av_adjust_seps_idx() 606 A2DP_CodecName(p_scb->seps[i].codec_info)); in bta_av_adjust_seps_idx() 608 A2DP_CodecTypeEquals(p_scb->seps[i].codec_info, in bta_av_adjust_seps_idx() 609 p_scb->cfg.codec_info)) { in bta_av_adjust_seps_idx() 983 A2DP_CodecInfoString(p_evt_cfg->codec_info).c_str()); in bta_av_config_ind() 985 memcpy(p_scb->cfg.codec_info, p_evt_cfg->codec_info, AVDT_CODEC_SIZE); in bta_av_config_ind() 1028 p_evt_cfg->codec_info, p_info->seid, in bta_av_config_ind() 1033 p_evt_cfg->codec_info, p_info->seid, in bta_av_config_ind() [all …]
|
D | bta_av_int.h | 308 uint8_t codec_info[AVDT_CODEC_SIZE]; /* codec configuration */ member 384 uint8_t codec_info[AVDT_CODEC_SIZE]; /* Codec info */ member 632 uint8_t codec_info[32]; /* Codec specific information */ variable
|
D | bta_av_main.cc | 649 memcpy(p_scb->seps[codec_index].codec_info, in bta_av_api_register() 650 avdtp_stream_config.cfg.codec_info, AVDT_CODEC_SIZE); in bta_av_api_register() 1446 dprintf(fd, " Codec: %s\n", A2DP_CodecName(sep.codec_info)); in bta_debug_av_dump()
|
D | bta_av_api.cc | 333 memcpy(p_buf->codec_info, p_codec_info, AVDT_CODEC_SIZE); in BTA_AvReconfig()
|
/system/bt/stack/avdt/ |
D | avdt_scb_act.cc | 68 return ((uint32_t)(p_scb->stream_config.cfg.codec_info[1] | in avdt_scb_gen_ssrc() 69 p_scb->stream_config.cfg.codec_info[2])); in avdt_scb_gen_ssrc() 498 memcpy(p_scb->curr_cfg.codec_info, p_scb->req_cfg.codec_info, in avdt_scb_hdl_reconfig_rsp() 575 A2DP_CodecInfoString(p_scb->stream_config.cfg.codec_info).c_str()); in avdt_scb_hdl_setconfig_cmd() 578 A2DP_CodecInfoString(p_data->msg.config_cmd.p_cfg->codec_info).c_str()); in avdt_scb_hdl_setconfig_cmd() 580 if (A2DP_GetCodecType(p_scb->stream_config.cfg.codec_info) == in avdt_scb_hdl_setconfig_cmd() 581 A2DP_GetCodecType(p_cfg->codec_info)) { in avdt_scb_hdl_setconfig_cmd() 975 A2DP_UsesRtpHeader(is_content_protection, p_scb->curr_cfg.codec_info); in avdt_scb_hdl_write_req() 1179 A2DP_CodecInfoString(p_data->msg.config_cmd.p_cfg->codec_info).c_str()); in avdt_scb_snd_reconfig_req() 1201 memcpy(p_scb->curr_cfg.codec_info, p_scb->req_cfg.codec_info, in avdt_scb_snd_reconfig_rsp() [all …]
|
D | avdt_api.cc | 478 A2DP_CodecInfoString(p_cfg->codec_info).c_str()); in AVDT_OpenReq() 1249 A2DP_CodecName(scb.stream_config.cfg.codec_info)); in stack_debug_avdtp_api_dump() 1258 A2DP_CodecName(scb.curr_cfg.codec_info)); in stack_debug_avdtp_api_dump() 1260 A2DP_CodecName(scb.req_cfg.codec_info)); in stack_debug_avdtp_api_dump()
|
D | avdt_msg.cc | 296 len = p_cfg->codec_info[0] + 1; in avdt_msg_bld_cfg() 299 memcpy(*p, p_cfg->codec_info, len); in avdt_msg_bld_cfg() 643 p_cfg->codec_info[0] = elem_len; in avdt_msg_prs_cfg() 644 memcpy(&p_cfg->codec_info[1], p, tmp); in avdt_msg_prs_cfg()
|
/system/bt/stack/include/ |
D | avdt_api.h | 317 : codec_info{}, in AvdtpSepConfig() 329 memset(codec_info, 0, sizeof(codec_info)); in Reset() 340 uint8_t codec_info[AVDT_CODEC_SIZE]; /* Codec capabilities array */ variable
|
/system/bt/hci/include/ |
D | bt_vendor_lib.h | 374 uint8_t codec_info[10]; /* Codec capabilities array */ member
|
/system/bt/stack/test/ |
D | stack_a2dp_test.cc | 771 EXPECT_EQ(avdt_cfg.codec_info[i], codec_info_sbc_capability[i]); in TEST_F() 788 EXPECT_EQ(avdt_cfg.codec_info[i], codec_info_sbc_sink_capability[i]); in TEST_F() 799 EXPECT_EQ(avdt_cfg.codec_info[i], codec_info_aac_capability[i]); in TEST_F()
|
/system/bt/bta/include/ |
D | bta_av_api.h | 349 uint8_t* codec_info; member
|