Home | History | Annotate | Download | only in av

Lines Matching defs:hdr

229             p_msg->hdr.event = msg_event;
275 p_buf->hdr.event = BTA_AV_AVRC_MSG_EVT;
591 if(p_data->hdr.layer_specific < BTA_AV_NUM_RCB)
593 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific];
618 if(p_data->hdr.layer_specific < BTA_AV_NUM_RCB)
620 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific];
641 if(p_data->hdr.layer_specific < BTA_AV_NUM_RCB)
643 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific];
663 if ((p_cb->features & BTA_AV_FEAT_METADATA) && (p_data->hdr.layer_specific < BTA_AV_NUM_RCB))
668 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific];
778 if (p_vendor->hdr.subunit_type != AVRC_SUB_PANEL)
783 p_vendor->hdr.ctype = BTA_AV_RSP_NOT_IMPL;
786 else if (!AVRC_IsValidAvcType(pdu, p_vendor->hdr.ctype) )
788 APPL_TRACE_DEBUG("Invalid pdu/ctype: 0x%x, %d", pdu, p_vendor->hdr.ctype);
870 BOOLEAN is_inquiry = ((p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_SPEC_INQ) || p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_GEN_INQ);
882 if ((p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_CTRL) ||
883 (p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_SPEC_INQ) ||
884 (p_data->rc_msg.msg.hdr.ctype == AVRC_CMD_GEN_INQ)
890 p_data->rc_msg.msg.hdr.ctype = BTA_AV_RSP_NOT_IMPL;
893 p_data->rc_msg.msg.hdr.ctype =
900 p_data->rc_msg.msg.hdr.ctype = bta_av_op_supported(p_data->rc_msg.msg.pass.op_id, is_inquiry);
903 APPL_TRACE_DEBUG("ctype %d",p_data->rc_msg.msg.hdr.ctype)
906 if (p_data->rc_msg.msg.hdr.ctype != BTA_AV_RSP_INTERIM)
910 if (p_data->rc_msg.msg.hdr.ctype == BTA_AV_RSP_ACCEPT || p_data->rc_msg.msg.hdr.ctype == BTA_AV_RSP_INTERIM)
917 memcpy(&av.remote_cmd.hdr, &p_data->rc_msg.msg.hdr, sizeof (tAVRC_HDR));
922 else if (p_data->rc_msg.msg.hdr.ctype >= AVRC_RSP_ACCEPT)
928 av.remote_rsp.rsp_code = p_data->rc_msg.msg.hdr.ctype;
934 p_data->rc_msg.msg.hdr.ctype = BTA_AV_RSP_REJ;
942 av.vendor_cmd.code = p_data->rc_msg.msg.hdr.ctype;
950 p_data->rc_msg.msg.hdr.ctype <= AVRC_CMD_GEN_INQ)
965 p_data->rc_msg.msg.hdr.ctype >= AVRC_RSP_ACCEPT)
981 p_data->rc_msg.msg.hdr.ctype <= AVRC_CMD_GEN_INQ)
986 p_data->rc_msg.msg.hdr
990 p_data->rc_msg.msg.hdr.ctype = BTA_AV_RSP_NOT_IMPL;
1026 UINT16 handle = p_data->hdr.layer_specific;
1171 int index = (p_data->hdr.layer_specific & BTA_AV_HNDL_MSK) - 1;
1369 BT_HDR hdr;
1383 hdr.layer_specific = xx + 1;
1384 bta_av_api_deregister((tBTA_AV_DATA *)&hdr);
1414 UINT16 event = p_data->str_msg.hdr.layer_specific;
1446 hdr.offset);
1447 if (p_data->hdr.offset == AVDT_ACP)
1968 p_scb = bta_av_hndl_to_scb(p_data->hdr.layer_specific);