Lines Matching refs:pavrc_cmd
253 UINT8 event, tAVRC_COMMAND *pavrc_cmd, UINT8 label);
1358 static void btif_rc_upstreams_evt(UINT16 event, tAVRC_COMMAND *pavrc_cmd, UINT8 ctype, UINT8 label) in btif_rc_upstreams_evt() argument
1361 dump_rc_pdu(pavrc_cmd->pdu), btif_rc_cb.rc_handle, ctype, label); in btif_rc_upstreams_evt()
1379 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, AVRC_STS_BAD_CMD); in btif_rc_upstreams_evt()
1387 if (pavrc_cmd->get_elem_attrs.num_attr == 0) in btif_rc_upstreams_evt()
1397 else if (pavrc_cmd->get_elem_attrs.num_attr == 0xFF) in btif_rc_upstreams_evt()
1400 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1413 for (attr_cnt = 0; (attr_cnt < pavrc_cmd->get_elem_attrs.num_attr) && in btif_rc_upstreams_evt()
1416 if ((pavrc_cmd->get_elem_attrs.attrs[attr_cnt] > 0) && in btif_rc_upstreams_evt()
1417 (pavrc_cmd->get_elem_attrs.attrs[attr_cnt] <= AVRC_MAX_NUM_MEDIA_ATTR_ID)) in btif_rc_upstreams_evt()
1423 … if (element_attrs[filled_attr_count] == pavrc_cmd->get_elem_attrs.attrs[attr_cnt]) in btif_rc_upstreams_evt()
1428 element_attrs[num_attr] = pavrc_cmd->get_elem_attrs.attrs[attr_cnt]; in btif_rc_upstreams_evt()
1440 if (pavrc_cmd->reg_notif.event_id == BTRC_EVT_PLAY_POS_CHANGED && in btif_rc_upstreams_evt()
1441 pavrc_cmd->reg_notif.param == 0) in btif_rc_upstreams_evt()
1445 … send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, AVRC_STS_BAD_PARAM); in btif_rc_upstreams_evt()
1450 HAL_CBACK(bt_rc_callbacks, register_notification_cb, pavrc_cmd->reg_notif.event_id, in btif_rc_upstreams_evt()
1451 pavrc_cmd->reg_notif.param); in btif_rc_upstreams_evt()
1470 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1471 (pavrc_cmd->pdu == AVRC_PDU_SEARCH)?AVRC_STS_SEARCH_NOT_SUP:AVRC_STS_BAD_CMD); in btif_rc_upstreams_evt()
1488 static void btif_rc_ctrl_upstreams_rsp_cmd(UINT8 event, tAVRC_COMMAND *pavrc_cmd, in btif_rc_ctrl_upstreams_rsp_cmd() argument
1492 dump_rc_pdu(pavrc_cmd->pdu), btif_rc_cb.rc_handle); in btif_rc_ctrl_upstreams_rsp_cmd()
1500 pavrc_cmd->volume.volume, label); in btif_rc_ctrl_upstreams_rsp_cmd()
1503 if (pavrc_cmd->reg_notif.event_id == AVRC_EVT_VOLUME_CHANGE) in btif_rc_ctrl_upstreams_rsp_cmd()