Lines Matching refs:err_code
413 } else if (event == AVDT_SECURITY_CFM_EVT && p_data->hdr.err_code == 0) { in bta_av_proc_stream_evt()
448 if (p_data->hdr.err_code == 0) { in bta_av_proc_stream_evt()
455 p_msg->msg.hdr.err_code = 0; in bta_av_proc_stream_evt()
467 p_msg->msg.hdr.err_code = 0; in bta_av_proc_stream_evt()
471 if ((p_data == NULL) || (p_data->hdr.err_code == 0)) { in bta_av_proc_stream_evt()
998 setconfig.err_code = AVDT_ERR_UNSUP_CFG; in bta_av_config_ind()
1130 (p_data->ci_setconfig.err_code == AVDT_SUCCESS) && in bta_av_setconfig_rsp()
1140 p_data->ci_setconfig.err_code, p_data->ci_setconfig.category); in bta_av_setconfig_rsp()
1144 if (p_data->ci_setconfig.err_code == AVDT_SUCCESS) { in bta_av_setconfig_rsp()
1333 protect_rsp.err_code = p_data->str_msg.msg.hdr.err_code; in bta_av_security_cfm()
2527 uint8_t err_code = p_data->str_msg.msg.hdr.err_code; in bta_av_suspend_cfm() local
2532 p_scb->hndl, bta_av_cb.audio_open_cnt, err_code); in bta_av_suspend_cfm()
2540 err_code); in bta_av_suspend_cfm()
2545 if (err_code && (err_code != AVDT_ERR_BAD_STATE)) { in bta_av_suspend_cfm()
2547 if (err_code != AVDT_ERR_TIMEOUT) { in bta_av_suspend_cfm()
2747 uint8_t err_code = p_data->str_msg.msg.hdr.err_code; in bta_av_suspend_cont() local
2749 APPL_TRACE_DEBUG("%s: err_code=%d", __func__, err_code); in bta_av_suspend_cont()
2753 if (err_code) { in bta_av_suspend_cont()
2754 if (AVDT_ERR_CONNECT == err_code) { in bta_av_suspend_cont()
2768 if (err_code != AVDT_ERR_TIMEOUT) { in bta_av_suspend_cont()
2798 uint8_t err_code = p_data->str_msg.msg.hdr.err_code; in bta_av_rcfg_cfm() local
2800 APPL_TRACE_DEBUG("%s: err_code = %d", __func__, err_code); in bta_av_rcfg_cfm()
2821 if ((err_code != 0) || disable_avdtp_reconfigure) { in bta_av_rcfg_cfm()
2825 if ((err_code != AVDT_ERR_TIMEOUT) || disable_avdtp_reconfigure) { in bta_av_rcfg_cfm()