Lines Matching refs:open
358 /* if no streams available then stream open fails */
683 tBTA_AV_API_OPEN *p_buf = &p_scb->q_info.open;
707 /* report failure on OPEN */
777 /* Open failed because of role switch. */
786 /* Continue av open process */
787 p_scb->q_info.open.switch_res = BTA_AV_RS_DONE;
788 bta_av_do_disc_a2d (p_scb, (tBTA_AV_DATA *)&(p_scb->q_info.open));
843 memcpy(&p_scb->q_info.open, &p_data->api_open, sizeof(tBTA_AV_API_OPEN));
860 p_data = (tBTA_AV_DATA *)&p_scb->q_info.open;
861 /* continue to open if link role is ok */
1214 tBTA_AV_OPEN open;
1242 p_scb->p_cos->open(p_scb->hndl,
1246 /* TODO check if other audio channel is open.
1251 * If one audio connection is open and another SNK attempts to connect to AV,
1255 bdcpy(open.bd_addr, p_scb->peer_addr);
1256 open.chnl = p_scb->chnl;
1257 open.hndl = p_scb->hndl;
1258 open.status = BTA_AV_SUCCESS;
1259 open.starting = bta_av_chk_start(p_scb);
1260 open.edr = 0;
1264 open.edr |= BTA_AV_EDR_2MBPS;
1266 open.edr |= BTA_AV_EDR_3MBPS;
1269 bta_ar_avdt_conn(BTA_ID_AV, open.bd_addr);
1271 (*bta_av_cb.p_cback)(BTA_AV_OPEN_EVT, (tBTA_AV *) &open);
1272 if(open.starting)
1597 ** Description Failed to open an AVDT stream
1608 tBTA_AV_OPEN open;
1624 don't send disconnect req, just report the open event with BTA_AV_FAIL_GET_CAP status */
1627 bdcpy(open.bd_addr, p_scb->peer_addr);
1628 open.chnl = p_scb->chnl;
1629 open.hndl = p_scb->hndl;
1630 open.status = BTA_AV_FAIL_GET_CAP;
1631 open.starting = bta_av_chk_start(p_scb);
1632 open.edr = 0;
1636 (*bta_av_cb.p_cback)(BTA_AV_OPEN_EVT, (tBTA_AV *) &open);
1695 /* open the stream */
1935 * use it to bring the SSM back to open state */
1950 /* if the requested index differs from the current one, we can only close/open */
1970 APPL_TRACE_DEBUG1("close/open num_protect: %d", p_cfg->num_protect);
2301 bdcpy(data.open.bd_addr, p_scb->peer_addr);
2302 data.open.status = p_scb->open_status;
2303 data.open.chnl = p_scb->chnl;
2304 data.open.hndl = p_scb->hndl;
2493 /* open failed. try again */
2642 /* take the SSM back to OPEN state */
2651 ** Description AVDT is connected. open the stream with the new configuration
2676 /* open the stream with the new config */
2750 ** Description Send a message to main SM to open RC channel.
2809 /* the open API said that this handle does not want a RC connection.
2820 ** Description This function is called if API open is called by application
2836 /* API open will be handled at timeout if SNK did not start signalling. */
2837 /* API open will be ignored if SNK starts signalling. */