Lines Matching refs:hndl
55 #define BTA_AV_CO_AUDIO_HNDL_TO_INDX(hndl) (((hndl) & (~BTA_AV_CHNL_MSK)) - 1) argument
247 static tBTA_AV_CO_PEER *bta_av_co_get_peer(tBTA_AV_HNDL hndl) in bta_av_co_get_peer() argument
252 index = BTA_AV_CO_AUDIO_HNDL_TO_INDX(hndl); in bta_av_co_get_peer()
342 BTA_API void bta_av_co_audio_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, UINT8 num_snk, in bta_av_co_audio_disc_res() argument
350 hndl, num_seps, num_snk, num_src); in bta_av_co_audio_disc_res()
353 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_audio_disc_res()
457 UINT8 bta_av_audio_sink_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, in bta_av_audio_sink_getconfig() argument
473 hndl, codec_type, seid); in bta_av_audio_sink_getconfig()
478 p_peer = bta_av_co_get_peer(hndl); in bta_av_audio_sink_getconfig()
593 BTA_API UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, in bta_av_co_audio_getconfig() argument
608 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_audio_getconfig()
617 result = bta_av_audio_sink_getconfig(hndl, codec_type, p_codec_info, p_sep_info_idx, in bta_av_co_audio_getconfig()
622 hndl, codec_type, seid); in bta_av_co_audio_getconfig()
723 … APPL_TRACE_DEBUG("bta_av_co_audio_getconfig call BTA_AvReconfig(x%x)", hndl); in bta_av_co_audio_getconfig()
724 …BTA_AvReconfig(hndl, TRUE, p_sink->sep_info_idx, p_peer->codec_cfg, *p_num_protect, (UINT8 *)bta_a… in bta_av_co_audio_getconfig()
752 BTA_API void bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, in bta_av_co_audio_setconfig() argument
774 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_audio_setconfig()
780 bta_av_ci_setconfig(hndl, A2D_BUSY, AVDT_ASC_CODEC, 0, NULL, FALSE, avdt_handle); in bta_av_co_audio_setconfig()
883 bta_av_ci_setconfig(hndl, status, category, 0, NULL, FALSE, avdt_handle); in bta_av_co_audio_setconfig()
894 bta_av_ci_setconfig(hndl, A2D_SUCCESS, A2D_SUCCESS, 0, NULL, recfg_needed, avdt_handle); in bta_av_co_audio_setconfig()
909 BTA_API void bta_av_co_audio_open(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, in bta_av_co_audio_open() argument
920 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_audio_open()
943 BTA_API void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT16 mtu) in bta_av_co_audio_close() argument
955 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_audio_close()
981 BTA_API void bta_av_co_audio_start(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, in bta_av_co_audio_start() argument
984 UNUSED(hndl); in bta_av_co_audio_start()
1006 BTA_API extern void bta_av_co_audio_stop(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type) in bta_av_co_audio_stop() argument
1008 UNUSED(hndl); in bta_av_co_audio_stop()
1084 void bta_av_co_audio_drop(tBTA_AV_HNDL hndl) in bta_av_co_audio_drop() argument
1088 APPL_TRACE_ERROR("bta_av_co_audio_drop dropped: x%x", hndl); in bta_av_co_audio_drop()
1102 void bta_av_co_audio_delay(tBTA_AV_HNDL hndl, UINT16 delay) in bta_av_co_audio_delay() argument
1106 APPL_TRACE_ERROR("bta_av_co_audio_delay handle: x%x, delay:0x%x", hndl, delay); in bta_av_co_audio_delay()
1749 void bta_av_co_audio_discard_config(tBTA_AV_HNDL hndl) in bta_av_co_audio_discard_config() argument
1756 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_audio_discard_config()
1805 BOOLEAN bta_av_co_peer_cp_supported(tBTA_AV_HNDL hndl) in bta_av_co_peer_cp_supported() argument
1814 p_peer = bta_av_co_get_peer(hndl); in bta_av_co_peer_cp_supported()