Lines Matching refs:rc_handle

175   uint8_t rc_handle;
253 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
420 (btif_rc_cb.rc_multi_cb[idx].rc_handle == handle)) {
421 BTIF_TRACE_DEBUG("%s: btif_rc_cb.rc_multi_cb[idx].rc_handle: 0x%x",
422 __func__, btif_rc_cb.rc_multi_cb[idx].rc_handle);
574 BTIF_TRACE_DEBUG("%s: rc_handle %d status %d", __func__,
575 p_rc_br_open->rc_handle, p_rc_br_open->status);
577 btif_rc_get_device_by_handle(p_rc_br_open->rc_handle);
604 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __func__, p_rc_open->rc_handle);
623 __func__, p_dev->rc_handle, p_rc_open->rc_handle);
624 if (p_dev->rc_handle != p_rc_open->rc_handle &&
627 BTA_AvCloseRc(p_rc_open->rc_handle);
639 p_dev->rc_handle = p_rc_open->rc_handle;
667 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __func__, p_rc_close->rc_handle);
669 p_dev = btif_rc_get_device_by_handle(p_rc_close->rc_handle);
675 if (p_rc_close->rc_handle != p_dev->rc_handle &&
699 p_dev->rc_handle = 0;
735 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle);
791 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle);
831 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle);
894 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
938 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label,
1024 p_dev = btif_rc_get_device_by_handle(p_data->rc_feat.rc_handle);
1047 p_data->meta_msg.rc_handle);
1062 p_data->meta_msg.rc_handle);
1119 return p_dev->rc_handle;
1149 remote_cmd.rc_handle = p_dev->rc_handle;
1173 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
1184 status = AVRC_BldResponse(rc_handle, &avrc_rsp, &p_msg);
1193 __func__, rc_handle, dump_rc_pdu(pdu), status);
1194 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg);
1251 "%s: rc_handle: %d, index: %d, label: %d, code: 0x%02x, pdu: %s",
1252 __func__, p_dev->rc_handle, index, label, code,
1273 BTIF_TRACE_DEBUG("%s: rc_handle: %d. event_id: 0x%02d bNotify: %u",
1274 __func__, p_dev->rc_handle, event_id, bNotify);
1280 p_dev->rc_handle, pmetamsg_resp, &p_msg))) {
1282 "%s: Sending notification to rc_handle: %d. event_id: 0x%02d",
1283 __func__, p_dev->rc_handle, event_id);
1285 BTA_AvMetaRsp(p_dev->rc_handle, p_dev->rc_notif[event_id - 1].label,
1306 status = AVRC_BldResponse(p_dev->rc_handle, pmetamsg_resp, &p_msg);
1309 BTA_AvMetaRsp(p_dev->rc_handle, label, ctype, p_msg);
1424 __func__, dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle,
1439 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu,
1452 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu,
1466 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu,
1506 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu,
1590 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu,
1623 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu,
1644 dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle);
1677 dump_rc_pdu(pavrc_resp->pdu), p_dev->rc_handle, ctype,
1904 __func__, btif_rc_cb.rc_multi_cb[idx].rc_handle);
1911 __func__, event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle);
1917 event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle);
2091 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg);
2110 BTA_AvMetaRsp(p_dev->rc_handle,
2118 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_GET_FOLDER_ITEMS_RSP].label,
2234 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg);
2249 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg);
2266 BTA_AvMetaRsp(p_dev->rc_handle,
2274 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_SET_BROWSED_PLAYER_RSP].label,
2570 BTA_AvMetaCmd(btif_rc_cb.rc_multi_cb[idx].rc_handle, p_transaction->lbl,
2605 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_NOTIF,
2812 meta_msg.rc_handle = p_dev->rc_handle;
2899 meta_msg.rc_handle = p_dev->rc_handle;
2937 btif_rc_handle_t* rc_handle = (btif_rc_handle_t*)p_data;
2938 btif_rc_device_cb_t* p_dev = btif_rc_get_device_by_handle(rc_handle->handle);
2941 __func__, rc_handle->handle);
2959 btif_rc_handle_t rc_handle;
2960 rc_handle.handle = PTR_TO_UINT(data);
2961 BTIF_TRACE_DEBUG("%s called with handle: %d", __func__, rc_handle);
2963 (char*)(&rc_handle), sizeof(btif_rc_handle_t), NULL);
2982 btif_rc_play_status_timer_timeout, UINT_TO_PTR(p_dev->rc_handle));
3078 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start,
3108 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3183 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3389 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3440 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3524 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3573 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3648 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3773 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3804 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3859 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3891 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
3921 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
4192 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
4216 btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
4382 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_cmd.pdu,
4385 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle);
4685 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg);
4733 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg);
4783 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg);
4842 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg);
4989 BTA_AvVendorCmd(p_dev->rc_handle, label, AVRC_CMD_NOTIF, data_start,
5074 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg);
5080 BTA_AvVendorRsp(p_dev->rc_handle, label, AVRC_RSP_ACCEPT, data_start,
5119 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg);
5124 BTA_AvVendorRsp(p_dev->rc_handle, label,
5167 BTA_AvRemoteVendorUniqueCmd(p_dev->rc_handle, p_transaction->lbl,
5208 BTA_AvRemoteCmd(p_dev->rc_handle, p_transaction->lbl,