/system/bt/stack/a2dp/ |
D | a2dp_sbc.cc | 851 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 855 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 873 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigSbcSource() 876 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 879 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 882 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 999 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 1004 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 1009 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 1014 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 469 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAptxHd() 472 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAptxHd() 590 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 595 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 610 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 614 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 621 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 810 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() 811 switch (codec_user_config_.channel_mode) { in setCodecConfig() 815 codec_capability_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig() [all …]
|
D | a2dp_vendor_aptx.cc | 451 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAptx() 454 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAptx() 572 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 577 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 592 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 596 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 603 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 790 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() 791 switch (codec_user_config_.channel_mode) { in setCodecConfig() 795 codec_capability_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac.cc | 655 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 658 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 689 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigLdacSource() 692 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigLdacSource() 695 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigLdacSource() 891 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 896 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 901 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 916 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 920 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() [all …]
|
D | a2dp_aac.cc | 766 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 768 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 793 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAacSource() 796 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAacSource() 970 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 975 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 990 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 994 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 1001 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 1268 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac_decoder.cc | 71 int32_t channel_mode); 89 uint8_t channel_mode; member 255 int32_t channel_mode; in a2dp_vendor_ldac_decoder_configure() local 265 channel_mode = A2DP_VendorGetChannelModeCodeLdac(p_codec_info); in a2dp_vendor_ldac_decoder_configure() 268 __func__, sample_rate, bits_per_sample, channel_mode); in a2dp_vendor_ldac_decoder_configure() 272 bits_per_sample, channel_mode); in a2dp_vendor_ldac_decoder_configure()
|
D | a2dp_vendor_ldac_encoder.cc | 70 int eqmid, int channel_mode, 119 uint8_t channel_mode; member 391 p_encoder_params->channel_mode = in a2dp_vendor_ldac_encoder_update() 485 __func__, p_encoder_params->sample_rate, p_encoder_params->channel_mode, in a2dp_vendor_ldac_encoder_update() 494 p_encoder_params->channel_mode, p_encoder_params->pcm_fmt, in a2dp_vendor_ldac_encoder_update()
|
D | a2dp_codec_config.cc | 324 (codec_config.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE) && in isCodecConfigEmpty() 369 (saved_codec_config.channel_mode != new_codec_config.channel_mode)) { in setCodecUserConfig() 405 (codec_config.channel_mode != BTAV_A2DP_CODEC_CHANNEL_MODE_NONE); in codecConfigIsValid() 419 result.append(codecChannelMode2Str(codec_config.channel_mode)); in codecConfig2Str() 980 (codec_capability.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE)) { in getCodecConfigAndCapabilities()
|
D | a2dp_aac_encoder.cc | 51 uint8_t channel_mode; member 228 p_encoder_params->channel_mode = A2DP_GetChannelModeCodeAac(p_codec_info); in a2dp_aac_encoder_update() 255 p_encoder_params->sample_rate, p_encoder_params->channel_mode); in a2dp_aac_encoder_update()
|
/system/bt/service/common/bluetooth/ |
D | a2dp_codec_config.cc | 25 int channel_mode, int64_t codec_specific_1, in A2dpCodecConfig() argument 33 channel_mode_(channel_mode), in A2dpCodecConfig()
|
D | a2dp_codec_config.h | 29 int bits_per_sample, int channel_mode, 38 int channel_mode() const { return channel_mode_; } in channel_mode() function
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 204 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 207 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 224 reinterpret_cast<const uint8_t*>(&codec_config.channel_mode), in btif_a2dp_recv_ctrl_data() 236 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in btif_a2dp_recv_ctrl_data() 245 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 266 reinterpret_cast<uint8_t*>(&codec_config.channel_mode), in btif_a2dp_recv_ctrl_data() 278 codec_config.channel_mode); in btif_a2dp_recv_ctrl_data()
|
D | btif_a2dp_audio_interface.cc | 265 codec_config.channel_mode; in btif_a2dp_get_codec_configuration()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid_audio_source.cc | 212 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 213 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 224 reinterpret_cast<const uint8_t*>(&codec_config.channel_mode), in hearing_aid_recv_ctrl_data() 236 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in hearing_aid_recv_ctrl_data() 246 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in hearing_aid_recv_ctrl_data() 267 reinterpret_cast<uint8_t*>(&codec_config.channel_mode), in hearing_aid_recv_ctrl_data() 277 << "channel_mode=" << codec_config.channel_mode; in hearing_aid_recv_ctrl_data()
|
/system/bt/include/hardware/ |
D | bt_av.h | 127 btav_a2dp_codec_channel_mode_t channel_mode; member 210 (channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE), in ToString() 213 (channel_mode & BTAV_A2DP_CODEC_CHANNEL_MODE_MONO), in ToString() 216 (channel_mode & BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO), in ToString()
|
/system/bt/gd/l2cap/classic/ |
D | dynamic_channel_configuration_option.h | 39 RetransmissionAndFlowControlMode channel_mode = RetransmissionAndFlowControlMode::L2CAP_BASIC; member
|
D | facade.cc | 139 …configuration_option.channel_mode = (DynamicChannelConfigurationOption::RetransmissionAndFlowContr… in L2capDynamicChannelHelper() 158 …configuration_option.channel_mode = (DynamicChannelConfigurationOption::RetransmissionAndFlowContr… in Connect()
|
/system/bt/service/ |
D | a2dp_source.cc | 60 .channel_mode = in CodecConfigToFluoride() 61 static_cast<btav_a2dp_codec_channel_mode_t>(config.channel_mode()), in CodecConfigToFluoride() 84 config.channel_mode, config.codec_specific_1, in FluorideCodecToCodec()
|
/system/bt/stack/include/ |
D | ldacBT_bco_for_fluoride.h | 146 int32_t channel_mode);
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 525 if (ha_ctrl_receive(common, &codec_config->channel_mode, in ha_read_output_audio_config() 539 if (ha_ctrl_receive(common, &codec_capability->channel_mode, in ha_read_output_audio_config() 594 switch (codec_config->channel_mode) { in ha_read_output_audio_config() 605 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); in ha_read_output_audio_config() 620 codec_config->channel_mode); in ha_read_output_audio_config() 631 codec_config->bits_per_sample, codec_config->channel_mode); in ha_read_output_audio_config() 637 codec_capability->channel_mode); in ha_read_output_audio_config() 652 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in ha_write_output_audio_config() 704 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in ha_write_output_audio_config() 708 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in ha_write_output_audio_config() [all …]
|
/system/bt/audio_hal_interface/ |
D | codec_status.cc | 202 switch (a2dp_codec_config.channel_mode) { in A2dpCodecToHalChannelMode() 231 uint8_t channel_mode = a2dp_offload.codec_info[3] & A2DP_SBC_IE_CH_MD_MSK; in A2dpSbcToHalConfig() local 232 switch (channel_mode) { in A2dpSbcToHalConfig() 246 LOG(ERROR) << __func__ << ": Unknown SBC channel_mode=" << channel_mode; in A2dpSbcToHalConfig() 344 << ": Unknown AAC channel_mode=" << current_codec.channel_mode; in A2dpAacToHalConfig() 396 << ": Unknown aptX channel_mode=" << current_codec.channel_mode; in A2dpAptxToHalConfig()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 544 if (a2dp_ctrl_receive(common, &codec_config->channel_mode, in a2dp_read_output_audio_config() 558 if (a2dp_ctrl_receive(common, &codec_capability->channel_mode, in a2dp_read_output_audio_config() 607 switch (codec_config->channel_mode) { in a2dp_read_output_audio_config() 618 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); in a2dp_read_output_audio_config() 633 codec_config->channel_mode); in a2dp_read_output_audio_config() 644 codec_config->bits_per_sample, codec_config->channel_mode); in a2dp_read_output_audio_config() 650 codec_capability->channel_mode); in a2dp_read_output_audio_config() 665 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in a2dp_write_output_audio_config() 711 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in a2dp_write_output_audio_config() 715 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in a2dp_write_output_audio_config() [all …]
|
/system/bt/gd/l2cap/classic/internal/ |
D | signalling_manager.cc | 348 initial_config_option.channel_mode == in OnConfigurationRequest() 394 switch (initial_config.channel_mode) { in SendInitialConfigRequest() 417 …if (initial_config.channel_mode != DynamicChannelConfigurationOption::RetransmissionAndFlowControl… in SendInitialConfigRequest() 455 if (initial_config_option.channel_mode == in negotiate_configuration() 460 } else if (initial_config_option.channel_mode == in negotiate_configuration()
|
D | link.cc | 136 if (pending_dynamic_channel_connection.configuration_.channel_mode == in SendConnectionRequest() 144 } else if (pending_dynamic_channel_connection.configuration_.channel_mode == in SendConnectionRequest()
|
/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 71 audio_channel_mask_t ChannelModeToAudioFormat(ChannelMode channel_mode) { in ChannelModeToAudioFormat() argument 72 switch (channel_mode) { in ChannelModeToAudioFormat()
|