Home
last modified time | relevance | path

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

12

/system/bt/service/common/bluetooth/
Da2dp_codec_config.cc21 A2dpCodecConfig::A2dpCodecConfig() = default;
22 A2dpCodecConfig::A2dpCodecConfig(const A2dpCodecConfig& other) = default;
23 A2dpCodecConfig::A2dpCodecConfig(int codec_type, int codec_priority, in A2dpCodecConfig() function in bluetooth::A2dpCodecConfig
39 A2dpCodecConfig::~A2dpCodecConfig() = default;
Da2dp_codec_config.h24 class A2dpCodecConfig {
26 A2dpCodecConfig();
27 A2dpCodecConfig(const A2dpCodecConfig& other);
28 A2dpCodecConfig(int codec_type, int codec_priority, int sample_rate,
32 ~A2dpCodecConfig();
/system/bt/service/common/android/bluetooth/
Dbluetooth_a2dp_codec_config.h32 public ::bluetooth::A2dpCodecConfig {
35 BluetoothA2dpCodecConfig(const ::bluetooth::A2dpCodecConfig& other) in BluetoothA2dpCodecConfig()
36 : ::bluetooth::A2dpCodecConfig(other) {} // NOLINT(implicit) in BluetoothA2dpCodecConfig()
38 : ::bluetooth::A2dpCodecConfig(other) {} // NOLINT(implicit) in BluetoothA2dpCodecConfig()
/system/bt/stack/include/
Da2dp_codec_api.h49 class A2dpCodecConfig {
55 static A2dpCodecConfig* createCodec(
60 virtual ~A2dpCodecConfig() = 0;
208 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, const std::string& name,
297 A2dpCodecConfig* findSourceCodecConfig(const uint8_t* p_codec_info);
302 A2dpCodecConfig* findSinkCodecConfig(const uint8_t* p_codec_info);
311 A2dpCodecConfig* getCurrentCodecConfig() const { in getCurrentCodecConfig()
316 const std::list<A2dpCodecConfig*> orderedSourceCodecs() const { in orderedSourceCodecs()
321 const std::list<A2dpCodecConfig*> orderedSinkCodecs() const { in orderedSinkCodecs()
464 typedef std::map<btav_a2dp_codec_index_t, A2dpCodecConfig*> IndexedCodecs;
[all …]
Da2dp_vendor_aptx_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_aptx_hd_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_sbc_encoder.h42 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_ldac_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_ldac.h28 class A2dpCodecConfigLdacBase : public A2dpCodecConfig {
34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigLdacBase()
Da2dp_aac_encoder.h60 A2dpCodecConfig* a2dp_codec_config,
Da2dp_aac.h28 class A2dpCodecConfigAacBase : public A2dpCodecConfig {
34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigAacBase()
Da2dp_sbc.h28 class A2dpCodecConfigSbcBase : public A2dpCodecConfig {
34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigSbcBase()
Da2dp_vendor_aptx_hd.h28 class A2dpCodecConfigAptxHd : public A2dpCodecConfig {
/system/bt/audio_hal_interface/
Dcodec_status.h44 A2dpCodecConfig* a2dp_config);
46 A2dpCodecConfig* a2dp_config);
48 A2dpCodecConfig* a2dp_config);
50 A2dpCodecConfig* a2dp_config);
/system/bt/stack/a2dp/
Da2dp_codec_config.cc57 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() function in A2dpCodecConfig
82 A2dpCodecConfig::~A2dpCodecConfig() {} in ~A2dpCodecConfig()
84 void A2dpCodecConfig::setCodecPriority( in setCodecPriority()
95 void A2dpCodecConfig::setDefaultCodecPriority() { in setDefaultCodecPriority()
106 A2dpCodecConfig* A2dpCodecConfig::createCodec( in createCodec()
111 A2dpCodecConfig* codec_config = nullptr; in createCodec()
151 int A2dpCodecConfig::getTrackBitRate() const { in getTrackBitRate()
173 bool A2dpCodecConfig::getCodecSpecificConfig(tBT_A2DP_OFFLOAD* p_a2dp_offload) { in getCodecSpecificConfig()
248 bool A2dpCodecConfig::isValid() const { return true; } in isValid()
250 bool A2dpCodecConfig::copyOutOtaCodecConfig(uint8_t* p_codec_info) { in copyOutOtaCodecConfig()
[all …]
Da2dp_vendor_aptx_hd_encoder.cc106 uint16_t peer_mtu, A2dpCodecConfig* a2dp_codec_config,
170 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_init()
238 uint16_t peer_mtu, A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_update()
487 A2dpCodecConfig::debug_codec_dump(fd); in debug_codec_dump()
Da2dp_vendor_aptx_encoder.cc106 A2dpCodecConfig* a2dp_codec_config,
170 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_init()
236 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_update()
490 A2dpCodecConfig::debug_codec_dump(fd); in debug_codec_dump()
/system/bt/service/
Da2dp_source.h44 const std::string& device_address, A2dpCodecConfig codec_config,
45 const std::vector<A2dpCodecConfig>& codecs_local_capabilities,
46 const std::vector<A2dpCodecConfig>& codecs_selectable_capabilities) = 0;
60 bool Enable(const std::vector<A2dpCodecConfig>& codec_priorities);
65 const std::vector<A2dpCodecConfig>& codec_preferences);
Da2dp_source.cc51 btav_a2dp_codec_config_t CodecConfigToFluoride(const A2dpCodecConfig& config) { in CodecConfigToFluoride()
72 const std::vector<A2dpCodecConfig>& configs) { in CodecConfigsToFluoride()
81 A2dpCodecConfig FluorideCodecToCodec(const btav_a2dp_codec_config_t& config) { in FluorideCodecToCodec()
82 A2dpCodecConfig ret(config.codec_type, config.codec_priority, in FluorideCodecToCodec()
91 std::vector<A2dpCodecConfig> FluorideCodecsToCodec( in FluorideCodecsToCodec()
93 std::vector<A2dpCodecConfig> ret; in FluorideCodecsToCodec()
124 bool A2dpSource::Enable(const std::vector<A2dpCodecConfig>& codec_priorities) { in Enable()
154 const std::vector<A2dpCodecConfig>& codec_preferences) { in ConfigCodec()
/system/bt/service/ipc/binder/
Dbluetooth_a2dp_source_binder_server.cc73 std::vector<bluetooth::A2dpCodecConfig> A2dpCodecsFromBinder( in A2dpCodecsFromBinder()
75 std::vector<bluetooth::A2dpCodecConfig> ret; in A2dpCodecsFromBinder()
85 const std::vector<bluetooth::A2dpCodecConfig>& codecs) { in A2dpCodecsToBinder()
182 const std::string& device_address, bluetooth::A2dpCodecConfig codec_config, in OnAudioConfig()
183 const std::vector<bluetooth::A2dpCodecConfig>& codecs_local_capabilities, in OnAudioConfig()
184 const std::vector<bluetooth::A2dpCodecConfig>& in OnAudioConfig()
Dbluetooth_a2dp_source_binder_server.h75 bluetooth::A2dpCodecConfig codec_config,
76 const std::vector<bluetooth::A2dpCodecConfig>& codecs_local_capabilities,
77 const std::vector<bluetooth::A2dpCodecConfig>&
/system/bt/btif/include/
Dbtif_av_co.h76 A2dpCodecConfig* bta_av_get_a2dp_current_codec(void);
81 A2dpCodecConfig* bta_av_get_a2dp_peer_current_codec(
/system/bt/stack/test/a2dp/
Dmisc_fake.cc20 bluetooth::A2dpCodecConfig* bta_av_get_a2dp_current_codec(void) { in bta_av_get_a2dp_current_codec()
/system/bt/service/test/
Da2dp_source_unittest.cc66 const std::string& device_address, A2dpCodecConfig codec_config, in OnAudioConfig()
67 const std::vector<A2dpCodecConfig>& codecs_local_capabilities, in OnAudioConfig()
68 const std::vector<A2dpCodecConfig>& codecs_selectable_capabilities) in OnAudioConfig()
/system/bt/btif/co/
Dbta_av_co.cc194 A2dpCodecConfig* GetActivePeerCurrentCodec();
202 A2dpCodecConfig* GetPeerCurrentCodec(const RawAddress& peer_address);
613 bool UpdateSelectableSourceCodec(const A2dpCodecConfig& codec_config,
633 bool UpdateSelectableSinkCodec(const A2dpCodecConfig& codec_config,
645 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer);
656 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer);
792 A2dpCodecConfig* BtaAvCo::GetActivePeerCurrentCodec() { in GetActivePeerCurrentCodec()
801 A2dpCodecConfig* BtaAvCo::GetPeerCurrentCodec(const RawAddress& peer_address) { in GetPeerCurrentCodec()
1869 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer) { in AttemptSourceCodecSelection()
1897 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer) { in AttemptSinkCodecSelection()
[all …]

12