Lines Matching full:event_id
133 UINT8 event_id;
269 static bt_status_t register_notification_cmd (UINT8 label, UINT8 event_id, UINT32 event_value);
881 avrc_rsp.reg_notif.event_id = pavrc_command->reg_notif.event_id;
962 UINT8 event_id = avrc_command.reg_notif.event_id;
963 BTIF_TRACE_EVENT("%s:New register notification received.event_id:%s,label:0x%x,code:%x",
964 __FUNCTION__,dump_rc_notification_event_id(event_id), pmeta_msg->label,pmeta_msg->code);
965 btif_rc_cb.rc_notif[event_id-1].bNotify = TRUE;
966 btif_rc_cb.rc_notif[event_id-1].label = pmeta_msg->label;
968 if (event_id == AVRC_EVT_UIDS_CHANGE)
1274 UINT8 event_id = pmetamsg_resp->reg_notif.event_id;
1275 BOOLEAN bNotify = (btif_rc_cb.rc_connected) && (btif_rc_cb.rc_notif[event_id-1].bNotify);
1278 btif_rc_cb.rc_notif[event_id-1].bNotify = FALSE;
1279 BTIF_TRACE_DEBUG("%s rc_handle: %d. event_id: 0x%02d bNotify:%u", __FUNCTION__,
1280 btif_rc_cb.rc_handle, event_id, bNotify);
1289 BTIF_TRACE_DEBUG("%s Sending notification to rc_handle: %d. event_id: 0x%02d",
1290 __FUNCTION__, btif_rc_cb.rc_handle, event_id);
1292 BTA_AvMetaRsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_notif[event_id-1].label,
1306 CT has not subscribed for event_id: %s", __FUNCTION__, dump_rc_notification_event_id(event_id));
1440 if (pavrc_cmd->reg_notif.event_id == BTRC_EVT_PLAY_POS_CHANGED &&
1450 HAL_CBACK(bt_rc_callbacks, register_notification_cb, pavrc_cmd->reg_notif.event_id,
1503 if (pavrc_cmd->reg_notif.event_id == AVRC_EVT_VOLUME_CHANGE)
1714 static bt_status_t register_notification_rsp(btrc_event_id_t event_id,
1719 BTIF_TRACE_EVENT("## %s ## event_id:%s", __FUNCTION__, dump_rc_notification_event_id(event_id));
1720 if (btif_rc_cb.rc_notif[event_id-1].bNotify == FALSE)
1722 BTIF_TRACE_ERROR("Avrcp Event id not registered: event_id = %x", event_id);
1726 avrc_rsp.reg_notif.event_id = event_id;
1728 switch(event_id)
1742 BTIF_TRACE_WARNING("%s : Unhandled event ID : 0x%x", __FUNCTION__, event_id);
1751 send_metamsg_rsp(btif_rc_cb.rc_handle, btif_rc_cb.rc_notif[event_id-1].label,
1848 avrc_cmd.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE;
1890 __FUNCTION__,pmeta_msg->code,avrc_response.reg_notif.event_id,avrc_response.reg_notif.pdu,
1896 && AVRC_EVT_VOLUME_CHANGE==avrc_response.reg_notif.event_id
1909 && AVRC_EVT_VOLUME_CHANGE==avrc_response.reg_notif.event_id
1926 && AVRC_EVT_VOLUME_CHANGE==avrc_response.reg_notif.event_id
1963 if (p_event->event_id == *p_event_id)
2255 status = register_notification_cmd (p_transaction->lbl, p_event->event_id, 0);
2341 if ((p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_STATUS_CHANGE)||
2342 (p_rsp->param.event_id[xx] == AVRC_EVT_TRACK_CHANGE)||
2343 (p_rsp->param.event_id[xx] == AVRC_EVT_APP_SETTING_CHANGE))
2346 p_event->event_id = p_rsp->param.event_id[xx];
2422 BTIF_TRACE_DEBUG("%s Interim response : 0x%2X ", __FUNCTION__, p_rsp->event_id);
2423 switch (p_rsp->event_id)
2474 p_rsp->event_id);
2479 &p_rsp->event_id);
2517 p_rsp->event_id);
2523 if ((p_event != NULL) && (p_event->event_id == p_rsp->event_id))
2532 switch (p_rsp->event_id)
2593 __FUNCTION__, p_rsp->event_id);
3217 UINT8 event_id = avrc_cmd.reg_notif.event_id;
3218 BTIF_TRACE_EVENT("%s:Register notification event_id: %s",
3219 __FUNCTION__, dump_rc_notification_event_id(event_id));
3668 static bt_status_t register_notification_cmd (UINT8 label, UINT8 event_id, UINT32 event_value)
3678 BTIF_TRACE_DEBUG("%s: event_id %d event_value", __FUNCTION__, event_id, event_value);
3682 avrc_cmd.reg_notif.event_id = event_id;
3898 avrc_rsp.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE;