Lines Matching refs:p_handlers
44 btif_sm_handler_t *p_handlers;
69 ** states match. The location that 'p_handlers' points to shall
76 btif_sm_handle_t btif_sm_init(const btif_sm_handler_t *p_handlers, btif_sm_state_t initial_state)
80 if (p_handlers == NULL)
82 BTIF_TRACE_ERROR("%s : p_handlers is NULL", __FUNCTION__);
88 p_cb->p_handlers = (btif_sm_handler_t*)p_handlers;
91 p_cb->p_handlers[initial_state](BTIF_SM_ENTER_EVT, NULL);
163 if (p_cb->p_handlers[p_cb->state](event, data) == FALSE)
194 if (p_cb->p_handlers[p_cb->state](BTIF_SM_EXIT_EVT, NULL) == FALSE)
201 if (p_cb->p_handlers[p_cb->state](BTIF_SM_ENTER_EVT, NULL) == FALSE)