Home
last modified time | relevance | path

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

12

/aosp12/hardware/interfaces/bluetooth/audio/utils/session/
H A DBluetoothAudioSupportedCodecsDB_2_1.cpp28 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
59 static_cast<ChannelMode>(ChannelMode::MONO | ChannelMode::STEREO),
93 (pcm_config.channelMode != ChannelMode::MONO && in IsSoftwarePcmConfigurationValid_2_1()
94 pcm_config.channelMode != ChannelMode::STEREO)) { in IsSoftwarePcmConfigurationValid_2_1()
H A DBluetoothAudioSupportedCodecsDB.cpp32 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
51 static_cast<ChannelMode>(ChannelMode::MONO | ChannelMode::STEREO),
76 .channelMode = ChannelMode::STEREO,
97 .channelMode = ChannelMode::STEREO,
106 .channelMode = ChannelMode::STEREO,
350 (pcm_config.channelMode != ChannelMode::MONO && in IsSoftwarePcmConfigurationValid()
351 pcm_config.channelMode != ChannelMode::STEREO)) { in IsSoftwarePcmConfigurationValid()
H A DBluetoothAudioSession.h36 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
163 .channelMode = ChannelMode::UNKNOWN,
/aosp12/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
H A DVtsHalBluetoothAudioV2_1TargetTest.cpp45 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
82 constexpr ChannelMode a2dp_channel_modes[3] = {
83 ChannelMode::UNKNOWN, ChannelMode::MONO, ChannelMode::STEREO};
312 pcm_parameters.channelMode != ChannelMode::UNKNOWN && in IsPcmParametersSupported()
333 pcm_parameters.channelMode != ChannelMode::UNKNOWN && in IsPcmParametersSupported_2_1()
567 std::vector<ChannelMode> channel_modes = in GetAacCodecSpecificSupportedList()
662 std::vector<ChannelMode> channel_modes = in GetAptxCodecSpecificSupportedList()
929 static constexpr ChannelMode hearing_aid_channel_modes_[3] = {
930 ChannelMode::UNKNOWN, ChannelMode::MONO, ChannelMode::STEREO};
1016 ChannelMode::UNKNOWN, ChannelMode::MONO, ChannelMode::STEREO};
[all …]
/aosp12/system/bt/audio_hal_interface/
H A 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()
H A 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 …]
H A Dcodec_status.h30 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
40 ChannelMode A2dpCodecToHalChannelMode(
H A 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()
H A Dhearing_aid_software_encoding.cc32 using ::bluetooth::audio::ChannelMode;
139 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()
H A Dclient_interface.h45 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
223 .channelMode = ChannelMode::UNKNOWN,
/aosp12/system/bt/gd/l2cap/internal/
H A 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()
H A Ddata_pipeline_manager.h62 using ChannelMode = Sender::ChannelMode; variable
64 virtual void AttachChannel(Cid cid, std::shared_ptr<ChannelImpl> channel, ChannelMode mode);
H A Dsender.h53 enum class ChannelMode { enum
61 ChannelMode mode);
H A Ddata_pipeline_manager_mock.h36 MOCK_METHOD(void, AttachChannel, (Cid, std::shared_ptr<ChannelImpl>, ChannelMode), (override));
H A Ddata_pipeline_manager.cc30 void DataPipelineManager::AttachChannel(Cid cid, std::shared_ptr<ChannelImpl> channel, ChannelMode in AttachChannel()
/aosp12/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
H A DVtsHalBluetoothAudioV2_0TargetTest.cpp46 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
79 constexpr ChannelMode a2dp_channel_modes[3] = {
80 ChannelMode::UNKNOWN, ChannelMode::MONO, ChannelMode::STEREO};
251 pcm_parameters.channelMode != ChannelMode::UNKNOWN && in IsPcmParametersSupported()
476 std::vector<ChannelMode> channel_modes = in GetAacCodecSpecificSupportedList()
477 ExtractValuesFromBitmask<ChannelMode>(aac_capability.channelMode, 0x03, in GetAacCodecSpecificSupportedList()
567 std::vector<ChannelMode> channel_modes = in GetAptxCodecSpecificSupportedList()
568 ExtractValuesFromBitmask<ChannelMode>(aptx_capability.channelMode, 0x03, in GetAptxCodecSpecificSupportedList()
831 static constexpr ChannelMode hearing_aid_channel_modes_[3] = {
832 ChannelMode::UNKNOWN, ChannelMode::MONO, ChannelMode::STEREO};
/aosp12/system/bt/audio_bluetooth_hw/
H A 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()
/aosp12/hardware/interfaces/bluetooth/audio/2.1/default/
H A DLeAudioAudioProvider.cpp37 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
124 case ChannelMode::MONO: in startSession_2_1()
126 case ChannelMode::STEREO: in startSession_2_1()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothCodecConfig.java160 public @interface ChannelMode {} annotation in BluetoothCodecConfig
175 private final @ChannelMode int mChannelMode;
184 @ChannelMode int channelMode, long codecSpecific1, in BluetoothCodecConfig()
503 public @ChannelMode int getChannelMode() { in getChannelMode()
/aosp12/hardware/interfaces/bluetooth/a2dp/1.0/vts/functional/
H A DVtsHalBluetoothA2dpV1_0TargetTest.cpp35 using ::android::hardware::bluetooth::a2dp::V1_0::ChannelMode;
57 codec.channelMode = ChannelMode::STEREO; in SetUp()
/aosp12/hardware/interfaces/bluetooth/audio/2.0/
H A Dtypes.hal81 enum ChannelMode : uint8_t {
153 ChannelMode channelMode;
176 ChannelMode channelMode;
196 ChannelMode channelMode;
/aosp12/hardware/interfaces/bluetooth/a2dp/1.0/
H A Dtypes.hal51 enum ChannelMode : uint8_t {
64 ChannelMode channelMode;
/aosp12/system/bt/gd/l2cap/le/internal/
H A 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()
/aosp12/hardware/interfaces/bluetooth/audio/2.1/
H A Dtypes.hal20 import @2.0::ChannelMode;
51 ChannelMode channelMode;
/aosp12/system/bt/btif/src/
H A 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()

12