Lines Matching refs:p_event

256 static void register_for_event_notification (btif_rc_supported_event_t *p_event);
1959 btif_rc_supported_event_t *p_event = (btif_rc_supported_event_t *)data; in iterate_supported_event_list_for_interim_rsp() local
1963 if (p_event->event_id == *p_event_id) in iterate_supported_event_list_for_interim_rsp()
1965 p_event->status = eINTERIM; in iterate_supported_event_list_for_interim_rsp()
1986 btif_rc_supported_event_t *p_event = (btif_rc_supported_event_t *)data; in iterate_supported_event_list_for_timeout() local
1990 if (p_event->label == label) in iterate_supported_event_list_for_timeout()
1992 list_remove(btif_rc_cb.rc_supported_event_list, p_event); in iterate_supported_event_list_for_timeout()
2020 btif_rc_supported_event_t *p_event; in rc_notification_interim_timout() local
2022 p_event = (btif_rc_supported_event_t *)list_node(node); in rc_notification_interim_timout()
2023 if ((p_event != NULL) && (p_event->status == eNOT_REGISTERED)) in rc_notification_interim_timout()
2025 register_for_event_notification(p_event); in rc_notification_interim_timout()
2245 static void register_for_event_notification(btif_rc_supported_event_t *p_event) in register_for_event_notification() argument
2255 status = register_notification_cmd (p_transaction->lbl, p_event->event_id, 0); in register_for_event_notification()
2263 p_event->label = p_transaction->lbl; in register_for_event_notification()
2264 p_event->status = eREGISTERED; in register_for_event_notification()
2334 btif_rc_supported_event_t *p_event; in handle_get_capability_response() local
2345p_event = (btif_rc_supported_event_t *)osi_malloc(sizeof(btif_rc_supported_event_t)); in handle_get_capability_response()
2346 p_event->event_id = p_rsp->param.event_id[xx]; in handle_get_capability_response()
2347 p_event->status = eNOT_REGISTERED; in handle_get_capability_response()
2348 list_append(btif_rc_cb.rc_supported_event_list, p_event); in handle_get_capability_response()
2351 p_event = list_front(btif_rc_cb.rc_supported_event_list); in handle_get_capability_response()
2352 if (p_event != NULL) in handle_get_capability_response()
2354 register_for_event_notification(p_event); in handle_get_capability_response()
2419 btif_rc_supported_event_t *p_event; in handle_notification_response() local
2484 p_event = (btif_rc_supported_event_t *)list_node(node); in handle_notification_response()
2485 if ((p_event != NULL) && (p_event->status == eNOT_REGISTERED)) in handle_notification_response()
2487 register_for_event_notification(p_event); in handle_notification_response()
2491 p_event = NULL; in handle_notification_response()
2494 if ((p_event == NULL) && (btif_rc_cb.rc_app_settings.query_started == false)) in handle_notification_response()
2513 btif_rc_supported_event_t *p_event; in handle_notification_response() local
2522 p_event = (btif_rc_supported_event_t *)list_node(node); in handle_notification_response()
2523 if ((p_event != NULL) && (p_event->event_id == p_rsp->event_id)) in handle_notification_response()
2525 p_event->status = eNOT_REGISTERED; in handle_notification_response()
2526 register_for_event_notification(p_event); in handle_notification_response()