Home
last modified time | relevance | path

Searched refs:report_func (Results 1 – 14 of 14) sorted by relevance

/AliOS-Things-master/components/ota/ota_agent/
A Dota_service.c38 ctx->report_func.report_status_cb, ctx->report_func.param); in ota_download_to_fs_service()
52 if ((ctx != NULL) && (ctx->report_func.report_status_cb != NULL)) { in ota_download_to_fs_service()
53 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_download_to_fs_service()
175 ctx->report_func.param); in ota_service_start()
189 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_service_start()
201 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_service_start()
254 ctx->report_func.report_status_cb = cb; in ota_register_report_percent_cb()
255 ctx->report_func.param = param; in ota_register_report_percent_cb()
365 if (ctx->report_func.report_status_cb == NULL) { in ota_service_init()
404 ctx->report_func.report_status_cb = NULL; in ota_service_param_reset()
[all …]
/AliOS-Things-master/components/amp/services/app_mgr/
A Dapp_upgrade.c131 if ((ctx != NULL) && (ctx->report_func.report_status_cb != NULL)) { in ota_load_jsapp()
132 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_load_jsapp()
180 if (ctx->report_func.report_status_cb != NULL) { in ota_service_maindev_fs_start()
181 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_service_maindev_fs_start()
193 if (ctx->report_func.report_status_cb != NULL) { in ota_service_maindev_fs_start()
194 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_service_maindev_fs_start()
276 if ((tmp_ctx->report_func.report_status_cb != NULL)) { in internal_module_upgrade_start()
277 tmp_ctx->report_func.report_status_cb(tmp_ctx->report_func.param, ret); in internal_module_upgrade_start()
/AliOS-Things-master/components/amp_adapter/platform/aos/haas700/
A Dota_agent.h192 typedef int (*report_func)(void *, uint32_t); typedef
197 report_func report_status_cb;
224 ota_report_status_func_t report_func; /* report percentage to clould */ member
456 int ota_download_start(char *url, unsigned int url_len, report_func repot_func, void *user_param);
474 report_func report_func, void *user_param);
/AliOS-Things-master/components/ota/include/
A Dota_agent.h192 typedef int (*report_func)(void *, uint32_t); typedef
197 report_func report_status_cb;
224 ota_report_status_func_t report_func; /* report percentage to clould */ member
456 int ota_download_start(char *url, unsigned int url_len, report_func repot_func, void *user_param);
474 report_func report_func, void *user_param);
/AliOS-Things-master/components/ota/ota_agent/transport/
A Dota_transport_mqtt.c152 if (ctx->report_func.report_status_cb != NULL) { in ota_sevice_parse_msg()
153 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_sevice_parse_msg()
156 if (ctx->report_func.report_status_cb != NULL) { in ota_sevice_parse_msg()
157 ctx->report_func.report_status_cb(ctx->report_func.param, 1); in ota_sevice_parse_msg()
170 if (ctx->report_func.report_status_cb != NULL) { in ota_sevice_parse_msg()
171 ctx->report_func.report_status_cb(ctx->report_func.param, OTA_TRANSPORT_PAR_FAIL); in ota_sevice_parse_msg()
/AliOS-Things-master/components/ota/ota_agent/download/
A Dota_download_file2fs_http.c37 report_func report_func, void *user_param) in ota_download_store_fs_start() argument
141 if (report_func != NULL) { in ota_download_store_fs_start()
142 ret = report_func(user_param, percent); in ota_download_store_fs_start()
A Dota_download_http.c359 int ota_download_start(char *url, unsigned int url_len, report_func repot_func, void *user_param) in ota_download_start()
/AliOS-Things-master/components/ota/hal/
A Dota_hal_fs_plat.c101 if ((ctx != NULL) && (ctx->report_func.report_status_cb != NULL)) { in ota_install_jsapp()
102 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_install_jsapp()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_ota.c20 report_func report_func, void *user_param) in ota_download_store_fs_start() argument
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_upgrade.c199 if ((ctx != NULL) && (ctx->report_func.report_status_cb != NULL)) { in ota_install_pyapp()
200 ctx->report_func.report_status_cb(ctx->report_func.param, ret); in ota_install_pyapp()
/AliOS-Things-master/solutions/ota_demo/
A Dotaappdemo.c81 if ((tmp_ctx->report_func.report_status_cb != NULL)) { in ota_module_upgrade_start()
82 tmp_ctx->report_func.report_status_cb(tmp_ctx->report_func.param, ret); in ota_module_upgrade_start()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/ota/
A Dmodule_appota.c244 … customer_ota_ctx.report_func.report_status_cb, customer_ota_ctx.report_func.param); in ota_download_handler()
/AliOS-Things-master/components/py_engine/modules/ota/
A Dmodappota.c272 customer_ota_ctx.report_func.report_status_cb, in ota_download_handler()
273 customer_ota_ctx.report_func.param); in ota_download_handler()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/ota/
A Dmodule_appota.c290 … customer_ota_ctx.report_func.report_status_cb, customer_ota_ctx.report_func.param); in ota_download_handler()

Completed in 22 milliseconds