Home | History | Annotate | Download | only in src

Lines Matching defs:rc_handle

84     send_metamsg_rsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_pdu_info[index].label,                \
109 UINT8 rc_handle;
145 static void send_reject_response (UINT8 rc_handle, UINT8 label,
148 static void send_metamsg_rsp (UINT8 rc_handle, UINT8 label,
307 BTIF_TRACE_DEBUG2("%s: rc_handle: %d", __FUNCTION__, p_rc_open->rc_handle);
318 btif_rc_cb.rc_handle = p_rc_open->rc_handle;
344 BTIF_TRACE_DEBUG2("%s: rc_handle: %d", __FUNCTION__, p_rc_close->rc_handle);
346 btif_rc_cb.rc_handle = 0;
456 send_metamsg_rsp(pmeta_msg->rc_handle, pmeta_msg->label, AVRC_RSP_INTERIM, &avrc_rsp);
457 send_metamsg_rsp(pmeta_msg->rc_handle, pmeta_msg->label, AVRC_RSP_CHANGED, &avrc_rsp);
506 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_command.pdu, status);
582 p_data->meta_msg.len, p_data->meta_msg.rc_handle);
628 remote_cmd.rc_handle = btif_rc_cb.rc_handle;
652 static void send_reject_response (UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status)
663 if (AVRC_STS_NO_ERROR == (status = AVRC_BldResponse(rc_handle, &avrc_rsp, &p_msg)) )
666 __FUNCTION__, rc_handle, dump_rc_pdu(pdu), status);
667 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg);
675 * rc_handle RC handle corresponding to the connected RC
683 static void send_metamsg_rsp (UINT8 rc_handle, UINT8 label, tBTA_AV_CODE code,
695 BTIF_TRACE_EVENT5("+%s: rc_handle: %d, label: %d, code: 0x%02x, pdu: %s", __FUNCTION__,
696 rc_handle, label, code, dump_rc_pdu(pmetamsg_resp->rsp.pdu));
734 BTIF_TRACE_DEBUG4("%s rc_handle: %d. event_id: 0x%02d bNotify:%u", __FUNCTION__,
735 btif_rc_cb.rc_handle, event_id, bNotify);
741 if (AVRC_STS_NO_ERROR == (status = AVRC_BldResponse(btif_rc_cb.rc_handle,
744 BTIF_TRACE_DEBUG3("%s Sending notification to rc_handle: %d. event_id: 0x%02d",
745 __FUNCTION__, btif_rc_cb.rc_handle, event_id);
747 BTA_AvMetaRsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_notif[event_id-1].label,
771 status = AVRC_BldResponse(rc_handle, pmetamsg_resp, &p_msg);
775 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg);
816 dump_rc_pdu(pavrc_cmd->pdu), btif_rc_cb.rc_handle, ctype, label);
834 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, AVRC_STS_BAD_CMD);
855 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu,
876 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, AVRC_STS_BAD_PARAM);
895 send_metamsg_rsp(btif_rc_cb.rc_handle, label, ctype, &avrc_rsp);
901 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu,
1053 send_metamsg_rsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_notif[event_id-1].label,