Lines Matching refs:handle_event
381 static int handle_event(struct lwm2m_swmgmt_data *instance, uint8_t event) in handle_event() function
517 return handle_event(instance, EVENT_INSTALL); in install_cb()
527 error_code = handle_event(instance, EVENT_INSTALL_FAIL); in lwm2m_swmgmt_install_completed()
529 error_code = handle_event(instance, EVENT_INSTALL_SUCCESSFUL); in lwm2m_swmgmt_install_completed()
541 return handle_event(instance, EVENT_DELETE_PACKAGE); in uninstall_cb()
550 return handle_event(instance, EVENT_ACTIVATE); in activate_cb()
559 return handle_event(instance, EVENT_DEACTIVATE); in deactivate_cb()
572 ret = handle_event(instance, EVENT_PKG_URI_WRITE); in package_write_cb()
582 handle_event(instance, EVENT_DOWNLOAD_FAILED); in package_write_cb()
603 handle_event(instance, EVENT_PKG_WRITTEN); in package_write_cb()
617 handle_event(instance, EVENT_PKG_WRITTEN); in set_update_result()
627 handle_event(instance, EVENT_PKG_INTEGRITY_VERIFIED); in set_update_result()
629 handle_event(instance, EVENT_PKG_INTEGRITY_FAILED); in set_update_result()
635 handle_event(instance, EVENT_DOWNLOAD_FAILED); in set_update_result()
674 return handle_event(instance, EVENT_PKG_URI_WRITE); in package_uri_write_cb()