Lines Matching refs:rc_handle
175 uint8_t rc_handle; member
254 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
446 (btif_rc_cb.rc_multi_cb[idx].rc_handle == handle)) { in btif_rc_get_device_by_handle()
448 __func__, btif_rc_cb.rc_multi_cb[idx].rc_handle); in btif_rc_get_device_by_handle()
628 p_rc_br_open->rc_handle, p_rc_br_open->status); in handle_rc_browse_connect()
630 btif_rc_get_device_by_handle(p_rc_br_open->rc_handle); in handle_rc_browse_connect()
657 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __func__, p_rc_open->rc_handle); in handle_rc_connect()
676 __func__, p_dev->rc_handle, p_rc_open->rc_handle); in handle_rc_connect()
677 if (p_dev->rc_handle != p_rc_open->rc_handle && in handle_rc_connect()
680 BTA_AvCloseRc(p_rc_open->rc_handle); in handle_rc_connect()
695 p_dev->rc_handle = p_rc_open->rc_handle; in handle_rc_connect()
726 BTIF_TRACE_DEBUG("%s: rc_handle: %d", __func__, p_rc_close->rc_handle); in handle_rc_disconnect()
728 p_dev = btif_rc_get_device_by_handle(p_rc_close->rc_handle); in handle_rc_disconnect()
734 if (p_rc_close->rc_handle != p_dev->rc_handle && in handle_rc_disconnect()
757 p_dev->rc_handle = 0; in handle_rc_disconnect()
794 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle); in handle_rc_passthrough_cmd()
850 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_passthrough_rsp()
890 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_vendorunique_rsp()
953 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_rc_metamsg_cmd()
997 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, in handle_rc_metamsg_cmd()
1084 p_dev = btif_rc_get_device_by_handle(p_data->rc_feat.rc_handle); in btif_rc_handler()
1104 p_dev = btif_rc_get_device_by_handle(p_data->rc_cover_art_psm.rc_handle); in btif_rc_handler()
1123 p_data->meta_msg.rc_handle); in btif_rc_handler()
1138 p_data->meta_msg.rc_handle); in btif_rc_handler()
1195 return p_dev->rc_handle; in btif_rc_get_connected_peer_handle()
1225 remote_cmd.rc_handle = p_dev->rc_handle; in btif_rc_check_handle_pending_play()
1249 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu, in send_reject_response() argument
1260 status = AVRC_BldResponse(rc_handle, &avrc_rsp, &p_msg); in send_reject_response()
1269 __func__, rc_handle, dump_rc_pdu(pdu), status); in send_reject_response()
1270 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg); in send_reject_response()
1328 __func__, p_dev->rc_handle, index, label, code, in send_metamsg_rsp()
1350 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
1356 p_dev->rc_handle, pmetamsg_resp, &p_msg))) { in send_metamsg_rsp()
1359 __func__, p_dev->rc_handle, event_id); in send_metamsg_rsp()
1361 BTA_AvMetaRsp(p_dev->rc_handle, p_dev->rc_notif[event_id - 1].label, in send_metamsg_rsp()
1382 status = AVRC_BldResponse(p_dev->rc_handle, pmetamsg_resp, &p_msg); in send_metamsg_rsp()
1385 BTA_AvMetaRsp(p_dev->rc_handle, label, ctype, p_msg); in send_metamsg_rsp()
1498 __func__, dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle, in btif_rc_upstreams_evt()
1513 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1525 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1539 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1579 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1662 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1695 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1716 dump_rc_pdu(pavrc_cmd->pdu), p_dev->rc_handle); in btif_rc_ctrl_upstreams_rsp_cmd()
1749 dump_rc_pdu(pavrc_resp->pdu), p_dev->rc_handle, ctype, in btif_rc_upstreams_rsp_evt()
1981 __func__, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1988 __func__, event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1994 event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
2168 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in get_folder_items_list_rsp()
2187 BTA_AvMetaRsp(p_dev->rc_handle, in get_folder_items_list_rsp()
2195 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_GET_FOLDER_ITEMS_RSP].label, in get_folder_items_list_rsp()
2311 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in set_browsed_player_rsp()
2326 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in set_browsed_player_rsp()
2343 BTA_AvMetaRsp(p_dev->rc_handle, in set_browsed_player_rsp()
2351 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_SET_BROWSED_PLAYER_RSP].label, in set_browsed_player_rsp()
2647 BTA_AvMetaCmd(btif_rc_cb.rc_multi_cb[idx].rc_handle, p_transaction->lbl, in set_volume()
2682 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_NOTIF, in register_volumechange()
2889 meta_msg.rc_handle = p_dev->rc_handle; in btif_rc_status_cmd_timeout_handler()
2976 meta_msg.rc_handle = p_dev->rc_handle; in btif_rc_control_cmd_timeout_handler()
3088 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start, in build_and_send_vendor_cmd()
3138 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in build_and_send_browsing_cmd()
3156 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_capability_response()
3243 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_notification_response()
3449 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_attr_response()
3502 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_val_response()
3586 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_cur_val_response()
3635 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_attr_txt_response()
3710 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_app_attr_val_txt_response()
3835 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_set_app_attr_val_response()
3866 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_metadata_attr_response()
3918 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_playstatus_response()
3954 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_set_addressed_player_response()
3984 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_get_folder_items_response()
4264 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_change_path_response()
4288 btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_set_browsed_player_response()
4457 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_cmd.pdu, in handle_avk_rc_metamsg_cmd()
4460 p_dev = btif_rc_get_device_by_handle(pmeta_msg->rc_handle); in handle_avk_rc_metamsg_cmd()
5037 BTA_AvVendorCmd(p_dev->rc_handle, label, AVRC_CMD_NOTIF, data_start, in register_notification_cmd()
5150 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in set_volume_rsp()
5156 BTA_AvVendorRsp(p_dev->rc_handle, label, AVRC_RSP_ACCEPT, data_start, in set_volume_rsp()
5195 status = AVRC_BldResponse(p_dev->rc_handle, &avrc_rsp, &p_msg); in volume_change_notification_rsp()
5200 BTA_AvVendorRsp(p_dev->rc_handle, label, in volume_change_notification_rsp()
5243 BTA_AvRemoteVendorUniqueCmd(p_dev->rc_handle, p_transaction->lbl, in send_groupnavigation_cmd()
5284 BTA_AvRemoteCmd(p_dev->rc_handle, p_transaction->lbl, in send_passthrough_cmd()