Home
last modified time | relevance | path

Searched refs:UnwrapJsObject (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/update/updateservice/frameworks/js/napi/update/src/
H A Dupdate_module.cpp161 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CheckNewVersion()
168 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in SetUpgradePolicy()
175 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in GetUpgradePolicy()
182 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in Download()
190 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in PauseDownload()
198 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in ResumeDownload()
205 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CancelUpgrade()
213 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in Upgrade()
221 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in ClearError()
229 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in TerminateUpgrade()
[all …]
H A Dlocal_updater.cpp29 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiVerifyUpgradePackage()
37 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiApplyNewVersion()
45 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiOn()
53 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiOff()
H A Drestorer.cpp24 Restorer* restorer = UnwrapJsObject<Restorer>(env, info); in FactoryReset()
H A Dupdate_client.cpp33 UpdateClient *updater = UnwrapJsObject<UpdateClient>(env, info); in NapiOn()
41 UpdateClient *updater = UnwrapJsObject<UpdateClient>(env, info); in NapiOff()
/ohos5.0/base/update/updateservice/frameworks/js/napi/session/include/
H A Dnapi_common_define.h103 template <typename T> T *UnwrapJsObject(napi_env env, napi_callback_info info) in UnwrapJsObject() function