Home
last modified time | relevance | path

Searched refs:p_scbi (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/av/
Dbta_av_main.cc768 tBTA_AV_SCB* p_scbi; in bta_av_chk_start() local
782 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_start()
783 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_start()
787 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_chk_start()
788 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_start()
790 p_scbi->peer_addr, in bta_av_chk_start()
791 p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1]); in bta_av_chk_start()
968 tBTA_AV_SCB* p_scbi; in bta_av_switch_if_needed() local
974 p_scbi = bta_av_cb.p_scb[i]; in bta_av_switch_if_needed()
975 if (p_scbi && (p_scb->hdi != i) && /* not the original channel */ in bta_av_switch_if_needed()
[all …]
Dbta_av_act.cc1088 tBTA_AV_SCB* p_scbi; in bta_av_stream_chg() local
1114 p_scbi = bta_av_cb.p_scb[i]; in bta_av_stream_chg()
1116 if (p_scbi && (bta_av_cb.audio_streams & BTA_AV_HNDL_TO_MSK(i)) && in bta_av_stream_chg()
1117 bdcmp(p_scbi->peer_addr, p_scb->peer_addr) == 0) { in bta_av_stream_chg()
1148 tBTA_AV_SCB* p_scbi; in bta_av_conn_chg() local
1315 p_scbi = bta_av_cb.p_scb[i]; in bta_av_conn_chg()
1316 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_conn_chg()
1319 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_conn_chg()
1320 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_conn_chg()
1322 p_scbi->peer_addr, in bta_av_conn_chg()
[all …]
Dbta_av_aact.cc2853 tBTA_AV_SCB* p_scbi; in bta_av_chk_2nd_start() local
2863 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_2nd_start()
2864 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_2nd_start()
2872 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_chk_2nd_start()
2873 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_2nd_start()
2875 p_scbi->peer_addr, in bta_av_chk_2nd_start()
2876 p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1]); in bta_av_chk_2nd_start()