Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Da2dp_provider_info_unittest.cc35 using aidl::android::hardware::bluetooth::audio::ChannelMode;
130 std::vector<ChannelMode> channelMode, in CreateTestA2dpCodecInfo()
185 std::vector<ChannelMode>{ChannelMode::MONO, ChannelMode::STEREO, in SetUp()
186 ChannelMode::DUALMONO}, /* channelMode */ in SetUp()
197 std::vector<ChannelMode>{ChannelMode::MONO, ChannelMode::STEREO, in SetUp()
198 ChannelMode::DUALMONO}, /* channelMode */ in SetUp()
208 std::vector<ChannelMode>{ChannelMode::MONO, ChannelMode::STEREO, in SetUp()
209 ChannelMode::DUALMONO}, /* channelMode */ in SetUp()
220 std::vector<ChannelMode>{ChannelMode::MONO, ChannelMode::STEREO, in SetUp()
221 ChannelMode::DUALMONO}, /* channelMode */ in SetUp()
Dcodec_status_aidl.cc45 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
213 ChannelMode A2dpCodecToHalChannelMode( in A2dpCodecToHalChannelMode()
217 return ChannelMode::MONO; in A2dpCodecToHalChannelMode()
219 return ChannelMode::STEREO; in A2dpCodecToHalChannelMode()
221 return ChannelMode::UNKNOWN; in A2dpCodecToHalChannelMode()
349 if (aac_config.channelMode == ChannelMode::UNKNOWN) { in A2dpAacToHalConfig()
397 if (aptx_config.channelMode == ChannelMode::UNKNOWN) { in A2dpAptxToHalConfig()
494 if (opus_config.channelMode == ChannelMode::UNKNOWN) { in A2dpOpusToHalConfig()
501 if (opus_config.channelMode == ChannelMode::STEREO) { in A2dpOpusToHalConfig()
Dcodec_status_aidl.h29 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
38 ChannelMode A2dpCodecToHalChannelMode(
Da2dp_provider_info.cc40 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
411 case ChannelMode::MONO: in CodecCapabilities()
414 case ChannelMode::STEREO: in CodecCapabilities()
417 case ChannelMode::DUALMONO: in CodecCapabilities()
418 case ChannelMode::UNKNOWN: in CodecCapabilities()
Da2dp_encoding_aidl.cc51 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
380 pcm_config->channelMode != ChannelMode::UNKNOWN); in a2dp_get_selected_hal_pcm_config()
764 ChannelMode channel_mode) { in convert_channel_mode()
766 case ChannelMode::MONO: in convert_channel_mode()
768 case ChannelMode::STEREO: in convert_channel_mode()
885 codecParameters.channelMode = ChannelMode::MONO; in get_a2dp_configuration()
888 codecParameters.channelMode = ChannelMode::STEREO; in get_a2dp_configuration()
Dle_audio_software_aidl.cc41 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
54 static ChannelMode le_audio_channel_mode2audio_hal(uint8_t channels_count) { in le_audio_channel_mode2audio_hal()
57 return ChannelMode::MONO; in le_audio_channel_mode2audio_hal()
59 return ChannelMode::STEREO; in le_audio_channel_mode2audio_hal()
61 return ChannelMode::UNKNOWN; in le_audio_channel_mode2audio_hal()
388 std::move(stream_cb), {16000, ChannelMode::STEREO, 16, 0});
486 {16000, ChannelMode::STEREO, 16, 0});
Dhearing_aid_software_encoding_aidl.cc38 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
156 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc41 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
101 (static_cast<ChannelMode>(aac_capability.channelMode & in aac_offloading_capability_match()
103 ChannelMode::UNKNOWN) || in aac_offloading_capability_match()
123 (static_cast<ChannelMode>(aptx_capability.channelMode & in aptx_offloading_capability_match()
125 ChannelMode::UNKNOWN) || in aptx_offloading_capability_match()
209 ChannelMode A2dpCodecToHalChannelMode( in A2dpCodecToHalChannelMode()
213 return ChannelMode::MONO; in A2dpCodecToHalChannelMode()
215 return ChannelMode::STEREO; in A2dpCodecToHalChannelMode()
217 return ChannelMode::UNKNOWN; in A2dpCodecToHalChannelMode()
348 if (aac_config.channelMode == ChannelMode::UNKNOWN) { in A2dpAacToHalConfig()
[all …]
Dle_audio_software_hidl.cc32 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
85 static ChannelMode le_audio_channel_mode2audio_hal(uint8_t channels_count) { in le_audio_channel_mode2audio_hal()
88 return ChannelMode::MONO; in le_audio_channel_mode2audio_hal()
90 return ChannelMode::STEREO; in le_audio_channel_mode2audio_hal()
92 return ChannelMode::UNKNOWN; in le_audio_channel_mode2audio_hal()
294 {SampleRate_2_1::RATE_16000, ChannelMode::STEREO,
375 {SampleRate_2_1::RATE_16000, ChannelMode::MONO,
Dcodec_status_hidl.h31 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
41 ChannelMode A2dpCodecToHalChannelMode(
Dclient_interface_hidl_unittest.cc62 using ::bluetooth::audio::hidl::codec::ChannelMode;
116 ChannelMode hal_channel_mode_;
120 {.hal_channel_mode_ = ChannelMode::UNKNOWN,
122 {.hal_channel_mode_ = ChannelMode::MONO,
124 {.hal_channel_mode_ = ChannelMode::STEREO,
242 pcm_config.channelMode != ChannelMode::UNKNOWN); in IsSoftwarePcmParametersSupported()
342 pcm_config.channelMode != ChannelMode::UNKNOWN && in IsSoftwarePcmParameters_2_1_Supported()
453 ChannelMode::MONO in SbcCodecConfigurationsGenerator()
604 (channel_mode_pair.hal_channel_mode_ == ChannelMode::MONO in LdacCodecConfigurationsGenerator()
Dhearing_aid_software_encoding_hidl.cc42 using ::bluetooth::audio::hidl::ChannelMode;
150 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()
Dclient_interface_hidl.h47 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
223 .channelMode = ChannelMode::UNKNOWN,
/packages/modules/Bluetooth/system/gd/l2cap/internal/
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()
Ddata_pipeline_manager.h62 using ChannelMode = Sender::ChannelMode; variable
64 virtual void AttachChannel(Cid cid, std::shared_ptr<ChannelImpl> channel, ChannelMode mode);
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()
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy_hidl.cc39 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
77 audio_channel_mask_t OutputChannelModeToAudioFormat(ChannelMode channel_mode) { in OutputChannelModeToAudioFormat()
79 case ChannelMode::MONO: in OutputChannelModeToAudioFormat()
81 case ChannelMode::STEREO: in OutputChannelModeToAudioFormat()
88 audio_channel_mask_t InputChannelModeToAudioFormat(ChannelMode channel_mode) { in InputChannelModeToAudioFormat()
90 case ChannelMode::MONO: in InputChannelModeToAudioFormat()
92 case ChannelMode::STEREO: in InputChannelModeToAudioFormat()
564 pcm_cfg.channelMode == ChannelMode::UNKNOWN || in LoadAudioConfig()
604 pcm_cfg.channelMode == ChannelMode::UNKNOWN || in LoadAudioConfig()
Ddevice_port_proxy.cc40 using ::aidl::android::hardware::bluetooth::audio::ChannelMode;
55 audio_channel_mask_t OutputChannelModeToAudioFormat(ChannelMode channel_mode) { in OutputChannelModeToAudioFormat()
57 case ChannelMode::MONO: in OutputChannelModeToAudioFormat()
59 case ChannelMode::STEREO: in OutputChannelModeToAudioFormat()
66 audio_channel_mask_t InputChannelModeToAudioFormat(ChannelMode channel_mode) { in InputChannelModeToAudioFormat()
68 case ChannelMode::MONO: in InputChannelModeToAudioFormat()
70 case ChannelMode::STEREO: in InputChannelModeToAudioFormat()
378 if (pcm_cfg.channelMode == ChannelMode::UNKNOWN) { in LoadAudioConfig()
415 if (pcm_cfg.channelMode == ChannelMode::UNKNOWN) { in LoadAudioConfig()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothCodecConfig.java211 public @interface ChannelMode {} annotation in BluetoothCodecConfig
226 private final @ChannelMode int mChannelMode;
252 @ChannelMode int channelMode, in BluetoothCodecConfig()
288 @ChannelMode int channelMode, in BluetoothCodecConfig()
610 public @ChannelMode int getChannelMode() { in getChannelMode()
907 public @NonNull Builder setChannelMode(@ChannelMode int channelMode) { in setChannelMode()
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_client_interface_fuzzer.cpp62 using ::bluetooth::audio::hidl::codec::ChannelMode;
126 constexpr ChannelMode kChannelModes[] = {
127 ChannelMode::UNKNOWN, ChannelMode::MONO, ChannelMode::STEREO};
DREADME.md44 | `param.channelMode` | 0.`ChannelMode::UNKNOWN` 1.`ChannelMode::MONO` 2.`ChannelMode::STEREO` | V…
/packages/modules/Bluetooth/system/stack/mmc/proto/
Dmmc_config.proto49 enum ChannelMode { enum
75 ChannelMode channel_mode = 7;
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink.cc202 …ine_manager_.AttachChannel(cid, channel, l2cap::internal::DataPipelineManager::ChannelMode::BASIC); in AllocateFixedChannel()
252 … l2cap::internal::DataPipelineManager::ChannelMode::LE_CREDIT_BASED); in AllocateDynamicChannel()
264 … l2cap::internal::DataPipelineManager::ChannelMode::LE_CREDIT_BASED); in AllocateReservedDynamicChannel()

12