Lines Matching refs:err

528   uint8_t err = 0;  in avdt_msg_prs_cfg()  local
542 while ((p < p_end) && (err == 0)) { in avdt_msg_prs_cfg()
545 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg()
563 err = AVDT_ERR_CATEGORY; in avdt_msg_prs_cfg()
577 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg()
590 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg()
597 err = AVDT_ERR_RECOV_TYPE; in avdt_msg_prs_cfg()
602 err = AVDT_ERR_RECOV_FMT; in avdt_msg_prs_cfg()
609 err = AVDT_ERR_LENGTH; in avdt_msg_prs_cfg()
625 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg()
638 err = AVDT_ERR_LENGTH; in avdt_msg_prs_cfg()
659 AVDT_TRACE_DEBUG("err=0x%x, elem:0x%x psc_mask=0x%x", err, elem, in avdt_msg_prs_cfg()
662 return err; in avdt_msg_prs_cfg()
694 uint8_t err = 0; in avdt_msg_prs_single() local
698 err = AVDT_ERR_LENGTH; in avdt_msg_prs_single()
703 err = AVDT_ERR_SEID; in avdt_msg_prs_single()
706 return err; in avdt_msg_prs_single()
722 uint8_t err = 0; in avdt_msg_prs_setconfig_cmd() local
728 err = AVDT_ERR_LENGTH; in avdt_msg_prs_setconfig_cmd()
733 err = AVDT_ERR_SEID; in avdt_msg_prs_setconfig_cmd()
739 err = AVDT_ERR_SEID; in avdt_msg_prs_setconfig_cmd()
743 if (!err) { in avdt_msg_prs_setconfig_cmd()
746 err = avdt_msg_prs_cfg(p_msg->config_cmd.p_cfg, p, len, in avdt_msg_prs_setconfig_cmd()
749 if (!err) { in avdt_msg_prs_setconfig_cmd()
753 err = AVDT_ERR_INVALID_CAP; in avdt_msg_prs_setconfig_cmd()
758 return err; in avdt_msg_prs_setconfig_cmd()
774 uint8_t err = 0; in avdt_msg_prs_reconfig_cmd() local
780 err = AVDT_ERR_LENGTH; in avdt_msg_prs_reconfig_cmd()
785 err = AVDT_ERR_SEID; in avdt_msg_prs_reconfig_cmd()
789 err = avdt_msg_prs_cfg(p_msg->config_cmd.p_cfg, p, len, in avdt_msg_prs_reconfig_cmd()
793 if (!err) { in avdt_msg_prs_reconfig_cmd()
799 err = AVDT_ERR_INVALID_CAP; in avdt_msg_prs_reconfig_cmd()
804 return err; in avdt_msg_prs_reconfig_cmd()
820 uint8_t err = 0; in avdt_msg_prs_multi() local
826 err = AVDT_ERR_LENGTH; in avdt_msg_prs_multi()
832 err = AVDT_ERR_SEID; in avdt_msg_prs_multi()
840 return err; in avdt_msg_prs_multi()
856 uint8_t err = 0; in avdt_msg_prs_security_cmd() local
860 err = AVDT_ERR_LENGTH; in avdt_msg_prs_security_cmd()
865 err = AVDT_ERR_SEID; in avdt_msg_prs_security_cmd()
871 return err; in avdt_msg_prs_security_cmd()
888 uint8_t err = 0; in avdt_msg_prs_discover_rsp() local
908 err = AVDT_ERR_SEID; in avdt_msg_prs_discover_rsp()
913 return err; in avdt_msg_prs_discover_rsp()
929 uint8_t err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, in avdt_msg_prs_svccap() local
935 return (err); in avdt_msg_prs_svccap()
951 uint8_t err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, in avdt_msg_prs_all_svccap() local
956 return (err); in avdt_msg_prs_all_svccap()
1027 uint8_t err = 0; in avdt_msg_prs_delay_rpt() local
1033 err = AVDT_ERR_LENGTH; in avdt_msg_prs_delay_rpt()
1039 err = AVDT_ERR_SEID; in avdt_msg_prs_delay_rpt()
1046 return err; in avdt_msg_prs_delay_rpt()
1532 uint8_t err; in avdt_msg_ind() local
1610 msg.hdr.err_code = err = in avdt_msg_ind()
1614 msg.hdr.err_code = err = in avdt_msg_ind()
1619 err = avdt_msg_prs_rej(&msg, p, p_buf->len, sig); in avdt_msg_ind()
1624 if (err != 0) { in avdt_msg_ind()
1625 AVDT_TRACE_WARNING("Parsing failed sig=%d err=0x%x", sig, err); in avdt_msg_ind()