Lines Matching refs:pdu

233     UINT8 pdu, UINT8 status);
234 static UINT8 opcode_from_pdu(UINT8 pdu);
877 avrc_rsp.rsp.pdu = pavrc_command->pdu; in handle_uid_changed_notification()
947 __FUNCTION__, pmeta_msg->code, avrc_command.cmd.pdu, pmeta_msg->label); in handle_rc_metamsg_cmd()
954 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_command.pdu, status); in handle_rc_metamsg_cmd()
960 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) in handle_rc_metamsg_cmd()
977 __FUNCTION__, dump_rc_pdu(avrc_command.cmd.pdu)); in handle_rc_metamsg_cmd()
982 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu, &avrc_command, pmeta_msg->code, in handle_rc_metamsg_cmd()
1198 static void send_reject_response (UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status) in send_reject_response() argument
1205 avrc_rsp.rsp.opcode = opcode_from_pdu(pdu); in send_reject_response()
1206 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1212 __FUNCTION__, rc_handle, dump_rc_pdu(pdu), status); in send_reject_response()
1241 rc_handle, label, code, dump_rc_pdu(pmetamsg_resp->rsp.pdu)); in send_metamsg_rsp()
1271 if ((pmetamsg_resp->rsp.pdu == AVRC_PDU_REGISTER_NOTIFICATION) && (code == AVRC_RSP_CHANGED)) in send_metamsg_rsp()
1330 static UINT8 opcode_from_pdu(UINT8 pdu) in opcode_from_pdu() argument
1334 switch (pdu) in opcode_from_pdu()
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()
1400 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, 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()
1462 avrc_rsp.inform_charset.pdu=AVRC_PDU_INFORM_DISPLAY_CHARSET; 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()
1492 dump_rc_pdu(pavrc_cmd->pdu), btif_rc_cb.rc_handle); in btif_rc_ctrl_upstreams_rsp_cmd()
1527 dump_rc_pdu(pavrc_resp->pdu), btif_rc_cb.rc_handle, ctype, label); in btif_rc_upstreams_rsp_evt()
1651 avrc_rsp.get_play_status.pdu = AVRC_PDU_GET_PLAY_STATUS; in get_play_status_rsp()
1697 avrc_rsp.get_elem_attrs.pdu = AVRC_PDU_GET_ELEMENT_ATTR; in get_element_attr_rsp()
1746 avrc_rsp.reg_notif.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in register_notification_rsp()
1792 avrc_cmd.volume.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME; in set_volume()
1847 avrc_cmd.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in register_volumechange()
1890 __FUNCTION__,pmeta_msg->code,avrc_response.reg_notif.event_id,avrc_response.reg_notif.pdu, in handle_rc_metamsg_rsp()
1895 if (AVRC_PDU_REGISTER_NOTIFICATION==avrc_response.rsp.pdu in handle_rc_metamsg_rsp()
1902 else if (AVRC_PDU_SET_ABSOLUTE_VOLUME==avrc_response.rsp.pdu) in handle_rc_metamsg_rsp()
1908 else if (AVRC_PDU_REGISTER_NOTIFICATION==avrc_response.rsp.pdu in handle_rc_metamsg_rsp()
1925 if (AVRC_PDU_REGISTER_NOTIFICATION==avrc_response.rsp.pdu in handle_rc_metamsg_rsp()
1933 else if (AVRC_PDU_SET_ABSOLUTE_VOLUME==avrc_response.rsp.pdu) in handle_rc_metamsg_rsp()
1940 __FUNCTION__, dump_rc_pdu(avrc_response.pdu)); in handle_rc_metamsg_rsp()
1941 btif_rc_upstreams_rsp_evt((uint16_t)avrc_response.rsp.pdu, &avrc_response, pmeta_msg->code, in handle_rc_metamsg_rsp()
3123 __FUNCTION__, status, avrc_response.pdu, in handle_avk_rc_metamsg_rsp()
3126 switch (avrc_response.pdu) in handle_avk_rc_metamsg_rsp()
3204 __FUNCTION__, pmeta_msg->code, avrc_cmd.pdu, pmeta_msg->label); in handle_avk_rc_metamsg_cmd()
3211 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_cmd.pdu, status); in handle_avk_rc_metamsg_cmd()
3215 if (avrc_cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION) in handle_avk_rc_metamsg_cmd()
3221 else if (avrc_cmd.pdu == AVRC_PDU_SET_ABSOLUTE_VOLUME) in handle_avk_rc_metamsg_cmd()
3225 btif_rc_ctrl_upstreams_rsp_cmd(avrc_cmd.pdu, &avrc_cmd, pmeta_msg->label); in handle_avk_rc_metamsg_cmd()
3307 avrc_cmd.get_caps.pdu = AVRC_PDU_GET_CAPABILITIES; in getcapabilities_cmd()
3355 avrc_cmd.list_app_attr.pdu = AVRC_PDU_LIST_PLAYER_APP_ATTR; in list_player_app_setting_attrib_cmd()
3405 avrc_cmd.list_app_values.pdu = AVRC_PDU_LIST_PLAYER_APP_VALUES; in list_player_app_setting_value_cmd()
3455 avrc_cmd.get_cur_app_val.pdu = AVRC_PDU_GET_CUR_PLAYER_APP_VALUE; in get_player_app_setting_cmd()
3510 avrc_cmd.set_app_val.pdu = AVRC_PDU_SET_PLAYER_APP_VALUE; in change_player_app_setting()
3568 avrc_cmd.pdu = AVRC_PDU_GET_PLAYER_APP_ATTR_TEXT; in get_player_app_setting_attr_text_cmd()
3625 avrc_cmd.pdu = AVRC_PDU_GET_PLAYER_APP_VALUE_TEXT; in get_player_app_setting_value_text_cmd()
3683 avrc_cmd.reg_notif.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in register_notification_cmd()
3740 avrc_cmd.get_elem_attrs.pdu = AVRC_PDU_GET_ELEMENT_ATTR; in get_element_attribute_cmd()
3798 avrc_cmd.get_play_status.pdu = AVRC_PDU_GET_PLAY_STATUS; in get_play_status_cmd()
3847 avrc_rsp.volume.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME; in set_volume_rsp()
3895 avrc_rsp.reg_notif.pdu = AVRC_PDU_REGISTER_NOTIFICATION; in volume_change_notification_rsp()