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.cc750 tBTA_AV_SCB* p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_start() local
751 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_start()
754 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_chk_start()
755 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_start()
959 tBTA_AV_SCB* p_scbi; in bta_av_switch_if_needed()
965 p_scbi = bta_av_cb.p_scb[i]; in bta_av_switch_if_needed()
966 if (p_scbi && (p_scb->hdi != i) && /* not the original channel */ in bta_av_switch_if_needed()
969 BTM_GetRole(p_scbi->PeerAddress(), &role); in bta_av_switch_if_needed()
974 BTM_block_role_switch_for(p_scbi->PeerAddress()); in bta_av_switch_if_needed()
976 BTM_SwitchRole(p_scbi->PeerAddress(), HCI_ROLE_CENTRAL)) { in bta_av_switch_if_needed()
[all …]
Dbta_av_act.cc1115 tBTA_AV_SCB* p_scbi; in bta_av_conn_chg() local
1271 p_scbi = bta_av_cb.p_scb[i]; in bta_av_conn_chg()
1272 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_conn_chg()
1275 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_conn_chg()
1276 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_conn_chg()
Dbta_av_aact.cc2865 tBTA_AV_SCB* p_scbi = bta_av_cb.p_scb[i]; in bta_av_chk_2nd_start() local
2866 if (p_scb == p_scbi) { in bta_av_chk_2nd_start()
2869 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_2nd_start()
2877 p_scbi->PeerAddress().ToString().c_str()); in bta_av_chk_2nd_start()
2881 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) { in bta_av_chk_2nd_start()
2882 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_2nd_start()