/system/bt/stack/a2dp/ |
D | a2dp_codec_config.cc | 54 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, in init_btav_a2dp_codec_config() argument 57 codec_config->codec_type = codec_index; in init_btav_a2dp_codec_config() 61 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() argument 64 : codec_index_(codec_index), in A2dpCodecConfig() 111 btav_a2dp_codec_index_t codec_index, in createCodec() argument 113 LOG_INFO("%s: codec %s", __func__, A2DP_CodecIndexStr(codec_index)); in createCodec() 116 switch (codec_index) { in createCodec() 610 btav_a2dp_codec_index_t codec_index = in init() local 616 auto cp_iter = codec_priorities_.find(codec_index); in init() 622 if ((codec_index < BTAV_A2DP_CODEC_INDEX_SOURCE_MAX) && in init() [all …]
|
D | a2dp_vendor.cc | 586 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index) { in A2DP_VendorCodecIndexStr() argument 588 switch (codec_index) { in A2DP_VendorCodecIndexStr() 610 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index, in A2DP_VendorInitCodecConfig() argument 613 switch (codec_index) { in A2DP_VendorInitCodecConfig()
|
/system/bt/common/ |
D | metrics_unittest.cc | 188 EXPECT_EQ((a).codec_index, (b).codec_index); \ 223 metrics1.codec_index = -1; in TEST() 224 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_AAC; in TEST() 225 metrics_sum.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_AAC; in TEST() 255 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX; in TEST() 256 metrics_sum.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX; in TEST() 285 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX_HD; in TEST() 286 metrics_sum.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_APTX_HD; in TEST() 580 metrics1.codec_index = -1; in TEST_F() 581 metrics2.codec_index = BTAV_A2DP_CODEC_INDEX_SOURCE_AAC; in TEST_F() [all …]
|
D | metrics.cc | 142 if (codec_index < 0) { in Update() 143 codec_index = metrics.codec_index; in Update() 160 codec_index == rhs.codec_index && in operator ==() 240 static A2dpSourceCodec get_a2dp_source_codec(int64_t codec_index) { in get_a2dp_source_codec() argument 241 switch (codec_index) { in get_a2dp_source_codec() 433 get_a2dp_source_codec(pimpl_->a2dp_session_metrics_.codec_index)); in LogA2dpSession()
|
D | metrics.h | 112 int64_t codec_index = -1; variable
|
/system/bt/test/mock/ |
D | mock_a2dp_codec_config.cc | 42 btav_a2dp_codec_index_t codec_index, in createCodec() argument 56 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() argument 59 : codec_index_(codec_index), in A2dpCodecConfig() 95 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index, in A2DP_InitCodecConfig() argument 172 bool A2dpCodecs::isSupportedCodec(btav_a2dp_codec_index_t codec_index) { in isSupportedCodec() argument 262 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index) { in A2DP_CodecIndexStr() argument
|
D | mock_stack_a2dp_codec_config.cc | 42 btav_a2dp_codec_index_t codec_index, in createCodec() argument 56 A2dpCodecConfig::A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfig() argument 59 : codec_index_(codec_index), in A2dpCodecConfig() 95 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index, in A2DP_InitCodecConfig() argument 172 bool A2dpCodecs::isSupportedCodec(btav_a2dp_codec_index_t codec_index) { in isSupportedCodec() argument 262 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index) { in A2DP_CodecIndexStr() argument
|
/system/bt/stack/include/ |
D | a2dp_vendor.h | 196 const char* A2DP_VendorCodecIndexStr(btav_a2dp_codec_index_t codec_index); 202 bool A2DP_VendorInitCodecConfig(btav_a2dp_codec_index_t codec_index,
|
D | a2dp_codec_api.h | 56 btav_a2dp_codec_index_t codec_index, 208 A2dpCodecConfig(btav_a2dp_codec_index_t codec_index, const std::string& name, 306 bool isSupportedCodec(btav_a2dp_codec_index_t codec_index); 721 const char* A2DP_CodecIndexStr(btav_a2dp_codec_index_t codec_index); 727 bool A2DP_InitCodecConfig(btav_a2dp_codec_index_t codec_index,
|
D | a2dp_vendor_ldac.h | 30 A2dpCodecConfigLdacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigLdacBase() argument 34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigLdacBase()
|
D | a2dp_sbc.h | 30 A2dpCodecConfigSbcBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigSbcBase() argument 34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigSbcBase()
|
D | a2dp_aac.h | 30 A2dpCodecConfigAacBase(btav_a2dp_codec_index_t codec_index, in A2dpCodecConfigAacBase() argument 34 : A2dpCodecConfig(codec_index, name, codec_priority), in A2dpCodecConfigAacBase()
|
/system/bt/btif/include/ |
D | btif_av_co.h | 71 bool bta_av_co_is_supported_codec(btav_a2dp_codec_index_t codec_index);
|
/system/bt/stack/test/ |
D | stack_a2dp_test.cc | 230 btav_a2dp_codec_index_t codec_index = in StackA2dpTest() local 234 switch (codec_index) { in StackA2dpTest() 274 supported_codecs_.insert(codec_index); in StackA2dpTest() 279 bool has_codec_support(btav_a2dp_codec_index_t codec_index) { in has_codec_support() argument 280 return supported_codecs_.find(codec_index) != supported_codecs_.end(); in has_codec_support() 793 btav_a2dp_codec_index_t codec_index = in TEST_F() local 795 EXPECT_STRNE(A2DP_CodecIndexStr(codec_index), "UNKNOWN CODEC INDEX"); in TEST_F() 861 btav_a2dp_codec_index_t codec_index = in TEST_F() local 865 if (!has_codec_support(codec_index)) { in TEST_F() 869 A2dpCodecConfig* codec_config = A2dpCodecConfig::createCodec(codec_index); in TEST_F() [all …]
|
/system/bt/stack/test/fuzzers/a2dp/codec/ |
D | a2dpCodecConfigFuzzFunctions.h | 39 btav_a2dp_codec_index_t codec_index = getArbitraryBtavCodecIndex(fdp); 44 A2dpCodecConfig::createCodec(codec_index, codec_priority));
|
/system/bt/btif/co/ |
D | bta_av_co.cc | 181 bool IsSupportedCodec(btav_a2dp_codec_index_t codec_index); 495 btav_a2dp_codec_index_t codec_index); 505 btav_a2dp_codec_index_t codec_index); 778 bool BtaAvCo::IsSupportedCodec(btav_a2dp_codec_index_t codec_index) { in IsSupportedCodec() argument 783 return codecs->isSupportedCodec(codec_index); in IsSupportedCodec() 1807 btav_a2dp_codec_index_t codec_index) { in FindPeerSink() argument 1808 if (codec_index == BTAV_A2DP_CODEC_INDEX_MAX) { in FindPeerSink() 1819 if (peer_codec_index != codec_index) { in FindPeerSink() 1826 __func__, A2DP_CodecIndexStr(codec_index)); in FindPeerSink() 1835 btav_a2dp_codec_index_t codec_index) { in FindPeerSource() argument [all …]
|
/system/bt/bta/include/ |
D | bta_av_co.h | 52 bool bta_av_co_audio_init(btav_a2dp_codec_index_t codec_index,
|
/system/bt/bta/av/ |
D | bta_av_main.cc | 562 btav_a2dp_codec_index_t codec_index = in bta_av_api_register() local 564 if (!bta_av_co_is_supported_codec(codec_index)) { in bta_av_api_register() 567 if (!(*bta_av_a2dp_cos.init)(codec_index, &avdtp_stream_config.cfg)) { in bta_av_api_register() 570 if (AVDT_CreateStream(p_scb->app_id, &p_scb->seps[codec_index].av_handle, in bta_av_api_register() 574 __func__, p_scb->hndl, p_scb->app_id, codec_index); in bta_av_api_register() 578 memcpy(p_scb->seps[codec_index].codec_info, in bta_av_api_register() 580 p_scb->seps[codec_index].tsep = avdtp_stream_config.tsep; in bta_av_api_register() 582 p_scb->seps[codec_index].p_app_sink_data_cback = in bta_av_api_register() 588 p_scb->seps[codec_index].p_app_sink_data_cback = NULL; in bta_av_api_register()
|
D | bta_av_int.h | 166 typedef bool (*tBTA_AV_CO_INIT)(btav_a2dp_codec_index_t codec_index,
|
D | bta_av_aact.cc | 3156 btav_a2dp_codec_index_t codec_index = in bta_av_offload_codec_builder() local 3160 APPL_TRACE_DEBUG("%s:codec_index = %d", __func__, codec_index); in bta_av_offload_codec_builder() 3161 switch (codec_index) { in bta_av_offload_codec_builder()
|
/system/bt/btif/src/ |
D | btif_a2dp_source.cc | 139 codec_index = -1; in Reset() 169 int codec_index = -1; member in BtifMediaStats 316 if (dst->codec_index < 0) dst->codec_index = src->codec_index; in btif_a2dp_source_accumulate_stats() 811 btif_a2dp_source_cb.stats.codec_index = codec_config->codecIndex(); in btif_a2dp_source_audio_tx_start_event() 1277 metrics.codec_index = stats.codec_index; in btif_a2dp_source_update_metrics()
|
D | btif_a2dp_audio_interface.cc | 99 metrics.codec_index = codec_index_; in StoreMetrics() 120 void SetCodecIndex(int64_t codec_index) { in SetCodecIndex() argument 122 codec_index_ = codec_index; in SetCodecIndex()
|
/system/bt/audio_hal_interface/ |
D | client_interface_unittest.cc | 406 for (auto codec_index : codec_indexes) { in CodecOffloadingPreferenceGenerator() local 407 a2dp_codec_config.codec_type = codec_index; in CodecOffloadingPreferenceGenerator() 411 if (codec_index == target_codec_index) { in CodecOffloadingPreferenceGenerator()
|