Lines Matching refs:rc_handle
173 uint8_t rc_handle; member
251 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
418 (btif_rc_cb.rc_multi_cb[idx].rc_handle == handle)) { in btif_rc_get_device_by_handle()
420 __func__, btif_rc_cb.rc_multi_cb[idx].rc_handle); in btif_rc_get_device_by_handle()
571 p_rc_br_open->rc_handle, p_rc_br_open->status); in handle_rc_browse_connect()
573 btif_rc_get_device_by_handle(p_rc_br_open->rc_handle); in handle_rc_browse_connect()
600 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __func__, p_rc_open->rc_handle); in handle_rc_connect()
619 __func__, p_dev->rc_handle, p_rc_open->rc_handle); in handle_rc_connect()
620 if ((p_dev->rc_handle != p_rc_open->rc_handle) && in handle_rc_connect()
623 BTA_AvCloseRc(p_rc_open->rc_handle); in handle_rc_connect()
635 p_dev->rc_handle = p_rc_open->rc_handle; in handle_rc_connect()
663 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __func__, p_rc_close->rc_handle); in handle_rc_disconnect()
665 p_dev = btif_rc_get_device_by_handle(p_rc_close->rc_handle); in handle_rc_disconnect()
671 if ((p_rc_close->rc_handle != p_dev->rc_handle) && in handle_rc_disconnect()
691 p_dev->rc_handle = 0; in handle_rc_disconnect()
732 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle); in handle_rc_passthrough_cmd()
791 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_passthrough_rsp()
830 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_vendorunique_rsp()
892 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_rc_metamsg_cmd()
936 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, in handle_rc_metamsg_cmd()
1022 p_dev = btif_rc_get_device_by_handle(p_data->rc_feat.rc_handle); in btif_rc_handler()
1045 p_data->meta_msg.rc_handle); in btif_rc_handler()
1060 p_data->meta_msg.rc_handle); in btif_rc_handler()
1131 return p_dev->rc_handle; in btif_rc_get_connected_peer_handle()
1163 remote_cmd.rc_handle = p_dev->rc_handle; in btif_rc_check_handle_pending_play()
1187 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu, in send_reject_response() argument
1198 status = AVRC_BldResponse(rc_handle, &avrc_rsp, &p_msg); in send_reject_response()
1207 __func__, rc_handle, dump_rc_pdu(pdu), status); in send_reject_response()
1208 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg); in send_reject_response()
1266 __func__, p_dev->rc_handle, index, label, code, in send_metamsg_rsp()
1288 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
1294 p_dev->rc_handle, pmetamsg_resp, &p_msg))) { in send_metamsg_rsp()
1297 __func__, p_dev->rc_handle, event_id); in send_metamsg_rsp()
1299 BTA_AvMetaRsp(p_dev->rc_handle, p_dev->rc_notif[event_id - 1].label, in send_metamsg_rsp()
1320 status = AVRC_BldResponse(p_dev->rc_handle, pmetamsg_resp, &p_msg); in send_metamsg_rsp()
1323 BTA_AvMetaRsp(p_dev->rc_handle, label, ctype, p_msg); in send_metamsg_rsp()
1438 __func__, dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle, in btif_rc_upstreams_evt()
1456 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1469 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1483 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1523 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1606 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1639 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1660 dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle); in btif_rc_ctrl_upstreams_rsp_cmd()
1691 dump_rc_pdu(pavrc_resp->pdu), p_dev->rc_handle, ctype, in btif_rc_upstreams_rsp_evt()
1945 __func__, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1952 __func__, event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1958 event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
2148 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in get_folder_items_list_rsp()
2167 BTA_AvMetaRsp(p_dev->rc_handle, in get_folder_items_list_rsp()
2175 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_GET_FOLDER_ITEMS_RSP].label, in get_folder_items_list_rsp()
2291 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in set_browsed_player_rsp()
2306 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in set_browsed_player_rsp()
2323 BTA_AvMetaRsp(p_dev->rc_handle, in set_browsed_player_rsp()
2331 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_SET_BROWSED_PLAYER_RSP].label, in set_browsed_player_rsp()
2611 BTA_AvMetaCmd(btif_rc_cb.rc_multi_cb[idx].rc_handle, in set_volume()
2662 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_NOTIF, in register_volumechange()
2873 meta_msg.rc_handle = p_dev->rc_handle; in btif_rc_status_cmd_timeout_handler()
2962 meta_msg.rc_handle = p_dev->rc_handle; in btif_rc_control_cmd_timeout_handler()
3000 btif_rc_handle_t* rc_handle = (btif_rc_handle_t*)p_data; in btif_rc_play_status_timeout_handler() local
3001 btif_rc_device_cb_t* p_dev = btif_rc_get_device_by_handle(rc_handle->handle); in btif_rc_play_status_timeout_handler()
3004 __func__, rc_handle->handle); in btif_rc_play_status_timeout_handler()
3022 btif_rc_handle_t rc_handle; in btif_rc_play_status_timer_timeout() local
3023 rc_handle.handle = PTR_TO_UINT(data); in btif_rc_play_status_timer_timeout()
3024 BTIF_TRACE_DEBUG("%s called with handle: %d", __func__, rc_handle); in btif_rc_play_status_timer_timeout()
3026 (char*)(&rc_handle), sizeof(btif_rc_handle_t), NULL); in btif_rc_play_status_timer_timeout()
3046 UINT_TO_PTR(p_dev->rc_handle), btu_general_alarm_queue); in rc_start_play_status_timer()
3145 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start, in build_and_send_vendor_cmd()
3175 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_capability_response()
3250 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_notification_response()
3441 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_attr_response()
3493 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_val_response()
3576 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_cur_val_response()
3619 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_attr_txt_response()
3693 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_attr_val_txt_response()
3801 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_set_app_attr_val_response()
3832 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_elem_attr_response()
3889 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_playstatus_response()
3921 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_set_addressed_player_response()
3951 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_folder_items_response()
4189 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_change_path_response()
4214 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_set_browsed_player_response()
4380 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_cmd.pdu, in handle_avk_rc_metamsg_cmd()
4383 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_avk_rc_metamsg_cmd()
4683 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in change_folder_path_cmd()
4730 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in set_browsed_player_cmd()
4779 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in set_addressed_player_cmd()
4837 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in get_folder_items_cmd()
4984 BTA_AvVendorCmd(p_dev->rc_handle, label, AVRC_CMD_NOTIF, data_start, in register_notification_cmd()
5069 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in set_volume_rsp()
5075 BTA_AvVendorRsp(p_dev->rc_handle, label, BTA_AV_RSP_ACCEPT, data_start, in set_volume_rsp()
5114 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in volume_change_notification_rsp()
5119 BTA_AvVendorRsp(p_dev->rc_handle, label, in volume_change_notification_rsp()
5162 BTA_AvRemoteVendorUniqueCmd(p_dev->rc_handle, p_transaction->lbl, in send_groupnavigation_cmd()
5203 BTA_AvRemoteCmd(p_dev->rc_handle, p_transaction->lbl, in send_passthrough_cmd()