Home
last modified time | relevance | path

Searched refs:ChannelMode (Results 1 – 17 of 17) sorted by relevance

/system/bt/gd/l2cap/internal/
Ddata_pipeline_manager.h62 using ChannelMode = Sender::ChannelMode; variable
64 virtual void AttachChannel(Cid cid, std::shared_ptr<ChannelImpl> channel, ChannelMode mode);
Dsender.cc41 ChannelMode mode) in Sender()
44 if (mode == ChannelMode::BASIC) { in Sender()
47 } else if (mode == ChannelMode::ERTM) { in Sender()
50 } else if (mode == ChannelMode::LE_CREDIT_BASED) { in Sender()
Dsender.h53 enum class ChannelMode { enum
61 ChannelMode mode);
Ddata_pipeline_manager_mock.h36 MOCK_METHOD(void, AttachChannel, (Cid, std::shared_ptr<ChannelImpl>, ChannelMode), (override));
Ddata_pipeline_manager.cc30 void DataPipelineManager::AttachChannel(Cid cid, std::shared_ptr<ChannelImpl> channel, ChannelMode in AttachChannel()
/system/bt/audio_hal_interface/
Dle_audio_software.cc29 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
141 ChannelMode channel_mode, in LeAudioSetSelectedHalPcmConfig()
173 {SampleRate_2_1::RATE_16000, ChannelMode::STEREO,
218 ChannelMode channel_mode, in LeAudioSetSelectedHalPcmConfig()
242 {SampleRate_2_1::RATE_16000, ChannelMode::MONO,
287 ChannelMode channel_mode, in LeAudioSetSelectedHalPcmConfig()
357 static ChannelMode le_audio_channel_mode2audio_hal(uint8_t channels_count) { in le_audio_channel_mode2audio_hal()
360 return ChannelMode::MONO; in le_audio_channel_mode2audio_hal()
362 return ChannelMode::STEREO; in le_audio_channel_mode2audio_hal()
364 return ChannelMode::UNKNOWN; in le_audio_channel_mode2audio_hal()
Dcodec_status.h30 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
40 ChannelMode A2dpCodecToHalChannelMode(
Dcodec_status.cc37 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
95 (static_cast<ChannelMode>(aac_capability.channelMode & in aac_offloading_capability_match()
97 ChannelMode::UNKNOWN) || in aac_offloading_capability_match()
117 (static_cast<ChannelMode>(aptx_capability.channelMode & in aptx_offloading_capability_match()
119 ChannelMode::UNKNOWN) || in aptx_offloading_capability_match()
202 ChannelMode A2dpCodecToHalChannelMode( in A2dpCodecToHalChannelMode()
206 return ChannelMode::MONO; in A2dpCodecToHalChannelMode()
208 return ChannelMode::STEREO; in A2dpCodecToHalChannelMode()
210 return ChannelMode::UNKNOWN; in A2dpCodecToHalChannelMode()
344 if (aac_config.channelMode == ChannelMode::UNKNOWN) { in A2dpAacToHalConfig()
[all …]
Dclient_interface_unittest.cc59 using ::bluetooth::audio::codec::ChannelMode;
113 ChannelMode hal_channel_mode_;
117 {.hal_channel_mode_ = ChannelMode::UNKNOWN,
119 {.hal_channel_mode_ = ChannelMode::MONO,
121 {.hal_channel_mode_ = ChannelMode::STEREO,
237 pcm_config.channelMode != ChannelMode::UNKNOWN); in IsSoftwarePcmParametersSupported()
337 pcm_config.channelMode != ChannelMode::UNKNOWN && in IsSoftwarePcmParameters_2_1_Supported()
448 ChannelMode::MONO in SbcCodecConfigurationsGenerator()
599 (channel_mode_pair.hal_channel_mode_ == ChannelMode::MONO in LdacCodecConfigurationsGenerator()
Dhearing_aid_software_encoding.cc32 using ::bluetooth::audio::ChannelMode;
139 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()
Dclient_interface.h45 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
223 .channelMode = ChannelMode::UNKNOWN,
Da2dp_encoding.cc36 using ::bluetooth::audio::ChannelMode;
312 pcm_config->channelMode != ChannelMode::UNKNOWN); in a2dp_get_selected_hal_pcm_config()
/system/bt/audio_bluetooth_hw/
Ddevice_port_proxy.cc38 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
76 audio_channel_mask_t OutputChannelModeToAudioFormat(ChannelMode channel_mode) { in OutputChannelModeToAudioFormat()
78 case ChannelMode::MONO: in OutputChannelModeToAudioFormat()
80 case ChannelMode::STEREO: in OutputChannelModeToAudioFormat()
87 audio_channel_mask_t InputChannelModeToAudioFormat(ChannelMode channel_mode) { in InputChannelModeToAudioFormat()
89 case ChannelMode::MONO: in InputChannelModeToAudioFormat()
91 case ChannelMode::STEREO: in InputChannelModeToAudioFormat()
313 pcm_cfg.channelMode == ChannelMode::UNKNOWN || in LoadAudioConfig()
353 pcm_cfg.channelMode == ChannelMode::UNKNOWN || in LoadAudioConfig()
/system/bt/gd/l2cap/le/internal/
Dlink.cc160 …ine_manager_.AttachChannel(cid, channel, l2cap::internal::DataPipelineManager::ChannelMode::BASIC); in AllocateFixedChannel()
210 … l2cap::internal::DataPipelineManager::ChannelMode::LE_CREDIT_BASED); in AllocateDynamicChannel()
222 … l2cap::internal::DataPipelineManager::ChannelMode::LE_CREDIT_BASED); in AllocateReservedDynamicChannel()
/system/bt/btif/src/
Dbtif_a2dp_audio_interface.cc54 using android::hardware::bluetooth::a2dp::V1_0::ChannelMode;
260 (::android::hardware::bluetooth::a2dp::V1_0::ChannelMode) in btif_a2dp_get_codec_configuration()
/system/bt/gd/l2cap/classic/internal/
Dlink.cc132 …ine_manager_.AttachChannel(cid, channel, l2cap::internal::DataPipelineManager::ChannelMode::BASIC); in AllocateFixedChannel()
Dsignalling_manager.cc375 …ne_manager_->AttachChannel(cid, channel, l2cap::internal::DataPipelineManager::ChannelMode::BASIC); in OnConfigurationRequest()
580 …ne_manager_->AttachChannel(cid, channel, l2cap::internal::DataPipelineManager::ChannelMode::BASIC); in OnConfigurationResponse()