Lines Matching refs:event_id
135 uint8_t event_id; member
309 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
1003 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
1008 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
1010 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
1011 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1342 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1344 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
1347 p_dev->rc_notif[event_id - 1].bNotify = false; in send_metamsg_rsp()
1349 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
1358 __func__, p_dev->rc_handle, event_id); in send_metamsg_rsp()
1360 BTA_AvMetaRsp(p_dev->rc_handle, p_dev->rc_notif[event_id - 1].label, in send_metamsg_rsp()
1373 __func__, dump_rc_notification_event_id(event_id)); in send_metamsg_rsp()
1498 ctype, label, pavrc_cmd->reg_notif.event_id); in btif_rc_upstreams_evt()
1533 if (pavrc_cmd->reg_notif.event_id == BTRC_EVT_PLAY_POS_CHANGED && in btif_rc_upstreams_evt()
1545 (btrc_event_id_t)pavrc_cmd->reg_notif.event_id, in btif_rc_upstreams_evt()
1724 if (pavrc_cmd->reg_notif.event_id == AVRC_EVT_VOLUME_CHANGE) { in btif_rc_ctrl_upstreams_rsp_cmd()
1951 btrc_event_id_t event_id, btrc_notification_type_t type, in register_notification_rsp() argument
1955 dump_rc_notification_event_id(event_id)); in register_notification_rsp()
1960 avrc_rsp.reg_notif.event_id = event_id; in register_notification_rsp()
1974 if (!btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].bNotify) { in register_notification_rsp()
1977 __func__, event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1983 event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1985 switch (event_id) { in register_notification_rsp()
2014 BTIF_TRACE_WARNING("%s: Unhandled event ID: 0x%x", __func__, event_id); in register_notification_rsp()
2021 btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].label, in register_notification_rsp()
2663 avrc_cmd.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE; in register_volumechange()
2710 __func__, pmeta_msg->code, avrc_response.reg_notif.event_id, in handle_rc_metamsg_rsp()
2715 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2726 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2737 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2754 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2785 if (p_event->event_id == *p_event_id) { in iterate_supported_event_list_for_interim_rsp()
3019 if (p_event->event_id == AVRC_EVT_PLAY_POS_CHANGED) { in register_for_event_notification()
3022 status = register_notification_cmd(p_transaction->lbl, p_event->event_id, in register_for_event_notification()
3167 if ((p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_STATUS_CHANGE) || in handle_get_capability_response()
3168 (p_rsp->param.event_id[xx] == AVRC_EVT_TRACK_CHANGE) || in handle_get_capability_response()
3169 (p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_POS_CHANGED) || in handle_get_capability_response()
3170 (p_rsp->param.event_id[xx] == AVRC_EVT_APP_SETTING_CHANGE) || in handle_get_capability_response()
3171 (p_rsp->param.event_id[xx] == AVRC_EVT_NOW_PLAYING_CHANGE) || in handle_get_capability_response()
3172 (p_rsp->param.event_id[xx] == AVRC_EVT_ADDR_PLAYER_CHANGE) || in handle_get_capability_response()
3173 (p_rsp->param.event_id[xx] == AVRC_EVT_UIDS_CHANGE) || in handle_get_capability_response()
3174 (p_rsp->param.event_id[xx] == AVRC_EVT_AVAL_PLAYERS_CHANGE)) { in handle_get_capability_response()
3177 p_event->event_id = p_rsp->param.event_id[xx]; in handle_get_capability_response()
3252 BTIF_TRACE_DEBUG("%s: Interim response: 0x%2X ", __func__, p_rsp->event_id); in handle_notification_response()
3253 switch (p_rsp->event_id) { in handle_notification_response()
3314 p_rsp->event_id); in handle_notification_response()
3320 &p_rsp->event_id); in handle_notification_response()
3352 p_rsp->event_id); in handle_notification_response()
3358 if (p_event != NULL && p_event->event_id == p_rsp->event_id) { in handle_notification_response()
3366 switch (p_rsp->event_id) { in handle_notification_response()
3425 p_rsp->event_id); in handle_notification_response()
4475 uint8_t event_id = avrc_cmd.reg_notif.event_id; in handle_avk_rc_metamsg_cmd() local
4477 dump_rc_notification_event_id(event_id)); in handle_avk_rc_metamsg_cmd()
5022 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id, in register_notification_cmd() argument
5025 BTIF_TRACE_DEBUG("%s: event_id: %d event_value %d", __func__, event_id, in register_notification_cmd()
5032 avrc_cmd.reg_notif.event_id = event_id; in register_notification_cmd()
5199 avrc_rsp.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE; in volume_change_notification_rsp()