Home
last modified time | relevance | path

Searched refs:A2dpCodecConfig (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_a2dp_codec_config.cc29 A2dpCodecConfig* A2dpCodecConfig::createCodec( in createCodec()
35 A2dpCodecConfig* A2dpCodecs::findSinkCodecConfig( in findSinkCodecConfig()
40 A2dpCodecConfig* A2dpCodecs::findSourceCodecConfig( in findSourceCodecConfig()
45 A2dpCodecConfig* A2dpCodecs::findSourceCodecConfig( in findSourceCodecConfig()
50 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() function in A2dpCodecConfig
59 A2dpCodecConfig::~A2dpCodecConfig() { inc_func_call_count(__func__); } in ~A2dpCodecConfig()
130 bool A2dpCodecConfig::codecConfigIsValid( in codecConfigIsValid()
135 bool A2dpCodecConfig::copyOutOtaCodecConfig(uint8_t* /* p_codec_info */) { in copyOutOtaCodecConfig()
139 bool A2dpCodecConfig::getCodecSpecificConfig( in getCodecSpecificConfig()
144 bool A2dpCodecConfig::isCodecConfigEmpty( in isCodecConfigEmpty()
[all …]
Dmock_a2dp_codec_config.cc29 A2dpCodecConfig* A2dpCodecConfig::createCodec( in createCodec()
35 A2dpCodecConfig* A2dpCodecs::findSinkCodecConfig(const uint8_t* p_codec_info) { in findSinkCodecConfig()
39 A2dpCodecConfig* A2dpCodecs::findSourceCodecConfig( in findSourceCodecConfig()
44 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() function in A2dpCodecConfig
52 A2dpCodecConfig::~A2dpCodecConfig() { inc_func_call_count(__func__); } in ~A2dpCodecConfig()
121 bool A2dpCodecConfig::codecConfigIsValid( in codecConfigIsValid()
126 bool A2dpCodecConfig::copyOutOtaCodecConfig(uint8_t* p_codec_info) { in copyOutOtaCodecConfig()
130 bool A2dpCodecConfig::getCodecSpecificConfig(tBT_A2DP_OFFLOAD* p_a2dp_offload) { in getCodecSpecificConfig()
134 bool A2dpCodecConfig::isCodecConfigEmpty( in isCodecConfigEmpty()
139 bool A2dpCodecConfig::isValid() const { in isValid()
[all …]
Dmock_btif_co_bta_av_co.h383 static A2dpCodecConfig* return_value;
384 std::function<A2dpCodecConfig*(void)> body{[](void) { return return_value; }};
385 A2dpCodecConfig* operator()(void) { return body(); }; in operator()
393 static A2dpCodecConfig* return_value;
394 std::function<A2dpCodecConfig*(const RawAddress& peer_address)> body{
396 A2dpCodecConfig* operator()(const RawAddress& peer_address) { in operator()
Dmock_btif_co_bta_av_co.cc85 A2dpCodecConfig* bta_av_get_a2dp_current_codec::return_value = nullptr;
86 A2dpCodecConfig* bta_av_get_a2dp_peer_current_codec::return_value = nullptr;
228 A2dpCodecConfig* bta_av_get_a2dp_current_codec(void) { in bta_av_get_a2dp_current_codec()
232 A2dpCodecConfig* bta_av_get_a2dp_peer_current_codec( in bta_av_get_a2dp_peer_current_codec()
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/codec/
Da2dpCodecConfigFuzzFunctions.h43 std::shared_ptr<A2dpCodecConfig> codec_config(
44 A2dpCodecConfig::createCodec(codec_index, codec_priority));
65 std::shared_ptr<A2dpCodecConfig> codec_config(
76 std::shared_ptr<A2dpCodecConfig> codec_config(
87 std::shared_ptr<A2dpCodecConfig> codec_config(
98 std::shared_ptr<A2dpCodecConfig> codec_config(
110 std::shared_ptr<A2dpCodecConfig> codec_config(
121 std::shared_ptr<A2dpCodecConfig> codec_config(
134 std::shared_ptr<A2dpCodecConfig> codec_config(
145 std::shared_ptr<A2dpCodecConfig> codec_config(
[all …]
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_codec_config.cc63 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() function in A2dpCodecConfig
89 A2dpCodecConfig::~A2dpCodecConfig() {} in ~A2dpCodecConfig()
91 void A2dpCodecConfig::setCodecPriority( in setCodecPriority()
102 void A2dpCodecConfig::setDefaultCodecPriority() { in setDefaultCodecPriority()
113 A2dpCodecConfig* A2dpCodecConfig::createCodec( in createCodec()
125 A2dpCodecConfig* codec_config = nullptr; in createCodec()
174 int A2dpCodecConfig::getTrackBitRate() const { in getTrackBitRate()
196 bool A2dpCodecConfig::getCodecSpecificConfig(tBT_A2DP_OFFLOAD* p_a2dp_offload) { in getCodecSpecificConfig()
273 bool A2dpCodecConfig::isValid() const { return true; } in isValid()
275 bool A2dpCodecConfig::copyOutOtaCodecConfig(uint8_t* p_codec_info) { in copyOutOtaCodecConfig()
[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()
163 A2dpCodecConfig* a2dp_codec_config, bool* p_restart_input, in a2dp_vendor_aptx_hd_encoder_update()
409 A2dpCodecConfig::debug_codec_dump(fd); in debug_codec_dump()
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()
162 static void a2dp_vendor_aptx_encoder_update(A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_update()
414 A2dpCodecConfig::debug_codec_dump(fd); in debug_codec_dump()
Da2dp_ext.cc38 : A2dpCodecConfig( in A2dpCodecConfigExt()
90 .encoder_init = [](const tA2DP_ENCODER_INIT_PEER_PARAMS*, A2dpCodecConfig*,
Da2dp_vendor_opus_encoder.cc90 A2dpCodecConfig* a2dp_codec_config,
119 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_opus_encoder_init()
184 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_opus_encoder_update()
500 A2dpCodecConfig::debug_codec_dump(fd); in debug_codec_dump()
/packages/modules/Bluetooth/system/stack/include/
Da2dp_codec_api.h52 class A2dpCodecConfig {
58 static A2dpCodecConfig* createCodec(
63 virtual ~A2dpCodecConfig() = 0;
203 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, uint64_t codec_id,
291 A2dpCodecConfig* findSourceCodecConfig(const uint8_t* p_codec_info);
295 A2dpCodecConfig* findSourceCodecConfig(btav_a2dp_codec_index_t codec_index);
300 A2dpCodecConfig* findSinkCodecConfig(const uint8_t* p_codec_info);
309 A2dpCodecConfig* getCurrentCodecConfig() const { in getCurrentCodecConfig()
315 void setCurrentCodecConfig(A2dpCodecConfig* codec_config) { in setCurrentCodecConfig()
321 const std::list<A2dpCodecConfig*> orderedSourceCodecs() const { in orderedSourceCodecs()
[all …]
Da2dp_vendor_ldac.h33 class A2dpCodecConfigLdacBase : public A2dpCodecConfig {
39 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_LDAC, name, codec_priority), in A2dpCodecConfigLdacBase()
Da2dp_aac.h32 class A2dpCodecConfigAacBase : public A2dpCodecConfig {
38 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_AAC, name, codec_priority), in A2dpCodecConfigAacBase()
Da2dp_vendor_opus.h28 class A2dpCodecConfigOpusBase : public A2dpCodecConfig {
34 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_OPUS, name, codec_priority), in A2dpCodecConfigOpusBase()
Da2dp_sbc.h33 class A2dpCodecConfigSbcBase : public A2dpCodecConfig {
39 : A2dpCodecConfig(codec_index, A2DP_CODEC_ID_SBC, name, codec_priority), in A2dpCodecConfigSbcBase()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs200 pub struct A2dpCodecConfig { struct
244 codec_preferences: Vec<A2dpCodecConfig>, in config_codec() argument
246 fn set_audio_config(self: &A2dpIntf, config: A2dpCodecConfig) -> bool; in set_audio_config()
267 codec_config: A2dpCodecConfig, in audio_config_callback() argument
268 codecs_local_capabilities: &Vec<A2dpCodecConfig>, in audio_config_callback() argument
269 codecs_selectable_capabilities: &Vec<A2dpCodecConfig>, in audio_config_callback() argument
280 pub type A2dpCodecConfig = ffi::A2dpCodecConfig; typedef
284 impl Default for A2dpCodecConfig { implementation
285 fn default() -> A2dpCodecConfig { in default()
286 A2dpCodecConfig { in default()
[all …]
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.h42 A2dpCodecConfig* a2dp_config);
44 A2dpCodecConfig* a2dp_config);
46 A2dpCodecConfig* a2dp_config);
48 A2dpCodecConfig* a2dp_config);
50 A2dpCodecConfig* a2dp_config);
Dcodec_status_aidl.cc226 A2dpCodecConfig* a2dp_config) { in A2dpSbcToHalConfig()
315 A2dpCodecConfig* a2dp_config) { in A2dpAacToHalConfig()
377 A2dpCodecConfig* a2dp_config) { in A2dpAptxToHalConfig()
413 A2dpCodecConfig* a2dp_config) { in A2dpLdacToHalConfig()
471 A2dpCodecConfig* a2dp_config) { in A2dpOpusToHalConfig()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.h45 A2dpCodecConfig* a2dp_config);
47 A2dpCodecConfig* a2dp_config);
49 A2dpCodecConfig* a2dp_config);
51 A2dpCodecConfig* a2dp_config);
/packages/modules/Bluetooth/system/btif/include/
Dbta_av_co.h105 A2dpCodecConfig* GetActivePeerCurrentCodec();
113 A2dpCodecConfig* GetPeerCurrentCodec(const RawAddress& peer_address);
486 bool UpdateSelectableSourceCodec(const A2dpCodecConfig& codec_config,
506 bool UpdateSelectableSinkCodec(const A2dpCodecConfig& codec_config,
518 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer);
529 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer);
Dbtif_av_co.h89 A2dpCodecConfig* bta_av_get_a2dp_current_codec(void);
94 A2dpCodecConfig* bta_av_get_a2dp_peer_current_codec(
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/
Dbtav_shim.cc183 static A2dpCodecConfig to_rust_codec_config(const btav_a2dp_codec_config_t& config) { in to_rust_codec_config()
184 A2dpCodecConfig rconfig = { in to_rust_codec_config()
197 static btav_a2dp_codec_config_t from_rust_codec_config(const A2dpCodecConfig& rconfig) { in from_rust_codec_config()
212 static ::rust::Vec<A2dpCodecConfig> to_rust_codec_config_vec(const std::vector<btav_a2dp_codec_conf… in to_rust_codec_config_vec()
213 ::rust::Vec<A2dpCodecConfig> rconfigs; in to_rust_codec_config_vec()
242 A2dpCodecConfig cfg = to_rust_codec_config(codec_config); in audio_config_cb()
243 ::rust::Vec<A2dpCodecConfig> lcaps = to_rust_codec_config_vec(codecs_local_capabilities); in audio_config_cb()
244 ::rust::Vec<A2dpCodecConfig> scaps = to_rust_codec_config_vec(codecs_selectable_capabilities); in audio_config_cb()
295 int A2dpIntf::config_codec(RawAddress addr, ::rust::Vec<A2dpCodecConfig> codec_preferences) const { in config_codec()
306 bool A2dpIntf::set_audio_config(A2dpCodecConfig rconfig) const { in set_audio_config()
Dbtav_shim.h31 struct A2dpCodecConfig;
46 int config_codec(RawAddress addr, ::rust::Vec<A2dpCodecConfig> codec_preferences) const;
50 bool set_audio_config(A2dpCodecConfig rconfig) const;
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_a2dp_encoding_fuzzer.cpp74 static A2dpCodecConfig* mCodec;
77 A2dpCodecConfig* A2dpEncodingFuzzer::mCodec{nullptr};
82 mCodec = A2dpCodecConfig::createCodec(fdp.PickValueInArray(kCodecIndices)); in process()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpCodecConfig.java38 class A2dpCodecConfig { class
39 private static final String TAG = A2dpCodecConfig.class.getSimpleName();
60 A2dpCodecConfig(Context context, A2dpNativeInterface a2dpNativeInterface) { in A2dpCodecConfig() method in A2dpCodecConfig

123