Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/av/
Dbta_av_main.c758 tBTA_AV_SCB *p_scbi; in bta_av_chk_start() local
771 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_start()
772 if(p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_chk_start()
776 if(p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_chk_start()
778 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_start()
779 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_start()
964 tBTA_AV_SCB *p_scbi; in bta_av_switch_if_needed() local
971 p_scbi = bta_av_cb.p_scb[i]; in bta_av_switch_if_needed()
972 if( p_scbi && (p_scb->hdi != i) && /* not the original channel */ in bta_av_switch_if_needed()
976 BTM_GetRole(p_scbi->peer_addr, &role); in bta_av_switch_if_needed()
[all …]
Dbta_av_act.c1083 tBTA_AV_SCB *p_scbi; in bta_av_stream_chg() local
1119 p_scbi = bta_av_cb.p_scb[i]; in bta_av_stream_chg()
1121 if ( p_scbi && (bta_av_cb.audio_streams & BTA_AV_HNDL_TO_MSK(i)) in bta_av_stream_chg()
1122 && bdcmp(p_scbi->peer_addr, p_scb->peer_addr) == 0) in bta_av_stream_chg()
1157 tBTA_AV_SCB *p_scbi; in bta_av_conn_chg() local
1334 p_scbi = bta_av_cb.p_scb[i]; in bta_av_conn_chg()
1335 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_conn_chg()
1338 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_conn_chg()
1340 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_conn_chg()
1341 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_conn_chg()
Dbta_av_aact.c2693 tBTA_AV_SCB *p_scbi; in bta_av_chk_2nd_start() local
2707 p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_2nd_start()
2708 if(p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_chk_2nd_start()
2717 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_chk_2nd_start()
2719 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_2nd_start()
2720 … L2CA_SetFlushTimeout(p_scbi->peer_addr, p_bta_av_cfg->p_audio_flush_to[p_scbi->co_started - 1] ); in bta_av_chk_2nd_start()