Lines Matching refs:pavrc_cmd
272 tAVRC_COMMAND* pavrc_cmd,
1494 static void btif_rc_upstreams_evt(uint16_t event, tAVRC_COMMAND* pavrc_cmd, in btif_rc_upstreams_evt() argument
1498 __func__, dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle, in btif_rc_upstreams_evt()
1499 ctype, label, pavrc_cmd->reg_notif.event_id); in btif_rc_upstreams_evt()
1513 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1514 AVRC_STS_BAD_CMD, pavrc_cmd->cmd.opcode); in btif_rc_upstreams_evt()
1519 pavrc_cmd->get_elem_attrs.num_attr, pavrc_cmd->get_elem_attrs.attrs, in btif_rc_upstreams_evt()
1525 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1526 AVRC_STS_BAD_PARAM, pavrc_cmd->cmd.opcode); in btif_rc_upstreams_evt()
1534 if (pavrc_cmd->reg_notif.event_id == BTRC_EVT_PLAY_POS_CHANGED && in btif_rc_upstreams_evt()
1535 pavrc_cmd->reg_notif.param == 0) { in btif_rc_upstreams_evt()
1539 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1540 AVRC_STS_BAD_PARAM, pavrc_cmd->cmd.opcode); in btif_rc_upstreams_evt()
1546 (btrc_event_id_t)pavrc_cmd->reg_notif.event_id, in btif_rc_upstreams_evt()
1547 pavrc_cmd->reg_notif.param, p_dev->rc_addr); in btif_rc_upstreams_evt()
1565 num_attr = pavrc_cmd->get_items.attr_count; in btif_rc_upstreams_evt()
1570 __func__, num_attr, pavrc_cmd->get_items.start_item, in btif_rc_upstreams_evt()
1571 pavrc_cmd->get_items.end_item); in btif_rc_upstreams_evt()
1579 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1580 AVRC_STS_BAD_PARAM, pavrc_cmd->cmd.opcode); in btif_rc_upstreams_evt()
1587 memcpy(attr_ids, pavrc_cmd->get_items.p_attr_list, in btif_rc_upstreams_evt()
1593 pavrc_cmd->get_items.scope, pavrc_cmd->get_items.start_item, in btif_rc_upstreams_evt()
1594 pavrc_cmd->get_items.end_item, num_attr, attr_ids, in btif_rc_upstreams_evt()
1601 pavrc_cmd->addr_player.player_id, p_dev->rc_addr); in btif_rc_upstreams_evt()
1607 pavrc_cmd->br_player.player_id, p_dev->rc_addr); in btif_rc_upstreams_evt()
1612 __func__, pavrc_cmd->continu.target_pdu); in btif_rc_upstreams_evt()
1620 avrc_rsp.continu.target_pdu = pavrc_cmd->continu.target_pdu; in btif_rc_upstreams_evt()
1627 pavrc_cmd->abort.target_pdu); in btif_rc_upstreams_evt()
1635 avrc_rsp.abort.target_pdu = pavrc_cmd->continu.target_pdu; in btif_rc_upstreams_evt()
1642 HAL_CBACK(bt_rc_callbacks, change_path_cb, pavrc_cmd->chg_path.direction, in btif_rc_upstreams_evt()
1643 pavrc_cmd->chg_path.folder_uid, p_dev->rc_addr); in btif_rc_upstreams_evt()
1648 HAL_CBACK(bt_rc_callbacks, search_cb, pavrc_cmd->search.string.charset_id, in btif_rc_upstreams_evt()
1649 pavrc_cmd->search.string.str_len, in btif_rc_upstreams_evt()
1650 pavrc_cmd->search.string.p_str, p_dev->rc_addr); in btif_rc_upstreams_evt()
1656 pavrc_cmd->get_attrs.attr_count, pavrc_cmd->get_attrs.p_attr_list, in btif_rc_upstreams_evt()
1662 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1663 AVRC_STS_BAD_PARAM, pavrc_cmd->cmd.opcode); in btif_rc_upstreams_evt()
1669 HAL_CBACK(bt_rc_callbacks, get_item_attr_cb, pavrc_cmd->get_attrs.scope, in btif_rc_upstreams_evt()
1670 pavrc_cmd->get_attrs.uid, pavrc_cmd->get_attrs.uid_counter, in btif_rc_upstreams_evt()
1677 pavrc_cmd->get_num_of_items.scope, p_dev->rc_addr); in btif_rc_upstreams_evt()
1683 pavrc_cmd->add_to_play.scope, pavrc_cmd->add_to_play.uid, in btif_rc_upstreams_evt()
1684 pavrc_cmd->add_to_play.uid_counter, p_dev->rc_addr); in btif_rc_upstreams_evt()
1689 HAL_CBACK(bt_rc_callbacks, play_item_cb, pavrc_cmd->play_item.scope, in btif_rc_upstreams_evt()
1690 pavrc_cmd->play_item.uid_counter, pavrc_cmd->play_item.uid, in btif_rc_upstreams_evt()
1695 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1696 AVRC_STS_BAD_CMD, pavrc_cmd->cmd.opcode); in btif_rc_upstreams_evt()
1712 tAVRC_COMMAND* pavrc_cmd, in btif_rc_ctrl_upstreams_rsp_cmd() argument
1716 dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle); in btif_rc_ctrl_upstreams_rsp_cmd()
1722 pavrc_cmd->volume.volume, label)); in btif_rc_ctrl_upstreams_rsp_cmd()
1725 if (pavrc_cmd->reg_notif.event_id == AVRC_EVT_VOLUME_CHANGE) { in btif_rc_ctrl_upstreams_rsp_cmd()