/system/bt/stack/a2dp/ |
D | a2dp_sbc.cc | 862 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 866 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 884 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigSbcSource() 887 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 890 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 893 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 1010 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 1015 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 1020 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 1025 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() [all …]
|
D | a2dp_vendor_aptx.cc | 458 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAptx() 461 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAptx() 579 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 584 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 599 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 603 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 610 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 799 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() 800 switch (codec_user_config_.channel_mode) { in setCodecConfig() 804 codec_capability_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 476 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAptxHd() 479 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAptxHd() 597 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 602 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 617 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 621 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 628 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 818 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() 819 switch (codec_user_config_.channel_mode) { in setCodecConfig() 823 codec_capability_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac.cc | 663 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 666 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 697 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigLdacSource() 700 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigLdacSource() 703 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigLdacSource() 899 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 904 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 909 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 924 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 928 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() [all …]
|
D | a2dp_aac.cc | 743 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 745 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 769 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAacSource() 772 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAacSource() 946 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 951 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 966 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 970 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 977 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 1236 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac_encoder.cc | 70 int eqmid, int channel_mode, 119 uint8_t channel_mode; member 392 p_encoder_params->channel_mode = in a2dp_vendor_ldac_encoder_update() 488 p_encoder_params->channel_mode, in a2dp_vendor_ldac_encoder_update() 497 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() 983 (codec_capability.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE)) { in getCodecConfigAndCapabilities()
|
D | a2dp_aac_encoder.cc | 50 uint8_t channel_mode; member 226 p_encoder_params->channel_mode = A2DP_GetChannelModeCodeAac(p_codec_info); in a2dp_aac_encoder_update() 254 p_encoder_params->sample_rate, p_encoder_params->channel_mode); in a2dp_aac_encoder_update()
|
D | a2dp_vendor_ldac_decoder.cc | 97 uint8_t channel_mode; member
|
/system/bt/audio_hal_interface/ |
D | client_interface_unittest.cc | 209 for (auto channel_mode : kChannelModes) { in TEST_F() local 210 pcm_config.channelMode = channel_mode; in TEST_F() 239 for (auto channel_mode : kChannelModes) { in TEST_F() local 251 .channelMode = (channel_mode == ChannelMode::MONO in TEST_F() 291 for (auto channel_mode : kChannelModes) { in TEST_F() local 302 .channelMode = channel_mode, in TEST_F() 333 for (auto channel_mode : kChannelModes) { in TEST_F() local 342 .channelMode = (channel_mode == ChannelMode::MONO in TEST_F() 371 for (auto channel_mode : kChannelModes) { in TEST_F() local 378 .channelMode = channel_mode, in TEST_F() [all …]
|
D | a2dp_encoding.cc | 275 switch (a2dp_codec_config.channel_mode) { in a2dp_codec_to_hal_channel_mode() 308 uint8_t channel_mode = a2dp_offload.codec_info[3] & A2DP_SBC_IE_CH_MD_MSK; in a2dp_get_selected_hal_codec_config() local 309 switch (channel_mode) { in a2dp_get_selected_hal_codec_config() 324 << ": Unknown SBC channel_mode=" << channel_mode; in a2dp_get_selected_hal_codec_config() 420 << current_codec.channel_mode; in a2dp_get_selected_hal_codec_config() 465 << current_codec.channel_mode; in a2dp_get_selected_hal_codec_config()
|
/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 | 209 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 210 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 221 reinterpret_cast<const uint8_t*>(&codec_config.channel_mode), in hearing_aid_recv_ctrl_data() 233 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in hearing_aid_recv_ctrl_data() 243 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in hearing_aid_recv_ctrl_data() 264 reinterpret_cast<uint8_t*>(&codec_config.channel_mode), in hearing_aid_recv_ctrl_data() 274 << "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/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/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 526 if (ha_ctrl_receive(common, &codec_config->channel_mode, in ha_read_output_audio_config() 540 if (ha_ctrl_receive(common, &codec_capability->channel_mode, in ha_read_output_audio_config() 595 switch (codec_config->channel_mode) { in ha_read_output_audio_config() 606 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); in ha_read_output_audio_config() 621 codec_config->channel_mode); in ha_read_output_audio_config() 632 codec_config->bits_per_sample, codec_config->channel_mode); in ha_read_output_audio_config() 638 codec_capability->channel_mode); in ha_read_output_audio_config() 653 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in ha_write_output_audio_config() 705 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in ha_write_output_audio_config() 709 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in ha_write_output_audio_config() [all …]
|
/system/bt/stack/include/ |
D | ldacBT_bco_for_fluoride.h | 146 int32_t channel_mode);
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 545 if (a2dp_ctrl_receive(common, &codec_config->channel_mode, in a2dp_read_output_audio_config() 559 if (a2dp_ctrl_receive(common, &codec_capability->channel_mode, in a2dp_read_output_audio_config() 608 switch (codec_config->channel_mode) { in a2dp_read_output_audio_config() 619 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); in a2dp_read_output_audio_config() 634 codec_config->channel_mode); in a2dp_read_output_audio_config() 645 codec_config->bits_per_sample, codec_config->channel_mode); in a2dp_read_output_audio_config() 651 codec_capability->channel_mode); in a2dp_read_output_audio_config() 666 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in a2dp_write_output_audio_config() 712 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in a2dp_write_output_audio_config() 716 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in a2dp_write_output_audio_config() [all …]
|
/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 72 audio_channel_mask_t ChannelModeToAudioFormat(ChannelMode channel_mode) { in ChannelModeToAudioFormat() argument 73 switch (channel_mode) { in ChannelModeToAudioFormat()
|