Lines Matching refs:label
113 uint8_t label; member
117 uint8_t label; member
135 uint8_t label; member
141 uint8_t label; member
146 uint8_t label; member
211 uint8_t label; member
253 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu,
257 uint8_t label, tBTA_AV_CODE code,
259 static void register_volumechange(uint8_t label, btif_rc_device_cb_t* p_dev);
263 static void release_transaction(uint8_t label);
264 static rc_transaction_t* get_transaction_by_lbl(uint8_t label);
272 uint8_t label,
306 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
332 uint8_t ctype, uint8_t label,
337 uint8_t label,
428 void fill_pdu_queue(int index, uint8_t ctype, uint8_t label, bool pending, in fill_pdu_queue() argument
431 p_dev->rc_pdu_info[index].label = label; in fill_pdu_queue()
807 release_transaction(p_remote_rsp->label); in handle_rc_passthrough_rsp()
854 release_transaction(p_remote_rsp->label); in handle_rc_vendorunique_rsp()
913 transaction = get_transaction_by_lbl(pmeta_msg->label); in handle_rc_metamsg_cmd()
919 pmeta_msg->code, pmeta_msg->label); in handle_rc_metamsg_cmd()
929 pmeta_msg->label); in handle_rc_metamsg_cmd()
936 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, in handle_rc_metamsg_cmd()
948 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
951 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
961 pmeta_msg->code, pmeta_msg->label, p_dev); in handle_rc_metamsg_cmd()
1042 p_data->meta_msg.code, p_data->meta_msg.label); in btif_rc_handler()
1055 __func__, p_data->meta_msg.code, p_data->meta_msg.label, in btif_rc_handler()
1171 static void send_reject_response(uint8_t rc_handle, uint8_t label, uint8_t pdu, in send_reject_response() argument
1192 BTA_AvMetaRsp(rc_handle, label, ctype, p_msg); in send_reject_response()
1233 uint8_t label, tBTA_AV_CODE code, in send_metamsg_rsp() argument
1250 __func__, p_dev->rc_handle, index, label, code, in send_metamsg_rsp()
1283 BTA_AvMetaRsp(p_dev->rc_handle, p_dev->rc_notif[event_id - 1].label, in send_metamsg_rsp()
1307 BTA_AvMetaRsp(p_dev->rc_handle, label, ctype, p_msg); in send_metamsg_rsp()
1316 p_dev->rc_pdu_info[index].label = 0; in send_metamsg_rsp()
1417 uint8_t ctype, uint8_t label, in btif_rc_upstreams_evt() argument
1421 ctype, label, pavrc_cmd->reg_notif.event_id); in btif_rc_upstreams_evt()
1425 fill_pdu_queue(IDX_GET_PLAY_STATUS_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1435 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1448 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1452 fill_pdu_queue(IDX_GET_ELEMENT_ATTR_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1462 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1481 send_metamsg_rsp(p_dev, -1, label, ctype, &avrc_rsp); in btif_rc_upstreams_evt()
1502 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1514 fill_pdu_queue(IDX_GET_FOLDER_ITEMS_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1522 fill_pdu_queue(IDX_SET_ADDR_PLAYER_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1528 fill_pdu_queue(IDX_SET_BROWSED_PLAYER_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1544 send_metamsg_rsp(p_dev, -1, label, ctype, &avrc_rsp); in btif_rc_upstreams_evt()
1559 send_metamsg_rsp(p_dev, -1, label, ctype, &avrc_rsp); in btif_rc_upstreams_evt()
1564 fill_pdu_queue(IDX_CHG_PATH_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1570 fill_pdu_queue(IDX_SEARCH_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1586 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1590 fill_pdu_queue(IDX_GET_ITEM_ATTR_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1599 fill_pdu_queue(IDX_GET_TOTAL_NUM_OF_ITEMS_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1605 fill_pdu_queue(IDX_ADD_TO_NOW_PLAYING_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1612 fill_pdu_queue(IDX_PLAY_ITEM_RSP, ctype, label, true, p_dev); in btif_rc_upstreams_evt()
1619 send_reject_response(p_dev->rc_handle, label, pavrc_cmd->pdu, in btif_rc_upstreams_evt()
1637 uint8_t label, in btif_rc_ctrl_upstreams_rsp_cmd() argument
1646 pavrc_cmd->volume.volume, label)); in btif_rc_ctrl_upstreams_rsp_cmd()
1653 p_dev->rc_addr, label)); in btif_rc_ctrl_upstreams_rsp_cmd()
1670 uint8_t label, in btif_rc_upstreams_rsp_evt() argument
1674 label); in btif_rc_upstreams_rsp_evt()
1811 p_dev->rc_pdu_info[IDX_GET_PLAY_STATUS_RSP].label, in get_play_status_rsp()
1864 p_dev->rc_pdu_info[IDX_GET_ELEMENT_ATTR_RSP].label, in get_element_attr_rsp()
1951 btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].label, in register_notification_rsp()
2107 p_dev->rc_pdu_info[IDX_GET_FOLDER_ITEMS_RSP].label, ctype, in get_folder_items_list_rsp()
2114 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_GET_FOLDER_ITEMS_RSP].label, in get_folder_items_list_rsp()
2120 p_dev->rc_pdu_info[IDX_GET_FOLDER_ITEMS_RSP].label = 0; in get_folder_items_list_rsp()
2152 p_dev->rc_pdu_info[IDX_SET_ADDR_PLAYER_RSP].label, in set_addressed_player_rsp()
2263 p_dev->rc_pdu_info[IDX_SET_BROWSED_PLAYER_RSP].label, ctype, in set_browsed_player_rsp()
2270 p_dev->rc_handle, p_dev->rc_pdu_info[IDX_SET_BROWSED_PLAYER_RSP].label, in set_browsed_player_rsp()
2276 p_dev->rc_pdu_info[IDX_SET_BROWSED_PLAYER_RSP].label = 0; in set_browsed_player_rsp()
2310 p_dev->rc_pdu_info[IDX_CHG_PATH_RSP].label, in change_path_rsp()
2344 p_dev->rc_pdu_info[IDX_SEARCH_RSP].label, in search_rsp()
2385 p_dev->rc_pdu_info[IDX_GET_ITEM_ATTR_RSP].label, in get_item_attr_rsp()
2417 p_dev->rc_pdu_info[IDX_ADD_TO_NOW_PLAYING_RSP].label, in add_to_now_playing_rsp()
2449 p_dev->rc_pdu_info[IDX_PLAY_ITEM_RSP].label, in play_item_rsp()
2486 p_dev->rc_pdu_info[IDX_GET_TOTAL_NUM_OF_ITEMS_RSP].label, in get_total_num_of_items_rsp()
2641 avrc_response.reg_notif.pdu, status, pmeta_msg->label); in handle_rc_metamsg_rsp()
2646 p_dev->rc_vol_label == pmeta_msg->label) { in handle_rc_metamsg_rsp()
2650 release_transaction(pmeta_msg->label); in handle_rc_metamsg_rsp()
2657 p_dev->rc_vol_label != pmeta_msg->label) { in handle_rc_metamsg_rsp()
2662 __func__, pmeta_msg->code, pmeta_msg->label); in handle_rc_metamsg_rsp()
2691 release_transaction(pmeta_msg->label); in handle_rc_metamsg_rsp()
2697 pmeta_msg->code, pmeta_msg->label, p_dev); in handle_rc_metamsg_rsp()
2736 uint8_t label = cntxt->label & 0xFF; in iterate_supported_event_list_for_timeout() local
2740 if (p_event->label == label) { in iterate_supported_event_list_for_timeout()
2757 static void rc_notification_interim_timout(uint8_t label, in rc_notification_interim_timout() argument
2762 cntxt.label = label; in rc_notification_interim_timout()
2812 rc_notification_interim_timout(p_context->rc_status_cmd.label, p_dev); in btif_rc_status_cmd_timeout_handler()
2855 release_transaction(p_context->rc_status_cmd.label); in btif_rc_status_cmd_timeout_handler()
2903 release_transaction(p_context->rc_control_cmd.label); in btif_rc_control_cmd_timeout_handler()
2955 p_event->label = p_transaction->lbl; in register_for_event_notification()
2957 p_context->rc_status_cmd.label = p_transaction->lbl; in register_for_event_notification()
2970 p_context->rc_status_cmd.label = p_txn->lbl; in start_status_command_timer()
2983 p_context->rc_control_cmd.label = p_txn->lbl; in start_control_command_timer()
4178 static void clear_cmd_timeout(uint8_t label) { in clear_cmd_timeout() argument
4181 p_txn = get_transaction_by_lbl(label); in clear_cmd_timeout()
4222 clear_cmd_timeout(pmeta_msg->label); in handle_avk_rc_metamsg_rsp()
4293 BTIF_TRACE_DEBUG("XX __func__ release transaction %d", pmeta_msg->label); in handle_avk_rc_metamsg_rsp()
4294 release_transaction(pmeta_msg->label); in handle_avk_rc_metamsg_rsp()
4317 __func__, pmeta_msg->code, avrc_cmd.pdu, pmeta_msg->label); in handle_avk_rc_metamsg_cmd()
4324 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_cmd.pdu, in handle_avk_rc_metamsg_cmd()
4342 btif_rc_ctrl_upstreams_rsp_cmd(avrc_cmd.pdu, &avrc_cmd, pmeta_msg->label, in handle_avk_rc_metamsg_cmd()
4910 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id, in register_notification_cmd() argument
4929 label); in register_notification_cmd()
4931 BTA_AvVendorCmd(p_dev->rc_handle, label, AVRC_CMD_NOTIF, data_start, in register_notification_cmd()
5002 uint8_t label) { in set_volume_rsp() argument
5022 BTA_AvVendorRsp(p_dev->rc_handle, label, AVRC_RSP_ACCEPT, data_start, in set_volume_rsp()
5045 uint8_t abs_vol, uint8_t label) { in volume_change_notification_rsp() argument
5064 label); in volume_change_notification_rsp()
5066 BTA_AvVendorRsp(p_dev->rc_handle, label, in volume_change_notification_rsp()