Home
last modified time | relevance | path

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

/AliOS-Things-master/components/amp/services/app_mgr/
A Dapp_upgrade.c26 char *ota_get_module_ver(void* pctx, char *module_name) in ota_get_module_ver() argument
30 ota_service_t *ctx = (ota_service_t *)pctx; in ota_get_module_ver()
31 if ((pctx != NULL) && (module_name != NULL)) { in ota_get_module_ver()
292 static int32_t internal_upgrade_cb(void *pctx, char *ver, char *module_name) in internal_upgrade_cb() argument
297 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL)) { in internal_upgrade_cb()
303 current_ver = ota_get_module_ver(pctx, module_name); in internal_upgrade_cb()
312 …nternal_ota_task, "amp_internal_ota", internal_sys_upgrade_start, (void *)pctx, 1024 * 8, AOS_DEFA… in internal_upgrade_cb()
319 current_ver = ota_get_module_ver(pctx, module_name); in internal_upgrade_cb()
330 …ternal_ota_task, "amp_moudle_ota", internal_module_upgrade_start, (void *)pctx, 1024 * 8, AOS_DEFA… in internal_upgrade_cb()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_upgrade.c28 char *py_ota_get_module_ver(void *pctx, char *module_name) in py_ota_get_module_ver() argument
88 static int32_t internal_upgrade_cb(void *pctx, char *ver, char *module_name) in internal_upgrade_cb() argument
93 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL)) { in internal_upgrade_cb()
99 current_ver = ota_get_module_ver(pctx, module_name); in internal_upgrade_cb()
108 …(aos_task_new_ext(&internal_ota_task, "amp_internal_ota", internal_sys_upgrade_start, (void *)pctx, in internal_upgrade_cb()
/AliOS-Things-master/solutions/ota_demo/
A Dotaappdemo.c95 static int ota_upgrade_cb(ota_service_t *pctx, char *ver, char *module_name) in ota_upgrade_cb() argument
100 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL)) { in ota_upgrade_cb()
111 ret = aos_task_new("ota_demo", (void *)ota_service_start, (void *)pctx, 1024 * 6); in ota_upgrade_cb()
126 … ret = aos_task_new("ota_subdev_demo", (void *)ota_module_upgrade_start, (void *)pctx, 1024 * 6); in ota_upgrade_cb()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_ota.c47 typedef int32_t (*cbb)(void *pctx, char *ver, char *module_name, void *args);
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/ota/
A Dmodule_appota.c374 static int32_t customer_upgrade_cb(void *pctx, char *ver, char *module_name, void *args) in customer_upgrade_cb() argument
380 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL) || (args == NULL)) { in customer_upgrade_cb()
394 …ustomer_ota_task, "amp_customer_ota", internal_sys_upgrade_start, (void *)pctx, 1024 * 8, AOS_DEFA… in customer_upgrade_cb()
/AliOS-Things-master/components/py_engine/modules/ota/
A Dmodappota.c422 static int32_t customer_upgrade_cb(void *pctx, char *ver, char *module_name, in customer_upgrade_cb() argument
429 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL) || in customer_upgrade_cb()
446 internal_sys_upgrade_start, (void *)pctx, in customer_upgrade_cb()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/ota/
A Dmodule_appota.c430 static int32_t customer_upgrade_cb(void *pctx, char *ver, char *module_name, void *args) in customer_upgrade_cb() argument
436 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL) || (args == NULL)) { in customer_upgrade_cb()
449 …ustomer_ota_task, "amp_customer_ota", internal_sys_upgrade_start, (void *)pctx, 1024 * 8, AOS_DEFA… in customer_upgrade_cb()
/AliOS-Things-master/components/ota/ota_agent/transport/
A Dota_transport_mqtt.c223 static void ota_mqtt_sub_cb(void *mqtt_client, void *msg, void *pctx) in ota_mqtt_sub_cb() argument
226 ota_service_t *ctx = (ota_service_t *)pctx; in ota_mqtt_sub_cb()
/AliOS-Things-master/components/ota/
A DREADME.md142 > aos_task_new("ota_demo", (void *)ota_service_start, (void *)pctx, 1024 * 6);
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/aiot/
A Dmodule_aiot_gateway.c67 static int user_jsapp_ota_triger_cb(void* pctx, char *ver, char *module_name) in user_jsapp_ota_triger_cb() argument
70 ota_service_t *ota_svc = (ota_service_t *)pctx; in user_jsapp_ota_triger_cb()
71 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL)) { in user_jsapp_ota_triger_cb()
A Dmodule_aiot_device.c73 static int user_jsapp_ota_triger_cb(void* pctx, char *ver, char *module_name) in user_jsapp_ota_triger_cb() argument
76 ota_service_t *ota_svc = (ota_service_t *)pctx; in user_jsapp_ota_triger_cb()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/
A Dmodule_aiot_gateway.c62 static int user_jsapp_ota_triger_cb(void *pctx, char *ver, char *module_name) in user_jsapp_ota_triger_cb() argument
65 ota_service_t *ota_svc = (ota_service_t *)pctx; in user_jsapp_ota_triger_cb()
66 if ((pctx == NULL) || (ver == NULL) || (module_name == NULL)) { in user_jsapp_ota_triger_cb()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs.h867 int JS_ExecutePendingJob(JSRuntime *rt, JSContext **pctx);
A Dquickjs.c1848 int JS_ExecutePendingJob(JSRuntime* rt, JSContext** pctx) in JS_ExecutePendingJob() argument
1856 *pctx = NULL; in JS_ExecutePendingJob()
1873 *pctx = ctx; in JS_ExecutePendingJob()

Completed in 108 milliseconds