/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | a2dp_provider_info.h | 53 btav_a2dp_codec_index_t codec_index) const; 58 std::optional<btav_a2dp_codec_index_t> SourceCodecIndex( 60 std::optional<btav_a2dp_codec_index_t> SourceCodecIndex( 62 std::optional<btav_a2dp_codec_index_t> SourceCodecIndex( 68 std::optional<btav_a2dp_codec_index_t> SinkCodecIndex( 70 std::optional<btav_a2dp_codec_index_t> SinkCodecIndex( 72 std::optional<btav_a2dp_codec_index_t> SinkCodecIndex( 80 btav_a2dp_codec_index_t codec_index) const; 86 bool SupportsCodec(btav_a2dp_codec_index_t codec_index) const; 101 bool CodecCapabilities(btav_a2dp_codec_index_t codec_index, [all …]
|
D | a2dp_provider_info.cc | 103 btav_a2dp_codec_index_t codec_index) const { in GetCodec() 114 static std::optional<btav_a2dp_codec_index_t> assignSourceCodecIndex( in assignSourceCodecIndex() 115 CodecInfo const& codec, btav_a2dp_codec_index_t* ext_index) { in assignSourceCodecIndex() 169 static std::optional<btav_a2dp_codec_index_t> assignSinkCodecIndex( in assignSinkCodecIndex() 170 CodecInfo const& codec, btav_a2dp_codec_index_t* ext_index) { in assignSinkCodecIndex() 215 btav_a2dp_codec_index_t ext_source_index = in ProviderInfo() 226 btav_a2dp_codec_index_t ext_sink_index = BTAV_A2DP_CODEC_INDEX_SINK_EXT_MIN; in ProviderInfo() 237 std::optional<btav_a2dp_codec_index_t> ProviderInfo::SourceCodecIndex( in SourceCodecIndex() 248 std::optional<btav_a2dp_codec_index_t> ProviderInfo::SourceCodecIndex( in SourceCodecIndex() 262 std::optional<btav_a2dp_codec_index_t> ProviderInfo::SourceCodecIndex( in SourceCodecIndex() [all …]
|
D | a2dp_encoding_aidl.h | 97 std::optional<btav_a2dp_codec_index_t> sink_codec_index( 104 std::optional<btav_a2dp_codec_index_t> source_codec_index( 116 std::optional<const char*> codec_index_str(btav_a2dp_codec_index_t codec_index); 122 bool supports_codec(btav_a2dp_codec_index_t codec_index); 127 bool codec_info(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, 150 btav_a2dp_codec_index_t codec_index, const uint8_t* codec_info,
|
D | a2dp_provider_info_unittest.cc | 336 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 365 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 386 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 419 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 445 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 473 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 502 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 525 std::optional<btav_a2dp_codec_index_t> a2dp_codec_index_opt; in TEST_F_WITH_FLAGS() 586 static_cast<btav_a2dp_codec_index_t>(i))); in TEST_F_WITH_FLAGS() 590 static_cast<btav_a2dp_codec_index_t>(i))); in TEST_F_WITH_FLAGS()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_audio_hal_interface_a2dp_encoding.h | 81 std::function<std::optional<const char*>(btav_a2dp_codec_index_t codec_index)> 82 body{[](btav_a2dp_codec_index_t /* codec_index */) { 85 std::optional<const char*> operator()(btav_a2dp_codec_index_t codec_index) { in operator() 96 std::function<bool(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, 99 body{[](btav_a2dp_codec_index_t /* codec_index */, 104 bool operator()(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, in operator() 195 std::function<tA2DP_STATUS(btav_a2dp_codec_index_t codec_index, 199 body{[](btav_a2dp_codec_index_t /* codec_index */, 205 tA2DP_STATUS operator()(btav_a2dp_codec_index_t codec_index, in operator() 260 static std::optional<btav_a2dp_codec_index_t> return_value; [all …]
|
D | mock_audio_hal_interface_a2dp_encoding.cc | 83 std::optional<btav_a2dp_codec_index_t> sink_codec_index::return_value = 85 std::optional<btav_a2dp_codec_index_t> source_codec_index::return_value = 108 btav_a2dp_codec_index_t codec_index) { in codec_index_str() 114 btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, in codec_info() 150 btav_a2dp_codec_index_t codec_index, const uint8_t* codec_info, in parse_a2dp_configuration() 175 std::optional<btav_a2dp_codec_index_t> 182 std::optional<btav_a2dp_codec_index_t> 194 btav_a2dp_codec_index_t codec_index) { in supports_codec()
|
D | mock_stack_a2dp_codec_config.cc | 30 btav_a2dp_codec_index_t /* codec_index */, in createCodec() argument 46 btav_a2dp_codec_index_t /* codec_index */) { in findSourceCodecConfig() argument 50 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() 92 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t /* codec_index */, in A2DP_InitCodecConfig() argument 175 bool A2dpCodecs::isSupportedCodec(btav_a2dp_codec_index_t /* codec_index */) { in isSupportedCodec() argument 259 btav_a2dp_codec_index_t A2DP_SinkCodecIndex(const uint8_t* /* p_codec_info */) { in A2DP_SinkCodecIndex() 263 btav_a2dp_codec_index_t A2DP_SourceCodecIndex( in A2DP_SourceCodecIndex() 268 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t /* codec_index */) { in A2DP_CodecIndexStr() argument
|
D | mock_a2dp_codec_config.cc | 30 btav_a2dp_codec_index_t codec_index, in createCodec() 44 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() 83 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index, in A2DP_InitCodecConfig() 164 bool A2dpCodecs::isSupportedCodec(btav_a2dp_codec_index_t codec_index) { in isSupportedCodec() 246 btav_a2dp_codec_index_t A2DP_SinkCodecIndex(const uint8_t* p_codec_info) { in A2DP_SinkCodecIndex() 250 btav_a2dp_codec_index_t A2DP_SourceCodecIndex(const uint8_t* p_codec_info) { in A2DP_SourceCodecIndex() 254 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index) { in A2DP_CodecIndexStr()
|
D | mock_stack_a2dp_sbc.h | 423 static btav_a2dp_codec_index_t return_value; 424 std::function<btav_a2dp_codec_index_t(const uint8_t* p_codec_info)> body{ 426 btav_a2dp_codec_index_t operator()(const uint8_t* p_codec_info) { in operator() 436 static btav_a2dp_codec_index_t return_value; 437 std::function<btav_a2dp_codec_index_t(const uint8_t* p_codec_info)> body{ 439 btav_a2dp_codec_index_t operator()(const uint8_t* p_codec_info) { in operator()
|
D | mock_btif_co_bta_av_co.h | 142 std::function<bool(btav_a2dp_codec_index_t codec_index, 144 body{[](btav_a2dp_codec_index_t /* codec_index */, 146 bool operator()(btav_a2dp_codec_index_t codec_index, AvdtpSepConfig* p_cfg) { in operator() 324 std::function<bool(btav_a2dp_codec_index_t codec_index)> body{ 325 [](btav_a2dp_codec_index_t /* codec_index */) { return return_value; }}; 326 bool operator()(btav_a2dp_codec_index_t codec_index) { in operator()
|
D | mock_stack_a2dp_sbc.cc | 116 btav_a2dp_codec_index_t A2DP_SinkCodecIndexSbc::return_value = 118 btav_a2dp_codec_index_t A2DP_SourceCodecIndexSbc::return_value = 270 btav_a2dp_codec_index_t A2DP_SinkCodecIndexSbc(const uint8_t* p_codec_info) { in A2DP_SinkCodecIndexSbc() 274 btav_a2dp_codec_index_t A2DP_SourceCodecIndexSbc(const uint8_t* p_codec_info) { in A2DP_SourceCodecIndexSbc()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | a2dp_codec_api.h | 59 btav_a2dp_codec_index_t codec_index, 66 btav_a2dp_codec_index_t codecIndex() const { return codec_index_; } in codecIndex() 203 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, uint64_t codec_id, 252 const btav_a2dp_codec_index_t codec_index_; // The unique codec index 295 A2dpCodecConfig* findSourceCodecConfig(btav_a2dp_codec_index_t codec_index); 304 bool isSupportedCodec(btav_a2dp_codec_index_t codec_index); 468 typedef std::map<btav_a2dp_codec_index_t, A2dpCodecConfig*> IndexedCodecs; 472 std::map<btav_a2dp_codec_index_t, btav_a2dp_codec_priority_t> 724 btav_a2dp_codec_index_t A2DP_SourceCodecIndex(const uint8_t* p_codec_info); 729 btav_a2dp_codec_index_t A2DP_SinkCodecIndex(const uint8_t* p_codec_info); [all …]
|
D | a2dp_vendor.h | 200 btav_a2dp_codec_index_t A2DP_VendorSourceCodecIndex( 206 btav_a2dp_codec_index_t A2DP_VendorSinkCodecIndex(const uint8_t* p_codec_info); 209 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index); 215 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index,
|
D | a2dp_vendor_ldac.h | 35 A2dpCodecConfigLdacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigLdacBase() 223 btav_a2dp_codec_index_t A2DP_VendorSourceCodecIndexLdac( 229 btav_a2dp_codec_index_t A2DP_VendorSinkCodecIndexLdac(
|
D | a2dp_aac.h | 34 A2dpCodecConfigAacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigAacBase() 243 btav_a2dp_codec_index_t A2DP_SourceCodecIndexAac(const uint8_t* p_codec_info); 248 btav_a2dp_codec_index_t A2DP_SinkCodecIndexAac(const uint8_t* p_codec_info);
|
D | a2dp_vendor_opus.h | 30 A2dpCodecConfigOpusBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigOpusBase() 232 btav_a2dp_codec_index_t A2DP_VendorSourceCodecIndexOpus( 238 btav_a2dp_codec_index_t A2DP_VendorSinkCodecIndexOpus(
|
D | a2dp_sbc.h | 35 A2dpCodecConfigSbcBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigSbcBase() 251 btav_a2dp_codec_index_t A2DP_SourceCodecIndexSbc(const uint8_t* p_codec_info); 256 btav_a2dp_codec_index_t A2DP_SinkCodecIndexSbc(const uint8_t* p_codec_info);
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | a2dp_encoding.h | 74 std::optional<btav_a2dp_codec_index_t> sink_codec_index( 78 std::optional<btav_a2dp_codec_index_t> source_codec_index( 87 std::optional<const char*> codec_index_str(btav_a2dp_codec_index_t codec_index); 91 bool supports_codec(btav_a2dp_codec_index_t codec_index); 96 bool codec_info(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, 157 btav_a2dp_codec_index_t codec_index, const uint8_t* codec_info,
|
D | a2dp_encoding_host.cc | 297 std::optional<btav_a2dp_codec_index_t> sink_codec_index( in sink_codec_index() 303 std::optional<btav_a2dp_codec_index_t> source_codec_index( in source_codec_index() 315 btav_a2dp_codec_index_t codec_index) { in codec_index_str() 321 bool supports_codec(btav_a2dp_codec_index_t codec_index) { return false; } in supports_codec() 324 bool codec_info(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, in codec_info() 347 btav_a2dp_codec_index_t codec_index, const uint8_t* codec_info, in parse_a2dp_configuration()
|
D | a2dp_encoding.cc | 165 std::optional<btav_a2dp_codec_index_t> sink_codec_index( in sink_codec_index() 174 std::optional<btav_a2dp_codec_index_t> source_codec_index( in source_codec_index() 189 btav_a2dp_codec_index_t codec_index) { in codec_index_str() 198 bool supports_codec(btav_a2dp_codec_index_t codec_index) { in supports_codec() 206 bool codec_info(btav_a2dp_codec_index_t codec_index, uint64_t* codec_id, in codec_info() 237 btav_a2dp_codec_index_t codec_index, const uint8_t* codec_info, in parse_a2dp_configuration()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_av.h | 90 } btav_a2dp_codec_index_t; typedef 93 btav_a2dp_codec_index_t codec_type; 157 btav_a2dp_codec_index_t codec_type; 450 struct formatter<btav_a2dp_codec_index_t> 451 : enum_formatter<btav_a2dp_codec_index_t> {};
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_codec_config.cc | 56 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, in init_btav_a2dp_codec_config() 63 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() 114 btav_a2dp_codec_index_t codec_index, in createCodec() 613 btav_a2dp_codec_index_t codec_index = in init() 614 static_cast<btav_a2dp_codec_index_t>(i); in init() 689 btav_a2dp_codec_index_t codec_index = A2DP_SourceCodecIndex(p_codec_info); in findSourceCodecConfig() 698 btav_a2dp_codec_index_t codec_index) { in findSourceCodecConfig() 708 btav_a2dp_codec_index_t codec_index = A2DP_SinkCodecIndex(p_codec_info); in findSinkCodecConfig() 716 bool A2dpCodecs::isSupportedCodec(btav_a2dp_codec_index_t codec_index) { in isSupportedCodec() 890 btav_a2dp_codec_index_t codec_type; in setCodecOtaConfig() [all …]
|
D | a2dp_vendor_aptx_linux.cc | 101 btav_a2dp_codec_index_t A2DP_VendorSourceCodecIndexAptx( in A2DP_VendorSourceCodecIndexAptx() 106 btav_a2dp_codec_index_t A2DP_VendorSinkCodecIndexAptx( in A2DP_VendorSinkCodecIndexAptx()
|
D | a2dp_vendor_aptx_hd_linux.cc | 102 btav_a2dp_codec_index_t A2DP_VendorSourceCodecIndexAptxHd( in A2DP_VendorSourceCodecIndexAptxHd() 107 btav_a2dp_codec_index_t A2DP_VendorSinkCodecIndexAptxHd( in A2DP_VendorSinkCodecIndexAptxHd()
|
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_av_co_peer.cc | 131 BtaAvCoPeer* p_peer, btav_a2dp_codec_index_t codec_index, in FindPeerSource() 141 btav_a2dp_codec_index_t peer_codec_index = in FindPeerSource() 158 btav_a2dp_codec_index_t codec_index, in FindPeerSink() 168 btav_a2dp_codec_index_t peer_codec_index = in FindPeerSink()
|