• Home
  • Raw
  • Download

Lines Matching refs:event_id

134   uint8_t event_id;  member
306 static bt_status_t register_notification_cmd(uint8_t label, uint8_t event_id,
943 uint8_t event_id = avrc_command.reg_notif.event_id; in handle_rc_metamsg_cmd() local
948 __func__, dump_rc_notification_event_id(event_id), pmeta_msg->label, in handle_rc_metamsg_cmd()
950 p_dev->rc_notif[event_id - 1].bNotify = true; in handle_rc_metamsg_cmd()
951 p_dev->rc_notif[event_id - 1].label = pmeta_msg->label; in handle_rc_metamsg_cmd()
1265 uint8_t event_id = pmetamsg_resp->reg_notif.event_id; in send_metamsg_rsp() local
1267 (p_dev->rc_connected) && (p_dev->rc_notif[event_id - 1].bNotify); in send_metamsg_rsp()
1270 p_dev->rc_notif[event_id - 1].bNotify = false; in send_metamsg_rsp()
1272 __func__, p_dev->rc_handle, event_id, bNotify); in send_metamsg_rsp()
1281 __func__, p_dev->rc_handle, event_id); in send_metamsg_rsp()
1283 BTA_AvMetaRsp(p_dev->rc_handle, p_dev->rc_notif[event_id - 1].label, in send_metamsg_rsp()
1296 __func__, dump_rc_notification_event_id(event_id)); in send_metamsg_rsp()
1421 ctype, label, pavrc_cmd->reg_notif.event_id); in btif_rc_upstreams_evt()
1457 if (pavrc_cmd->reg_notif.event_id == BTRC_EVT_PLAY_POS_CHANGED && in btif_rc_upstreams_evt()
1469 (btrc_event_id_t)pavrc_cmd->reg_notif.event_id, in btif_rc_upstreams_evt()
1649 if (pavrc_cmd->reg_notif.event_id == AVRC_EVT_VOLUME_CHANGE) { in btif_rc_ctrl_upstreams_rsp_cmd()
1881 btrc_event_id_t event_id, btrc_notification_type_t type, in register_notification_rsp() argument
1885 dump_rc_notification_event_id(event_id)); in register_notification_rsp()
1890 avrc_rsp.reg_notif.event_id = event_id; in register_notification_rsp()
1904 if (!btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].bNotify) { in register_notification_rsp()
1907 __func__, event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1913 event_id, btif_rc_cb.rc_multi_cb[idx].rc_handle); in register_notification_rsp()
1915 switch (event_id) { in register_notification_rsp()
1944 BTIF_TRACE_WARNING("%s: Unhandled event ID: 0x%x", __func__, event_id); in register_notification_rsp()
1951 btif_rc_cb.rc_multi_cb[idx].rc_notif[event_id - 1].label, in register_notification_rsp()
2593 avrc_cmd.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE; in register_volumechange()
2640 __func__, pmeta_msg->code, avrc_response.reg_notif.event_id, in handle_rc_metamsg_rsp()
2645 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2656 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2667 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2684 AVRC_EVT_VOLUME_CHANGE == avrc_response.reg_notif.event_id && in handle_rc_metamsg_rsp()
2715 if (p_event->event_id == *p_event_id) { in iterate_supported_event_list_for_interim_rsp()
2943 if (p_event->event_id == AVRC_EVT_PLAY_POS_CHANGED) { in register_for_event_notification()
2946 status = register_notification_cmd(p_transaction->lbl, p_event->event_id, interval, p_dev); in register_for_event_notification()
3052 if ((p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_STATUS_CHANGE) || in handle_get_capability_response()
3053 (p_rsp->param.event_id[xx] == AVRC_EVT_TRACK_CHANGE) || in handle_get_capability_response()
3054 (p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_POS_CHANGED) || in handle_get_capability_response()
3055 (p_rsp->param.event_id[xx] == AVRC_EVT_APP_SETTING_CHANGE) || in handle_get_capability_response()
3056 (p_rsp->param.event_id[xx] == AVRC_EVT_NOW_PLAYING_CHANGE) || in handle_get_capability_response()
3057 (p_rsp->param.event_id[xx] == AVRC_EVT_ADDR_PLAYER_CHANGE) || in handle_get_capability_response()
3058 (p_rsp->param.event_id[xx] == AVRC_EVT_UIDS_CHANGE)) { in handle_get_capability_response()
3061 p_event->event_id = p_rsp->param.event_id[xx]; in handle_get_capability_response()
3139 BTIF_TRACE_DEBUG("%s: Interim response: 0x%2X ", __func__, p_rsp->event_id); in handle_notification_response()
3140 switch (p_rsp->event_id) { in handle_notification_response()
3197 p_rsp->event_id); in handle_notification_response()
3203 &p_rsp->event_id); in handle_notification_response()
3235 p_rsp->event_id); in handle_notification_response()
3241 if (p_event != NULL && p_event->event_id == p_rsp->event_id) { in handle_notification_response()
3249 switch (p_rsp->event_id) { in handle_notification_response()
3312 p_rsp->event_id); in handle_notification_response()
4335 uint8_t event_id = avrc_cmd.reg_notif.event_id; in handle_avk_rc_metamsg_cmd() local
4337 dump_rc_notification_event_id(event_id)); 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
4913 BTIF_TRACE_DEBUG("%s: event_id: %d event_value %d", __func__, event_id, in register_notification_cmd()
4920 avrc_cmd.reg_notif.event_id = event_id; in register_notification_cmd()
5059 avrc_rsp.reg_notif.event_id = AVRC_EVT_VOLUME_CHANGE; in volume_change_notification_rsp()