Home
last modified time | relevance | path

Searched refs:audio_open_cnt (Results 1 – 4 of 4) sorted by relevance

/system/bt/bta/av/
Dbta_av_aact.c840 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_role_res()
926 p_data->api_open.use_rc, p_data->api_open.switch_res, bta_av_cb.audio_open_cnt); in bta_av_do_disc_a2d()
988 if (bta_av_cb.audio_open_cnt == 1) in bta_av_do_disc_a2d()
2034 bta_sys_busy(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_do_start()
2070 bta_av_cb.audio_open_cnt, p_data); in bta_av_str_stopped()
2072 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_str_stopped()
2073 if ((bta_av_cb.features & BTA_AV_FEAT_MASTER) == 0 || bta_av_cb.audio_open_cnt == 1) in bta_av_str_stopped()
2368 bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_start_ok()
2409 bta_sys_busy(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->peer_addr); in bta_av_start_ok()
2417 p_scb->co_started = bta_av_cb.audio_open_cnt; in bta_av_start_ok()
[all …]
Dbta_av_main.c846 if ((bta_av_cb.audio_open_cnt >= 2) && in bta_av_chk_start()
859 if(p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_chk_start()
861 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_chk_start()
1147 if(bta_av_cb.audio_open_cnt >= 2) in bta_av_chk_mtu()
1167 bta_av_cb.audio_open_cnt, bta_av_cb.conn_audio, ret_mtu); in bta_av_chk_mtu()
1184 if ((p_buf == NULL) || (bta_av_cb.audio_open_cnt < 2)) in bta_av_dup_audio_buf()
Dbta_av_act.c1244 bta_av_cb.audio_open_cnt++; in bta_av_conn_chg()
1296 if ((p_cb->conn_audio & mask) && bta_av_cb.audio_open_cnt) in bta_av_conn_chg()
1299 bta_av_cb.audio_open_cnt--; in bta_av_conn_chg()
1353 …conn_audio, p_cb->conn_video, p_data->conn_chg.is_up, conn_msk, chk_restore, p_cb->audio_open_cnt); in bta_av_conn_chg()
1357 if (p_cb->audio_open_cnt == 1) in bta_av_conn_chg()
1365 if (p_cb->audio_open_cnt) in bta_av_conn_chg()
1374 if (p_scbi->co_started != bta_av_cb.audio_open_cnt) in bta_av_conn_chg()
1376 p_scbi->co_started = bta_av_cb.audio_open_cnt; in bta_av_conn_chg()
2122 if ((p_cb->conn_audio & mask) && bta_av_cb.audio_open_cnt) in bta_av_dereg_comp()
2125 bta_av_cb.audio_open_cnt--; in bta_av_dereg_comp()
Dbta_av_int.h595 UINT8 audio_open_cnt; /* number of connected audio channels */ member