Home
last modified time | relevance | path

Searched refs:a2dp_codec_config (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_codec_config.cc726 A2dpCodecConfig* a2dp_codec_config = findSourceCodecConfig(p_peer_codec_info); in setCodecConfig() local
727 if (a2dp_codec_config == nullptr) return false; in setCodecConfig()
728 if (!a2dp_codec_config->setCodecConfig(p_peer_codec_info, is_capability, in setCodecConfig()
733 current_codec_config_ = a2dp_codec_config; in setCodecConfig()
743 A2dpCodecConfig* a2dp_codec_config = findSinkCodecConfig(p_peer_codec_info); in setSinkCodecConfig() local
744 if (a2dp_codec_config == nullptr) return false; in setSinkCodecConfig()
745 if (!a2dp_codec_config->setCodecConfig(p_peer_codec_info, is_capability, in setSinkCodecConfig()
750 current_codec_config_ = a2dp_codec_config; in setSinkCodecConfig()
762 A2dpCodecConfig* a2dp_codec_config = nullptr; in setCodecUserConfig() local
773 a2dp_codec_config = iter->second; in setCodecUserConfig()
[all …]
Da2dp_vendor_aptx_hd_encoder.cc89 A2dpCodecConfig* a2dp_codec_config, bool* p_restart_input,
126 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_init() argument
156 a2dp_vendor_aptx_hd_encoder_update(a2dp_codec_config, &restart_input, in a2dp_vendor_aptx_hd_encoder_init()
163 A2dpCodecConfig* a2dp_codec_config, bool* p_restart_input, in a2dp_vendor_aptx_hd_encoder_update() argument
170 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_hd_encoder_update()
172 a2dp_codec_config->name()); in a2dp_vendor_aptx_hd_encoder_update()
183 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_aptx_hd_encoder_update()
Da2dp_vendor_aptx_encoder.cc89 static void a2dp_vendor_aptx_encoder_update(A2dpCodecConfig* a2dp_codec_config,
126 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_init() argument
156 a2dp_vendor_aptx_encoder_update(a2dp_codec_config, &restart_input, in a2dp_vendor_aptx_encoder_init()
162 static void a2dp_vendor_aptx_encoder_update(A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_update() argument
171 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_encoder_update()
173 a2dp_codec_config->name()); in a2dp_vendor_aptx_encoder_update()
183 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_aptx_encoder_update()
Da2dp_vendor_opus_encoder.cc90 A2dpCodecConfig* a2dp_codec_config,
119 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_opus_encoder_init() argument
163 a2dp_codec_config, &restart_input, in a2dp_vendor_opus_encoder_init()
184 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_opus_encoder_update() argument
206 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_opus_encoder_update()
208 a2dp_codec_config->name()); in a2dp_vendor_opus_encoder_update()
212 btav_a2dp_codec_config_t codec_config = a2dp_codec_config->getCodecConfig(); in a2dp_vendor_opus_encoder_update()
219 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_opus_encoder_update()
Da2dp_vendor_ldac_encoder.cc115 static void a2dp_vendor_ldac_encoder_update(A2dpCodecConfig* a2dp_codec_config,
140 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_ldac_encoder_init() argument
164 a2dp_vendor_ldac_encoder_update(a2dp_codec_config, &restart_input, in a2dp_vendor_ldac_encoder_init()
170 static void a2dp_vendor_ldac_encoder_update(A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_ldac_encoder_update() argument
194 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_ldac_encoder_update()
196 a2dp_codec_config->name()); in a2dp_vendor_ldac_encoder_update()
200 btav_a2dp_codec_config_t codec_config = a2dp_codec_config->getCodecConfig(); in a2dp_vendor_ldac_encoder_update()
207 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_ldac_encoder_update()
Da2dp_aac_encoder.cc100 static void a2dp_aac_encoder_update(A2dpCodecConfig* a2dp_codec_config,
125 A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_init() argument
147 a2dp_aac_encoder_update(a2dp_codec_config, &restart_input, &restart_output, in a2dp_aac_encoder_init()
153 static void a2dp_aac_encoder_update(A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_update() argument
177 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_aac_encoder_update()
179 a2dp_codec_config->name()); in a2dp_aac_encoder_update()
188 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_aac_encoder_update()
355 auto bitrate_mode = a2dp_codec_config->getCodecConfig().codec_specific_1; in a2dp_aac_encoder_update()
Da2dp_aac_encoder_linux.cc154 A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_init() argument
158 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_aac_encoder_init()
160 a2dp_codec_config->name()); in a2dp_aac_encoder_init()
174 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_aac_encoder_init()
Da2dp_sbc_encoder.cc106 static void a2dp_sbc_encoder_update(A2dpCodecConfig* a2dp_codec_config,
131 A2dpCodecConfig* a2dp_codec_config, in a2dp_sbc_encoder_init() argument
149 a2dp_sbc_encoder_update(a2dp_codec_config, &restart_input, &restart_output, in a2dp_sbc_encoder_init()
155 static void a2dp_sbc_encoder_update(A2dpCodecConfig* a2dp_codec_config, in a2dp_sbc_encoder_update() argument
172 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_sbc_encoder_update()
174 a2dp_codec_config->name()); in a2dp_sbc_encoder_update()
185 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_sbc_encoder_update()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.h35 const btav_a2dp_codec_config_t& a2dp_codec_config);
37 const btav_a2dp_codec_config_t& a2dp_codec_config);
39 const btav_a2dp_codec_config_t& a2dp_codec_config);
Dcodec_status_aidl.cc176 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalSampleRate() argument
177 switch (a2dp_codec_config.sample_rate) { in A2dpCodecToHalSampleRate()
200 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalBitsPerSample() argument
201 switch (a2dp_codec_config.bits_per_sample) { in A2dpCodecToHalBitsPerSample()
214 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalChannelMode() argument
215 switch (a2dp_codec_config.channel_mode) { in A2dpCodecToHalChannelMode()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.h38 const btav_a2dp_codec_config_t& a2dp_codec_config);
40 const btav_a2dp_codec_config_t& a2dp_codec_config);
42 const btav_a2dp_codec_config_t& a2dp_codec_config);
Dclient_interface_hidl_unittest.cc355 btav_a2dp_codec_config_t a2dp_codec_config = {}; in TEST_F() local
357 a2dp_codec_config.sample_rate = sample_rate_pair.btav_sample_rate_; in TEST_F()
359 a2dp_codec_config.bits_per_sample = in TEST_F()
362 a2dp_codec_config.channel_mode = channel_mode_pair.btav_channel_mode_; in TEST_F()
363 ASSERT_EQ(A2dpCodecToHalSampleRate(a2dp_codec_config), in TEST_F()
365 ASSERT_EQ(A2dpCodecToHalBitsPerSample(a2dp_codec_config), in TEST_F()
367 ASSERT_EQ(A2dpCodecToHalChannelMode(a2dp_codec_config), in TEST_F()
410 btav_a2dp_codec_config_t a2dp_codec_config = {}; in CodecOffloadingPreferenceGenerator() local
412 a2dp_codec_config.codec_type = codec_index; in CodecOffloadingPreferenceGenerator()
419 iter->preference_.push_back(a2dp_codec_config); in CodecOffloadingPreferenceGenerator()
Dcodec_status_hidl.cc172 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalSampleRate() argument
173 switch (a2dp_codec_config.sample_rate) { in A2dpCodecToHalSampleRate()
196 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalBitsPerSample() argument
197 switch (a2dp_codec_config.bits_per_sample) { in A2dpCodecToHalBitsPerSample()
210 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalChannelMode() argument
211 switch (a2dp_codec_config.channel_mode) { in A2dpCodecToHalChannelMode()
/packages/modules/Bluetooth/system/stack/include/
Da2dp_vendor_opus_encoder.h33 A2dpCodecConfig* a2dp_codec_config,
Da2dp_sbc_encoder.h45 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_ldac_encoder.h43 A2dpCodecConfig* a2dp_codec_config,
Da2dp_aac_encoder.h60 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_aptx_encoder.h44 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_aptx_hd_encoder.h41 A2dpCodecConfig* a2dp_codec_config,
Da2dp_codec_api.h523 A2dpCodecConfig* a2dp_codec_config,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_source.cc597 A2dpCodecConfig* a2dp_codec_config = bta_av_get_a2dp_current_codec(); in btif_a2dp_source_setup_codec_delayed() local
598 if (a2dp_codec_config == nullptr) { in btif_a2dp_source_setup_codec_delayed()
604 &peer_params, a2dp_codec_config, btif_a2dp_source_read_callback, in btif_a2dp_source_setup_codec_delayed()
/packages/modules/Bluetooth/system/stack/
DBUILD.gn57 "a2dp/a2dp_codec_config.cc",
DAndroid.bp85 "a2dp/a2dp_codec_config.cc",
1225 "a2dp/a2dp_codec_config.cc",