Home
last modified time | relevance | path

Searched refs:localUpdater (Results 1 – 3 of 3) sorted by relevance

/base/update/updateservice/frameworks/js/napi/client/
Dlocal_updater.cpp29 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiVerifyUpgradePackage() local
30 PARAM_CHECK_NAPI_CALL(env, localUpdater != nullptr, return nullptr, "Error get localUpdater"); in NapiVerifyUpgradePackage()
31 return localUpdater->VerifyUpgradePackage(env, info); in NapiVerifyUpgradePackage()
37 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiApplyNewVersion() local
38 PARAM_CHECK_NAPI_CALL(env, localUpdater != nullptr, return nullptr, "Error get localUpdater"); in NapiApplyNewVersion()
39 return localUpdater->ApplyNewVersion(env, info); in NapiApplyNewVersion()
45 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiOn() local
46 PARAM_CHECK_NAPI_CALL(env, localUpdater != nullptr, return nullptr, "Error get localUpdater"); in NapiOn()
47 return localUpdater->On(env, info); in NapiOn()
53 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiOff() local
[all …]
Dupdate_module.cpp177 …LocalUpdater* localUpdater = CreateJsObject<LocalUpdater>(env, info, g_localUpdaterConstructorRef,… in GetLocalUpdater() local
178 if (localUpdater == nullptr) { in GetLocalUpdater()
181 localUpdater->Init(); in GetLocalUpdater()
/base/update/updateservice/services/engine/src/
Dupdate_service.cpp323 sptr<UpdateServiceLocalUpdater> localUpdater = new UpdateServiceLocalUpdater(); in ApplyNewVersion() local
324 if (localUpdater == nullptr) { in ApplyNewVersion()
328 return localUpdater->ApplyNewVersion(info, miscFile, packageName, businessError); in ApplyNewVersion()
334 sptr<UpdateServiceLocalUpdater> localUpdater = new UpdateServiceLocalUpdater(); in VerifyUpgradePackage() local
335 if (localUpdater == nullptr) { in VerifyUpgradePackage()
339 return localUpdater->VerifyUpgradePackage(packagePath, keyPath, businessError); in VerifyUpgradePackage()