/AliOS-Things-master/components/ota/ota_agent/ |
A D | ota_service.c | 38 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 D | app_upgrade.c | 131 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 D | ota_agent.h | 192 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 D | ota_agent.h | 192 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 D | ota_transport_mqtt.c | 152 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 D | ota_download_file2fs_http.c | 37 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 D | ota_download_http.c | 359 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 D | ota_hal_fs_plat.c | 101 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 D | aos_ota.c | 20 report_func report_func, void *user_param) in ota_download_store_fs_start() argument
|
/AliOS-Things-master/components/py_engine/external/app_mgr/ |
A D | app_upgrade.c | 199 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 D | otaappdemo.c | 81 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 D | module_appota.c | 244 … 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 D | modappota.c | 272 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 D | module_appota.c | 290 … customer_ota_ctx.report_func.report_status_cb, customer_ota_ctx.report_func.param); in ota_download_handler()
|