Home
last modified time | relevance | path

Searched refs:codec_priority (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_codec_config.cc57 btav_a2dp_codec_priority_t codec_priority) { in init_btav_a2dp_codec_config() argument
60 codec_config->codec_priority = codec_priority; in init_btav_a2dp_codec_config()
65 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfig() argument
69 default_codec_priority_(codec_priority) { in A2dpCodecConfig()
70 setCodecPriority(codec_priority); in A2dpCodecConfig()
92 btav_a2dp_codec_priority_t codec_priority) { in setCodecPriority() argument
93 if (codec_priority == BTAV_A2DP_CODEC_PRIORITY_DEFAULT) { in setCodecPriority()
97 codec_priority_ = codec_priority; in setCodecPriority()
99 codec_config_.codec_priority = codec_priority_; in setCodecPriority()
110 codec_config_.codec_priority = codec_priority_; in setDefaultCodecPriority()
[all …]
Da2dp_vendor_ldac_linux.cc133 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigLdacSource() argument
135 A2DP_VendorCodecIndexStrLdac(), codec_priority, in A2dpCodecConfigLdacSource()
158 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigLdacSink() argument
161 codec_priority, false) {} in A2dpCodecConfigLdacSink()
Da2dp_vendor_opus_linux.cc134 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigOpusSource() argument
136 A2DP_VendorCodecIndexStrOpus(), codec_priority, in A2dpCodecConfigOpusSource()
159 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigOpusSink() argument
162 codec_priority, false) {} in A2dpCodecConfigOpusSink()
Da2dp_vendor_aptx_linux.cc116 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigAptx() argument
118 A2DP_VendorCodecIndexStrAptx(), codec_priority) {} in A2dpCodecConfigAptx()
Da2dp_vendor_aptx_hd_linux.cc117 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigAptxHd() argument
120 codec_priority) {} in A2dpCodecConfigAptxHd()
Da2dp_vendor_opus.cc697 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigOpusSource() argument
699 A2DP_VendorCodecIndexStrOpus(), codec_priority, in A2dpCodecConfigOpusSource()
1307 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigOpusSink() argument
1310 codec_priority, false) {} in A2dpCodecConfigOpusSink()
Da2dp_vendor_ldac.cc662 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigLdacSource() argument
664 A2DP_VendorCodecIndexStrLdac(), codec_priority, in A2dpCodecConfigLdacSource()
1404 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigLdacSink() argument
1407 codec_priority, false) {} in A2dpCodecConfigLdacSink()
Da2dp_aac.cc767 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigAacSource() argument
769 A2DP_CodecIndexStrAac(), codec_priority, true) { in A2dpCodecConfigAacSource()
1493 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigAacSink() argument
1495 A2DP_CodecIndexStrAacSink(), codec_priority, in A2dpCodecConfigAacSink()
Da2dp_sbc.cc862 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigSbcSource() argument
864 A2DP_CodecIndexStrSbc(), codec_priority, true) { in A2dpCodecConfigSbcSource()
1542 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfigSbcSink() argument
1544 A2DP_CodecIndexStrSbcSink(), codec_priority, in A2dpCodecConfigSbcSink()
/packages/modules/Bluetooth/system/stack/include/
Da2dp_vendor_ldac.h37 btav_a2dp_codec_priority_t codec_priority, in A2dpCodecConfigLdacBase() argument
39 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_LDAC, name, codec_priority), in A2dpCodecConfigLdacBase()
52 A2dpCodecConfigLdacSource(btav_a2dp_codec_priority_t codec_priority);
64 A2dpCodecConfigLdacSink(btav_a2dp_codec_priority_t codec_priority);
Da2dp_aac.h36 btav_a2dp_codec_priority_t codec_priority, in A2dpCodecConfigAacBase() argument
38 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_AAC, name, codec_priority), in A2dpCodecConfigAacBase()
51 A2dpCodecConfigAacSource(btav_a2dp_codec_priority_t codec_priority);
63 A2dpCodecConfigAacSink(btav_a2dp_codec_priority_t codec_priority);
Da2dp_vendor_opus.h32 btav_a2dp_codec_priority_t codec_priority, in A2dpCodecConfigOpusBase() argument
34 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_OPUS, name, codec_priority), in A2dpCodecConfigOpusBase()
47 A2dpCodecConfigOpusSource(btav_a2dp_codec_priority_t codec_priority);
63 A2dpCodecConfigOpusSink(btav_a2dp_codec_priority_t codec_priority);
Da2dp_sbc.h37 btav_a2dp_codec_priority_t codec_priority, in A2dpCodecConfigSbcBase() argument
39 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_SBC, name, codec_priority), in A2dpCodecConfigSbcBase()
52 A2dpCodecConfigSbcSource(btav_a2dp_codec_priority_t codec_priority);
64 A2dpCodecConfigSbcSink(btav_a2dp_codec_priority_t codec_priority);
Da2dp_codec_api.h60 btav_a2dp_codec_priority_t codec_priority =
150 void setCodecPriority(btav_a2dp_codec_priority_t codec_priority);
205 btav_a2dp_codec_priority_t codec_priority);
Da2dp_vendor_aptx.h35 A2dpCodecConfigAptx(btav_a2dp_codec_priority_t codec_priority);
Da2dp_vendor_aptx_hd.h35 A2dpCodecConfigAptxHd(btav_a2dp_codec_priority_t codec_priority);
/packages/modules/Bluetooth/system/include/hardware/
Dbt_le_audio.h151 int32_t codec_priority = 0; member
160 if (codec_priority != other.codec_priority) return true;
292 if (codec_priority < -1) { in ToString()
294 "Unknown LE codec priority " + std::to_string(codec_priority); in ToString()
296 codec_priority_str = std::to_string(codec_priority); in ToString()
Dbt_av.h159 codec_priority; // Codec selection priority member
259 " priority: " + std::to_string(codec_priority) + in ToString()
/packages/modules/Bluetooth/system/test/mock/
Dmock_a2dp_codec_config.cc31 btav_a2dp_codec_priority_t codec_priority) { in createCodec() argument
46 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfig() argument
49 default_codec_priority_(codec_priority) { in A2dpCodecConfig()
335 btav_a2dp_codec_priority_t codec_priority) { in setCodecPriority() argument
Dmock_stack_a2dp_codec_config.cc52 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfig() argument
56 default_codec_priority_(codec_priority) { in A2dpCodecConfig()
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/
Dbtav_shim.cc186 .codec_priority = config.codec_priority, in to_rust_codec_config()
200 .codec_priority = static_cast<btav_a2dp_codec_priority_t>(rconfig.codec_priority), in from_rust_codec_config()
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/codec/
Da2dpCodecConfigFuzzFunctions.h40 btav_a2dp_codec_priority_t codec_priority =
44 A2dpCodecConfig::createCodec(codec_index, codec_priority));
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_a2dp.cpp116 (jint)codec_config.codec_type, (jint)codec_config.codec_priority, in bta2dp_audio_config_callback()
131 (jint)cap.codec_type, (jint)cap.codec_priority, (jint)cap.sample_rate, in bta2dp_audio_config_callback()
147 (jint)cap.codec_type, (jint)cap.codec_priority, (jint)cap.sample_rate, in bta2dp_audio_config_callback()
234 .codec_priority = in prepareCodecPreferences()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothCodecConfigTest.java217 int codec_priority = selectCodecPriority(config_id); in testBluetoothCodecConfig_valid_get_methods() local
229 codec_priority, in testBluetoothCodecConfig_valid_get_methods()
268 expect.that(bcc.getCodecPriority()).isEqualTo(codec_priority); in testBluetoothCodecConfig_valid_get_methods()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs202 pub codec_priority: i32, field
288 codec_priority: 0, in default()

12