Home
last modified time | relevance | path

Searched refs:channelMode (Results 1 – 10 of 10) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_vendor_aptx.cc45 uint8_t channelMode; /* STEREO/DUAL/MONO */ member
108 *p_result++ = p_ie->sampleRate | p_ie->channelMode; in A2DP_BuildInfoAptx()
154 p_ie->channelMode = *p_codec_info & 0x0F; in A2DP_ParseInfoAptx()
163 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptx()
171 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptx()
220 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityAptx()
226 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityAptx()
289 (aptx_cie_a.channelMode == aptx_cie_b.channelMode); in A2DP_VendorCodecEqualsAptx()
342 switch (aptx_cie.channelMode) { in A2DP_VendorGetTrackChannelCountAptx()
393 AppendField(&field, (aptx_cie.channelMode == 0), "NONE"); in A2DP_VendorCodecInfoStringAptx()
[all …]
Da2dp_vendor_aptx_hd.cc45 uint8_t channelMode; /* STEREO/DUAL/MONO */ member
115 *p_result++ = p_ie->sampleRate | p_ie->channelMode; in A2DP_BuildInfoAptxHd()
165 p_ie->channelMode = *p_codec_info & 0x0F; in A2DP_ParseInfoAptxHd()
179 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAptxHd()
187 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAptxHd()
238 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityAptxHd()
244 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityAptxHd()
303 (aptx_hd_cie_a.channelMode == aptx_hd_cie_b.channelMode); in A2DP_VendorCodecEqualsAptxHd()
359 switch (aptx_hd_cie.channelMode) { in A2DP_VendorGetTrackChannelCountAptxHd()
410 AppendField(&field, (aptx_hd_cie.channelMode == 0), "NONE"); in A2DP_VendorCodecInfoStringAptxHd()
[all …]
Da2dp_vendor_ldac.cc47 uint8_t channelMode; /* STEREO/DUAL/MONO */ member
135 *p_result = (uint8_t)(p_ie->channelMode & A2DP_LDAC_CHANNEL_MODE_MASK); in A2DP_BuildInfoLdac()
183 p_ie->channelMode = *p_codec_info++ & A2DP_LDAC_CHANNEL_MODE_MASK; in A2DP_ParseInfoLdac()
190 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoLdac()
198 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoLdac()
291 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityLdac()
297 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityLdac()
356 (ldac_cie_a.channelMode == ldac_cie_b.channelMode); in A2DP_VendorCodecEqualsLdac()
458 switch (ldac_cie.channelMode) { in A2DP_VendorGetTrackChannelCountLdac()
481 switch (ldac_cie.channelMode) { in A2DP_VendorGetSinkTrackChannelTypeLdac()
[all …]
Da2dp_aac.cc47 uint8_t channelMode; /* STEREO/MONO */ member
139 if (p_ie->channelMode == 0) return A2DP_INVALID_PARAMS; in A2DP_BuildInfoAac()
140 *p_result++ |= (p_ie->channelMode & A2DP_AAC_CHANNEL_MODE_MASK); in A2DP_BuildInfoAac()
183 p_ie->channelMode = *p_codec_info & A2DP_AAC_CHANNEL_MODE_MASK; in A2DP_ParseInfoAac()
201 if (A2DP_BitsSet(p_ie->channelMode) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoAac()
211 if (A2DP_BitsSet(p_ie->channelMode) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoAac()
285 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityAac()
299 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityAac()
358 (aac_cie_a.channelMode == aac_cie_b.channelMode) && in A2DP_CodecEqualsAac()
431 switch (aac_cie.channelMode) { in A2DP_GetTrackChannelCountAac()
[all …]
/system/bt/audio_hal_interface/
Dclient_interface_unittest.cc115 pcm_config.channelMode != ChannelMode::UNKNOWN); in IsSoftwarePcmParametersSupported()
119 pcm_config.channelMode & pcm_capabilities.channelMode); in IsSoftwarePcmParametersSupported()
144 sbc_config.channelMode & sbc_capability.channelMode && in IsOffloadCodecConfigurationSupported()
161 aac_config.channelMode & aac_capability.channelMode && in IsOffloadCodecConfigurationSupported()
175 ldac_config.channelMode & ldac_capability.channelMode && in IsOffloadCodecConfigurationSupported()
187 aptx_config.channelMode & aptx_capability.channelMode && in IsOffloadCodecConfigurationSupported()
210 pcm_config.channelMode = channel_mode; in TEST_F()
251 .channelMode = (channel_mode == ChannelMode::MONO in TEST_F()
302 .channelMode = channel_mode, in TEST_F()
342 .channelMode = (channel_mode == ChannelMode::MONO in TEST_F()
[all …]
Da2dp_encoding.cc311 sbc_config.channelMode = SbcChannelMode::JOINT_STEREO; in a2dp_get_selected_hal_codec_config()
314 sbc_config.channelMode = SbcChannelMode::STEREO; in a2dp_get_selected_hal_codec_config()
317 sbc_config.channelMode = SbcChannelMode::DUAL; in a2dp_get_selected_hal_codec_config()
320 sbc_config.channelMode = SbcChannelMode::MONO; in a2dp_get_selected_hal_codec_config()
325 sbc_config.channelMode = SbcChannelMode::UNKNOWN; in a2dp_get_selected_hal_codec_config()
417 aac_config.channelMode = a2dp_codec_to_hal_channel_mode(current_codec); in a2dp_get_selected_hal_codec_config()
418 if (aac_config.channelMode == ChannelMode::UNKNOWN) { in a2dp_get_selected_hal_codec_config()
462 aptx_config.channelMode = a2dp_codec_to_hal_channel_mode(current_codec); in a2dp_get_selected_hal_codec_config()
463 if (aptx_config.channelMode == ChannelMode::UNKNOWN) { in a2dp_get_selected_hal_codec_config()
490 ldac_config.channelMode = LdacChannelMode::STEREO; in a2dp_get_selected_hal_codec_config()
[all …]
Dclient_interface.h162 .channelMode = ChannelMode::UNKNOWN};
Dhearing_aid_software_encoding.cc138 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()
/system/bt/audio_bluetooth_hw/
Ddevice_port_proxy.cc277 pcm_cfg.channelMode == ChannelMode::UNKNOWN || in LoadAudioConfig()
283 … (is_stereo_to_mono_ ? AUDIO_CHANNEL_OUT_STEREO : ChannelModeToAudioFormat(pcm_cfg.channelMode)); in LoadAudioConfig()
/system/bt/btif/src/
Dbtif_a2dp_audio_interface.cc263 p_codec_info->channelMode = in btif_a2dp_get_codec_configuration()