Lines Matching defs:rc_handle
86 send_metamsg_rsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_pdu_info[index].label, \
111 UINT8 rc_handle;
191 static void send_reject_response (UINT8 rc_handle, UINT8 label,
194 static void send_metamsg_rsp (UINT8 rc_handle, UINT8 label,
423 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __FUNCTION__, p_rc_open->rc_handle);
439 btif_rc_cb.rc_handle = p_rc_open->rc_handle;
480 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __FUNCTION__, p_rc_close->rc_handle);
482 btif_rc_cb.rc_handle = 0;
656 send_metamsg_rsp(pmeta_msg->rc_handle, pmeta_msg->label, AVRC_RSP_INTERIM, &avrc_rsp);
657 send_metamsg_rsp(pmeta_msg->rc_handle, pmeta_msg->label, AVRC_RSP_CHANGED, &avrc_rsp);
728 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_command.pdu, status);
813 p_data->meta_msg.len, p_data->meta_msg.rc_handle);
861 remote_cmd.rc_handle = btif_rc_cb.rc_handle;
885 static void send_reject_response (UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status)
896 if (AVRC_STS_NO_ERROR == (status = AVRC_BldResponse(rc_handle, &avrc_rsp, &p_msg)) )
899 __FUNCTION__, rc_handle, dump_rc_pdu(pdu), status);
900 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg);
908 * rc_handle RC handle corresponding to the connected RC
916 static void send_metamsg_rsp (UINT8 rc_handle, UINT8 label, tBTA_AV_CODE code,
928 BTIF_TRACE_EVENT("+%s: rc_handle
929 rc_handle, label, code, dump_rc_pdu(pmetamsg_resp->rsp.pdu));
967 BTIF_TRACE_DEBUG("%s rc_handle: %d. event_id: 0x%02d bNotify:%u", __FUNCTION__,
968 btif_rc_cb.rc_handle, event_id, bNotify);
974 if (AVRC_STS_NO_ERROR == (status = AVRC_BldResponse(btif_rc_cb.rc_handle,
977 BTIF_TRACE_DEBUG("%s Sending notification to rc_handle: %d. event_id: 0x%02d",
978 __FUNCTION__, btif_rc_cb.rc_handle, event_id);
980 BTA_AvMetaRsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_notif[event_id-1].label,
1004 status = AVRC_BldResponse(rc_handle, pmetamsg_resp, &p_msg);
1008 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg);
1049 dump_rc_pdu(pavrc_cmd->pdu), btif_rc_cb.rc_handle, ctype, label);
1067 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, AVRC_STS_BAD_CMD);
1088 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu,
1109 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu, AVRC_STS_BAD_PARAM);
1128 send_metamsg_rsp(btif_rc_cb.rc_handle, label, ctype, &avrc_rsp);
1134 send_reject_response (btif_rc_cb.rc_handle, label, pavrc_cmd->pdu,
1156 dump_rc_pdu(pavrc_resp->pdu), btif_rc_cb.rc_handle, ctype, label);
1362 send_metamsg_rsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_notif[event_id-1].label,
1414 BTA_AvMetaCmd(btif_rc_cb.rc_handle,p_transaction->lbl, AVRC_CMD_CTRL, p_msg);
1471 BTA_AvMetaCmd(btif_rc_cb.rc_handle,p_transaction->lbl, AVRC_CMD_NOTIF, p_msg);
1599 BTA_AvRemoteCmd(btif_rc_cb.rc_handle, p_transaction->lbl,