Lines Matching refs:event_id

134   uint8_t event_id;  member
307 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
1004 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
1009 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
1011 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
1012 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1343 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1345 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
1348 p_dev->rc_notif[event_id - 1].bNotify = false; in send_metamsg_rsp()
1350 __func__, p_dev->rc_handle, event_id, bNotify); 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()
1374 __func__, dump_rc_notification_event_id(event_id)); in send_metamsg_rsp()
1499 ctype, label, pavrc_cmd->reg_notif.event_id); in btif_rc_upstreams_evt()
1534 if (pavrc_cmd->reg_notif.event_id == BTRC_EVT_PLAY_POS_CHANGED && in btif_rc_upstreams_evt()
1546 (btrc_event_id_t)pavrc_cmd->reg_notif.event_id, in btif_rc_upstreams_evt()
1725 if (pavrc_cmd->reg_notif.event_id == AVRC_EVT_VOLUME_CHANGE) { in btif_rc_ctrl_upstreams_rsp_cmd()
1962 btrc_event_id_t event_id, btrc_notification_type_t type, in register_notification_rsp() argument
1966 dump_rc_notification_event_id(event_id)); in register_notification_rsp()
1971 avrc_rsp.reg_notif.event_id = event_id; in register_notification_rsp()
1985 if (!btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].bNotify) { 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()
1996 switch (event_id) { in register_notification_rsp()
2025 BTIF_TRACE_WARNING("%s: Unhandled event ID: 0x%x", __func__, event_id); in register_notification_rsp()
2032 btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].label, in register_notification_rsp()
2674 avrc_cmd.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE; in register_volumechange()
2721 __func__, pmeta_msg->code, 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()
2748 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2765 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2796 if (p_event->event_id == *p_event_id) { in iterate_supported_event_list_for_interim_rsp()
3024 if (p_event->event_id == AVRC_EVT_PLAY_POS_CHANGED) { in register_for_event_notification()
3027 status = register_notification_cmd(p_transaction->lbl, p_event->event_id, in register_for_event_notification()
3172 if ((p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_STATUS_CHANGE) || in handle_get_capability_response()
3173 (p_rsp->param.event_id[xx] == AVRC_EVT_TRACK_CHANGE) || in handle_get_capability_response()
3174 (p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_POS_CHANGED) || in handle_get_capability_response()
3175 (p_rsp->param.event_id[xx] == AVRC_EVT_APP_SETTING_CHANGE) || in handle_get_capability_response()
3176 (p_rsp->param.event_id[xx] == AVRC_EVT_NOW_PLAYING_CHANGE) || in handle_get_capability_response()
3177 (p_rsp->param.event_id[xx] == AVRC_EVT_ADDR_PLAYER_CHANGE) || in handle_get_capability_response()
3178 (p_rsp->param.event_id[xx] == AVRC_EVT_UIDS_CHANGE) || in handle_get_capability_response()
3179 (p_rsp->param.event_id[xx] == AVRC_EVT_AVAL_PLAYERS_CHANGE)) { in handle_get_capability_response()
3182 p_event->event_id = p_rsp->param.event_id[xx]; in handle_get_capability_response()
3257 BTIF_TRACE_DEBUG("%s: Interim response: 0x%2X ", __func__, p_rsp->event_id); in handle_notification_response()
3258 switch (p_rsp->event_id) { in handle_notification_response()
3319 p_rsp->event_id); in handle_notification_response()
3325 &p_rsp->event_id); in handle_notification_response()
3357 p_rsp->event_id); in handle_notification_response()
3363 if (p_event != NULL && p_event->event_id == p_rsp->event_id) { in handle_notification_response()
3371 switch (p_rsp->event_id) { in handle_notification_response()
3430 p_rsp->event_id); in handle_notification_response()
4468 uint8_t event_id = avrc_cmd.reg_notif.event_id; in handle_avk_rc_metamsg_cmd() local
4470 dump_rc_notification_event_id(event_id)); in handle_avk_rc_metamsg_cmd()
5016 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id, in register_notification_cmd() argument
5019 BTIF_TRACE_DEBUG("%s: event_id: %d event_value %d", __func__, event_id, in register_notification_cmd()
5026 avrc_cmd.reg_notif.event_id = event_id; in register_notification_cmd()
5193 avrc_rsp.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE; in volume_change_notification_rsp()