Home
last modified time | relevance | path

Searched refs:codec_spec_conf (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcast_configuration_provider.h41 codec_spec_conf::kLeAudioSamplingFreq16000Hz),
43 codec_spec_conf::kLeAudioCodecFrameDur10000us),
61 codec_spec_conf::kLeAudioSamplingFreq16000Hz),
63 codec_spec_conf::kLeAudioCodecFrameDur10000us),
81 codec_spec_conf::kLeAudioSamplingFreq24000Hz),
83 codec_spec_conf::kLeAudioCodecFrameDur10000us),
101 codec_spec_conf::kLeAudioSamplingFreq48000Hz),
103 codec_spec_conf::kLeAudioCodecFrameDur7500us),
121 codec_spec_conf::kLeAudioSamplingFreq48000Hz),
123 codec_spec_conf::kLeAudioCodecFrameDur10000us),
[all …]
Dbroadcaster_types.h220 if (!cfg.Find(codec_spec_conf::kLeAudioLtvTypeAudioChannelAllocation)) { in GetBisCodecSpecData()
223 cfg.Add(codec_spec_conf::kLeAudioLtvTypeAudioChannelAllocation, in GetBisCodecSpecData()
224 codec_spec_conf::kLeAudioLocationFrontLeft); in GetBisCodecSpecData()
227 cfg.Add(codec_spec_conf::kLeAudioLtvTypeAudioChannelAllocation, in GetBisCodecSpecData()
228 codec_spec_conf::kLeAudioLocationFrontRight); in GetBisCodecSpecData()
Dbroadcaster_test.cc1052 codec_spec_conf::kLeAudioSamplingFreq16000Hz),
1054 codec_spec_conf::kLeAudioCodecFrameDur10000us),
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevices.cc95 if (audio_location_ulong & codec_spec_conf::kLeAudioLocationFrontLeft) in GetFirstLeft()
96 return codec_spec_conf::kLeAudioLocationFrontLeft; in GetFirstLeft()
98 if (audio_location_ulong & codec_spec_conf::kLeAudioLocationBackLeft) in GetFirstLeft()
99 return codec_spec_conf::kLeAudioLocationBackLeft; in GetFirstLeft()
101 if (audio_location_ulong & codec_spec_conf::kLeAudioLocationFrontLeftOfCenter) in GetFirstLeft()
102 return codec_spec_conf::kLeAudioLocationFrontLeftOfCenter; in GetFirstLeft()
104 if (audio_location_ulong & codec_spec_conf::kLeAudioLocationSideLeft) in GetFirstLeft()
105 return codec_spec_conf::kLeAudioLocationSideLeft; in GetFirstLeft()
107 if (audio_location_ulong & codec_spec_conf::kLeAudioLocationTopFrontLeft) in GetFirstLeft()
108 return codec_spec_conf::kLeAudioLocationTopFrontLeft; in GetFirstLeft()
[all …]
Ddevices_test.cc74 {codec_spec_conf::kLeAudioLtvTypeSamplingFreq,
75 UINT8_TO_VEC_UINT8(codec_spec_conf::kLeAudioSamplingFreq16000Hz)},
87 {codec_spec_conf::kLeAudioLtvTypeSamplingFreq,
88 UINT8_TO_VEC_UINT8(codec_spec_conf::kLeAudioSamplingFreq32000Hz)},
317 return ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq8000Hz; in GetSamplingFrequency()
320 return ::bluetooth::le_audio::codec_spec_conf:: in GetSamplingFrequency()
324 return ::bluetooth::le_audio::codec_spec_conf:: in GetSamplingFrequency()
328 return ::bluetooth::le_audio::codec_spec_conf:: in GetSamplingFrequency()
332 return ::bluetooth::le_audio::codec_spec_conf:: in GetSamplingFrequency()
341 return ::bluetooth::le_audio::codec_spec_conf:: in GetSamplingFrequency()
[all …]
Dle_audio_client_test.cc3001 1, test_address0, codec_spec_conf::kLeAudioLocationStereo, in TEST_F()
3002 codec_spec_conf::kLeAudioLocationStereo, default_channel_cnt, in TEST_F()
3067 1, test_address0, codec_spec_conf::kLeAudioLocationStereo, in TEST_F()
3068 codec_spec_conf::kLeAudioLocationStereo, default_channel_cnt, in TEST_F()
3084 1, test_address0, codec_spec_conf::kLeAudioLocationStereo, in TEST_F()
3085 codec_spec_conf::kLeAudioLocationStereo, default_channel_cnt, in TEST_F()
3102 conn_id, test_address0, codec_spec_conf::kLeAudioLocationStereo, in TEST_F()
3103 codec_spec_conf::kLeAudioLocationStereo, default_channel_cnt, in TEST_F()
3119 1, test_address0, codec_spec_conf::kLeAudioLocationStereo, in TEST_F()
3120 codec_spec_conf::kLeAudioLocationStereo, default_channel_cnt, in TEST_F()
[all …]
Dle_audio_types_test.cc303 codec_spec_conf::kLeAudioSamplingFreq8000Hz)); in TEST()
305 codec_spec_conf::kLeAudioSamplingFreq11025Hz)); in TEST()
307 codec_spec_conf::kLeAudioSamplingFreq16000Hz)); in TEST()
309 codec_spec_conf::kLeAudioSamplingFreq22050Hz)); in TEST()
311 codec_spec_conf::kLeAudioSamplingFreq24000Hz)); in TEST()
313 codec_spec_conf::kLeAudioSamplingFreq32000Hz)); in TEST()
315 codec_spec_conf::kLeAudioSamplingFreq44100Hz)); in TEST()
317 codec_spec_conf::kLeAudioSamplingFreq48000Hz)); in TEST()
319 codec_spec_conf::kLeAudioSamplingFreq88200Hz)); in TEST()
321 codec_spec_conf::kLeAudioSamplingFreq96000Hz)); in TEST()
[all …]
Dle_audio_types.h109 namespace codec_spec_conf {
209 codec_spec_conf::kLeAudioLtvTypeSamplingFreq;
211 codec_spec_conf::kLeAudioLtvTypeFrameDuration;
213 codec_spec_conf::kLeAudioLtvTypeAudioChannelAllocation;
215 codec_spec_conf::kLeAudioLtvTypeOctetsPerCodecFrame;
217 codec_spec_conf::kLeAudioLtvTypeCodecFrameBlocksPerSdu;
221 SamplingFreqConfig2Capability(codec_spec_conf::kLeAudioSamplingFreq8000Hz);
223 SamplingFreqConfig2Capability(codec_spec_conf::kLeAudioSamplingFreq11025Hz);
225 SamplingFreqConfig2Capability(codec_spec_conf::kLeAudioSamplingFreq16000Hz);
227 SamplingFreqConfig2Capability(codec_spec_conf::kLeAudioSamplingFreq22050Hz);
[all …]
Dle_audio_types.cc214 {codec_spec_conf::kLeAudioSamplingFreq8000Hz,
216 {codec_spec_conf::kLeAudioSamplingFreq16000Hz,
218 {codec_spec_conf::kLeAudioSamplingFreq24000Hz,
220 {codec_spec_conf::kLeAudioSamplingFreq32000Hz,
222 {codec_spec_conf::kLeAudioSamplingFreq44100Hz,
224 {codec_spec_conf::kLeAudioSamplingFreq48000Hz,
230 codec_spec_conf::kLeAudioSamplingFreq8000Hz},
232 codec_spec_conf::kLeAudioSamplingFreq16000Hz},
234 codec_spec_conf::kLeAudioSamplingFreq24000Hz},
236 codec_spec_conf::kLeAudioSamplingFreq32000Hz},
[all …]
Dcodec_manager_test.cc255 codec_spec_conf::kLeAudioSamplingFreq16000Hz),
256 LTV_ENTRY_FRAME_DURATION(codec_spec_conf::kLeAudioCodecFrameDur10000us),
258 codec_spec_conf::kLeAudioLocationStereo),
268 codec_spec_conf::kLeAudioSamplingFreq24000Hz),
269 LTV_ENTRY_FRAME_DURATION(codec_spec_conf::kLeAudioCodecFrameDur10000us),
271 codec_spec_conf::kLeAudioLocationStereo),
281 codec_spec_conf::kLeAudioSamplingFreq32000Hz),
282 LTV_ENTRY_FRAME_DURATION(codec_spec_conf::kLeAudioCodecFrameDur10000us),
284 codec_spec_conf::kLeAudioLocationStereo),
294 codec_spec_conf::kLeAudioSamplingFreq48000Hz),
[all …]
Dclient_parser_test.cc554 types::AudioLocations locations = codec_spec_conf::kLeAudioLocationNotAllowed; in TEST()
569 types::AudioLocations locations = codec_spec_conf::kLeAudioLocationNotAllowed; in TEST()
769 ASSERT_EQ(codec_configured_state_params.codec_spec_conf.size(), 0u); in TEST()
831 ASSERT_EQ(codec_configured_state_params.codec_spec_conf.size(), 5u); in TEST()
832 ASSERT_EQ(codec_configured_state_params.codec_spec_conf[0], 0x0Au); in TEST()
833 ASSERT_EQ(codec_configured_state_params.codec_spec_conf[1], 0x0Bu); in TEST()
834 ASSERT_EQ(codec_configured_state_params.codec_spec_conf[2], 0x0Cu); in TEST()
835 ASSERT_EQ(codec_configured_state_params.codec_spec_conf[3], 0x0Du); in TEST()
836 ASSERT_EQ(codec_configured_state_params.codec_spec_conf[4], 0x0Eu); in TEST()
1168 .Add(codec_spec_conf::kLeAudioLtvTypeSamplingFreq, (uint8_t)0x10) in TEST()
[all …]
Dcodec_manager.cc620 codec_params.Add(codec_spec_conf::kLeAudioLtvTypeSamplingFreq, in GetBroadcastConfig()
627 codec_params.Add(codec_spec_conf::kLeAudioLtvTypeFrameDuration, in GetBroadcastConfig()
631 codec_params.Add(codec_spec_conf::kLeAudioLtvTypeOctetsPerCodecFrame, in GetBroadcastConfig()
704 conn_handle[0], codec_spec_conf::kLeAudioLocationFrontLeft}; in UpdateBroadcastConnHandle()
706 conn_handle[1], codec_spec_conf::kLeAudioLocationFrontRight}; in UpdateBroadcastConnHandle()
710 conn_handle[0], codec_spec_conf::kLeAudioLocationFrontCenter}; in UpdateBroadcastConnHandle()
727 if ((allocation & codec_spec_conf::kLeAudioLocationAnyLeft) && in AdjustAllocationForOffloader()
728 (allocation & codec_spec_conf::kLeAudioLocationAnyRight)) { in AdjustAllocationForOffloader()
729 return codec_spec_conf::kLeAudioLocationStereo; in AdjustAllocationForOffloader()
731 if (allocation & codec_spec_conf::kLeAudioLocationAnyLeft) { in AdjustAllocationForOffloader()
[all …]
Dle_audio_utils.cc370 for (uint8_t freq_bit = codec_spec_conf::kLeAudioSamplingFreq8000Hz; in fillRemotePacsCapabitiliesToBtLeAudioCodecConfig()
371 freq_bit <= codec_spec_conf::kLeAudioSamplingFreq384000Hz; freq_bit++) { in fillRemotePacsCapabitiliesToBtLeAudioCodecConfig()
373 for (uint8_t fd_bit = codec_spec_conf::kLeAudioCodecFrameDur7500us; in fillRemotePacsCapabitiliesToBtLeAudioCodecConfig()
374 fd_bit <= codec_spec_conf::kLeAudioCodecFrameDur10000us; fd_bit++) { in fillRemotePacsCapabitiliesToBtLeAudioCodecConfig()
Ddevice_groups.cc840 (codec_spec_conf::kLeAudioLocationFrontLeft | in GetAudioSetConfigurationRequirements()
841 codec_spec_conf::kLeAudioLocationFrontRight); in GetAudioSetConfigurationRequirements()
845 codec_spec_conf::kLeAudioLtvTypeAudioChannelAllocation, in GetAudioSetConfigurationRequirements()
936 codec_spec_conf::kLeAudioLocationNotAllowed; in ReloadAudioLocations()
938 codec_spec_conf::kLeAudioLocationNotAllowed; in ReloadAudioLocations()
1045 codec_spec_conf::kLeAudioLocationAnyLeft) || in GetGroupSinkStrategy()
1047 codec_spec_conf::kLeAudioLocationAnyRight)) { in GetGroupSinkStrategy()
1360 codec_spec_conf::kLeAudioLocationAnyLeft) && in CheckIfStrategySupported()
1362 codec_spec_conf::kLeAudioLocationAnyRight)) in CheckIfStrategySupported()
1368 codec_spec_conf::kLeAudioLocationAnyLeft) || in CheckIfStrategySupported()
[all …]
Dclient_parser.cc174 rsp.codec_spec_conf = in ParseAseStatusCodecConfiguredStateParams()
190 base::HexEncode(rsp.codec_spec_conf.data(), rsp.codec_spec_conf.size())); in ParseAseStatusCodecConfiguredStateParams()
Dclient_parser.h114 std::vector<uint8_t> codec_spec_conf; member
Dstate_machine_test.cc253 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLocationFrontLeft |
254 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLocationFrontRight;
256 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLocationFrontLeft |
257 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLocationFrontRight;
789 std::vector<uint8_t> notif_value(25 + conf->codec_spec_conf.size()); in InjectAseStateNotification()
812 UINT8_TO_STREAM(p, conf->codec_spec_conf.size()); in InjectAseStateNotification()
813 memcpy(p, conf->codec_spec_conf.data(), conf->codec_spec_conf.size()); in InjectAseStateNotification()
1181 codec_configured_state_params.codec_spec_conf = in PrepareConfigureCodecHandler()
6430 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLocationFrontLeft; in TEST_F()
6548 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLocationFrontLeft | in TEST_F()
[all …]
Dclient.cc3391 bluetooth::le_audio::codec_spec_conf::kLeAudioLocationAnyLeft) in PrepareAndSendToTwoCises()
3394 bluetooth::le_audio::codec_spec_conf::kLeAudioLocationAnyRight) in PrepareAndSendToTwoCises()
3533 bluetooth::le_audio::codec_spec_conf::kLeAudioLocationAnyLeft) { in HandleIncomingCisData()
3537 bluetooth::le_audio::codec_spec_conf::kLeAudioLocationAnyRight) { in HandleIncomingCisData()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_software_aidl.cc568 {8000, ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq8000Hz},
570 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq16000Hz},
572 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq24000Hz},
574 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq32000Hz},
576 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq44100Hz},
578 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq48000Hz},
580 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq88200Hz},
582 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq96000Hz},
584 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq176400Hz},
586 ::bluetooth::le_audio::codec_spec_conf::kLeAudioSamplingFreq192000Hz}};
[all …]
Dle_audio_utils_unittest.cc315 le_audio::codec_spec_conf::kLeAudioLtvTypeSamplingFreq, in PrepareReferenceCodecSpecificConfigurationLc3()
317 ? le_audio::codec_spec_conf::kLeAudioSamplingFreq24000Hz in PrepareReferenceCodecSpecificConfigurationLc3()
318 : le_audio::codec_spec_conf::kLeAudioSamplingFreq48000Hz)); in PrepareReferenceCodecSpecificConfigurationLc3()
332 le_audio::codec_spec_conf::kLeAudioLtvTypeAudioChannelAllocation, in PrepareReferenceCodecSpecificConfigurationLc3()
333 (uint32_t)((is_left ? le_audio::codec_spec_conf::kLeAudioLocationFrontLeft in PrepareReferenceCodecSpecificConfigurationLc3()
336 ? le_audio::codec_spec_conf::kLeAudioLocationFrontRight in PrepareReferenceCodecSpecificConfigurationLc3()
343 le_audio::codec_spec_conf::kLeAudioLtvTypeFrameDuration, in PrepareReferenceCodecSpecificConfigurationLc3()
344 (uint8_t)le_audio::codec_spec_conf::kLeAudioCodecFrameDur7500us); in PrepareReferenceCodecSpecificConfigurationLc3()
350 le_audio::codec_spec_conf::kLeAudioLtvTypeCodecFrameBlocksPerSdu, in PrepareReferenceCodecSpecificConfigurationLc3()
358 le_audio::codec_spec_conf::kLeAudioLtvTypeOctetsPerCodecFrame, in PrepareReferenceCodecSpecificConfigurationLc3()
[all …]
Dle_audio_utils.cc330 stack_ltv.Add(::bluetooth::le_audio::codec_spec_conf:: in GetStackLeAudioLtvMapFromAidlFormat()
341 ::bluetooth::le_audio::codec_spec_conf::kLeAudioLtvTypeSamplingFreq, in GetStackLeAudioLtvMapFromAidlFormat()
349 ::bluetooth::le_audio::codec_spec_conf:: in GetStackLeAudioLtvMapFromAidlFormat()
357 stack_ltv.Add(::bluetooth::le_audio::codec_spec_conf:: in GetStackLeAudioLtvMapFromAidlFormat()
367 stack_ltv.Add(::bluetooth::le_audio::codec_spec_conf:: in GetStackLeAudioLtvMapFromAidlFormat()