Lines Matching refs:pdu
254 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
256 static uint8_t opcode_from_pdu(uint8_t pdu);
989 __func__, pmeta_msg->code, avrc_command.cmd.pdu, in handle_rc_metamsg_cmd()
998 avrc_command.pdu, status, in handle_rc_metamsg_cmd()
1003 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) { in handle_rc_metamsg_cmd()
1016 __func__, dump_rc_pdu(avrc_command.cmd.pdu)); in handle_rc_metamsg_cmd()
1021 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu, &avrc_command, in handle_rc_metamsg_cmd()
1249 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu, in send_reject_response() argument
1257 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1269 __func__, rc_handle, dump_rc_pdu(pdu), status); in send_reject_response()
1329 dump_rc_pdu(pmetamsg_resp->rsp.pdu)); in send_metamsg_rsp()
1340 if ((pmetamsg_resp->rsp.pdu == AVRC_PDU_REGISTER_NOTIFICATION) && in send_metamsg_rsp()
1399 static uint8_t opcode_from_pdu(uint8_t pdu) { in opcode_from_pdu() argument
1402 switch (pdu) { in opcode_from_pdu()
1498 __func__, dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle, in btif_rc_upstreams_evt()
1513 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1525 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1539 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1556 avrc_rsp.inform_charset.pdu = AVRC_PDU_INFORM_DISPLAY_CHARSET; in btif_rc_upstreams_evt()
1579 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1618 avrc_rsp.continu.pdu = AVRC_PDU_REQUEST_CONTINUATION_RSP; in btif_rc_upstreams_evt()
1633 avrc_rsp.abort.pdu = AVRC_PDU_ABORT_CONTINUATION_RSP; in btif_rc_upstreams_evt()
1662 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1695 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1716 dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle); in btif_rc_ctrl_upstreams_rsp_cmd()
1749 dump_rc_pdu(pavrc_resp->pdu), p_dev->rc_handle, ctype, in btif_rc_upstreams_rsp_evt()
1877 avrc_rsp.get_play_status.pdu = AVRC_PDU_GET_PLAY_STATUS; in get_play_status_rsp()
1940 avrc_rsp.get_attrs.pdu = AVRC_PDU_GET_ELEMENT_ATTR; in get_element_attr_rsp()
1972 avrc_rsp.reg_notif.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in register_notification_rsp()
2083 avrc_rsp.get_items.pdu = AVRC_PDU_GET_FOLDER_ITEMS; in get_folder_items_list_rsp()
2196 avrc_rsp.pdu, avrc_rsp.get_items.status, avrc_rsp.get_items.opcode); in get_folder_items_list_rsp()
2227 avrc_rsp.addr_player.pdu = AVRC_PDU_SET_ADDRESSED_PLAYER; in set_addressed_player_rsp()
2278 avrc_rsp.br_player.pdu = AVRC_PDU_SET_BROWSED_PLAYER; in set_browsed_player_rsp()
2352 avrc_rsp.pdu, avrc_rsp.br_player.status, avrc_rsp.get_items.opcode); in set_browsed_player_rsp()
2384 avrc_rsp.chg_path.pdu = AVRC_PDU_CHANGE_PATH; in change_path_rsp()
2417 avrc_rsp.search.pdu = AVRC_PDU_SEARCH; in search_rsp()
2461 avrc_rsp.get_attrs.pdu = AVRC_PDU_GET_ITEM_ATTRIBUTES; in get_item_attr_rsp()
2492 avrc_rsp.add_to_play.pdu = AVRC_PDU_ADD_TO_NOW_PLAYING; in add_to_now_playing_rsp()
2524 avrc_rsp.play_item.pdu = AVRC_PDU_PLAY_ITEM; in play_item_rsp()
2558 avrc_rsp.get_num_of_items.pdu = AVRC_PDU_GET_TOTAL_NUM_OF_ITEMS; in get_total_num_of_items_rsp()
2619 tAVRC_COMMAND avrc_cmd = {.volume = {.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME, in set_volume()
2673 avrc_cmd.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in register_volumechange()
2722 avrc_response.reg_notif.pdu, status, pmeta_msg->label); in handle_rc_metamsg_rsp()
2725 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
2730 } else if (AVRC_PDU_SET_ABSOLUTE_VOLUME == avrc_response.rsp.pdu) { in handle_rc_metamsg_rsp()
2736 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
2747 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
2764 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
2770 } else if (AVRC_PDU_SET_ABSOLUTE_VOLUME == avrc_response.rsp.pdu) { in handle_rc_metamsg_rsp()
2776 __func__, dump_rc_pdu(avrc_response.pdu)); in handle_rc_metamsg_rsp()
2777 btif_rc_upstreams_rsp_evt((uint16_t)avrc_response.rsp.pdu, &avrc_response, in handle_rc_metamsg_rsp()
3087 dump_rc_pdu(avrc_cmd->pdu), p_transaction->lbl); in build_and_send_vendor_cmd()
3092 start_status_command_timer(avrc_cmd->pdu, p_transaction, p_dev); in build_and_send_vendor_cmd()
3094 start_control_command_timer(avrc_cmd->pdu, p_transaction, p_dev); in build_and_send_vendor_cmd()
4344 status, avrc_response.pdu, in handle_avk_rc_metamsg_rsp()
4347 switch (avrc_response.pdu) { in handle_avk_rc_metamsg_rsp()
4401 BTIF_TRACE_DEBUG("%s AVRC_OP_BROWSE pdu %d", __func__, avrc_response.pdu); in handle_avk_rc_metamsg_rsp()
4403 switch (avrc_response.pdu) { in handle_avk_rc_metamsg_rsp()
4450 __func__, pmeta_msg->code, avrc_cmd.pdu, pmeta_msg->label); in handle_avk_rc_metamsg_cmd()
4457 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_cmd.pdu, in handle_avk_rc_metamsg_cmd()
4467 if (avrc_cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) { in handle_avk_rc_metamsg_cmd()
4471 } else if (avrc_cmd.pdu == AVRC_PDU_SET_ABSOLUTE_VOLUME) { in handle_avk_rc_metamsg_cmd()
4475 btif_rc_ctrl_upstreams_rsp_cmd(avrc_cmd.pdu, &avrc_cmd, pmeta_msg->label, in handle_avk_rc_metamsg_cmd()
4553 avrc_cmd.get_caps.pdu = AVRC_PDU_GET_CAPABILITIES; in getcapabilities_cmd()
4575 avrc_cmd.list_app_attr.pdu = AVRC_PDU_LIST_PLAYER_APP_ATTR; in list_player_app_setting_attrib_cmd()
4598 avrc_cmd.list_app_values.pdu = AVRC_PDU_LIST_PLAYER_APP_VALUES; in list_player_app_setting_value_cmd()
4623 avrc_cmd.get_cur_app_val.pdu = AVRC_PDU_GET_CUR_PLAYER_APP_VALUE; in get_player_app_setting_cmd()
4711 avrc_cmd.pdu = AVRC_PDU_GET_ITEM_ATTRIBUTES; in get_item_attribute_cmd()
4784 avrc_cmd.chg_path.pdu = AVRC_PDU_CHANGE_PATH; in change_folder_path_cmd()
4816 avrc_cmd.br_player.pdu = AVRC_PDU_SET_BROWSED_PLAYER; in set_browsed_player_cmd()
4845 avrc_cmd.addr_player.pdu = AVRC_PDU_SET_ADDRESSED_PLAYER; in set_addressed_player_cmd()
4883 avrc_cmd.get_items.pdu = AVRC_PDU_GET_FOLDER_ITEMS; in get_folder_items_cmd()
4914 avrc_cmd.set_app_val.pdu = AVRC_PDU_SET_PLAYER_APP_VALUE; in change_player_app_setting()
4944 avrc_cmd.pdu = AVRC_PDU_PLAY_ITEM; in play_item_cmd()
4970 avrc_cmd.pdu = AVRC_PDU_GET_PLAYER_APP_ATTR_TEXT; in get_player_app_setting_attr_text_cmd()
4996 avrc_cmd.pdu = AVRC_PDU_GET_PLAYER_APP_VALUE_TEXT; in get_player_app_setting_value_text_cmd()
5027 avrc_cmd.reg_notif.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in register_notification_cmd()
5097 avrc_cmd.get_elem_attrs.pdu = AVRC_PDU_GET_ELEMENT_ATTR; in get_element_attribute_cmd()
5120 avrc_cmd.get_play_status.pdu = AVRC_PDU_GET_PLAY_STATUS; in get_play_status_cmd()
5147 avrc_rsp.volume.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME; in set_volume_rsp()
5190 avrc_rsp.reg_notif.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in volume_change_notification_rsp()