Home
last modified time | relevance | path

Searched refs:LocalUpdater (Results 1 – 4 of 4) sorted by relevance

/base/update/updateservice/frameworks/js/napi/client/
Dlocal_updater.cpp26 napi_value LocalUpdater::Napi::NapiVerifyUpgradePackage(napi_env env, napi_callback_info info) in NapiVerifyUpgradePackage()
29 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiVerifyUpgradePackage()
34 napi_value LocalUpdater::Napi::NapiApplyNewVersion(napi_env env, napi_callback_info info) in NapiApplyNewVersion()
37 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiApplyNewVersion()
42 napi_value LocalUpdater::Napi::NapiOn(napi_env env, napi_callback_info info) in NapiOn()
45 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiOn()
50 napi_value LocalUpdater::Napi::NapiOff(napi_env env, napi_callback_info info) in NapiOff()
53 LocalUpdater* localUpdater = UnwrapJsObject<LocalUpdater>(env, info); in NapiOff()
58 LocalUpdater::LocalUpdater(napi_env env, napi_value thisVar) in LocalUpdater() function in OHOS::UpdateEngine::LocalUpdater
66 void LocalUpdater::Init() in Init()
[all …]
Dlocal_updater.h25 class LocalUpdater : public IUpdater {
40 LocalUpdater(napi_env env, napi_value thisVar);
Dupdate_module.cpp49 std::shared_ptr<LocalUpdater> g_localUpdater = nullptr;
115 g_localUpdater = std::make_shared<LocalUpdater>(env, value); in JsConstructorLocalUpdater()
120 return JsConstructor<LocalUpdater>(env, info, initializer, finalizer); in JsConstructorLocalUpdater()
177LocalUpdater* localUpdater = CreateJsObject<LocalUpdater>(env, info, g_localUpdaterConstructorRef,… in GetLocalUpdater()
333 DECLARE_NAPI_FUNCTION(LocalUpdater::Napi::FUNCTION_VERIFY_UPGRADE_PACKAGE, in DefineLocalUpdater()
334 LocalUpdater::Napi::NapiVerifyUpgradePackage), in DefineLocalUpdater()
335 …DECLARE_NAPI_FUNCTION(LocalUpdater::Napi::FUNCTION_APPLY_NEW_VERSION, LocalUpdater::Napi::NapiAppl… in DefineLocalUpdater()
336 DECLARE_NAPI_FUNCTION(LocalUpdater::Napi::FUNCTION_ON, LocalUpdater::Napi::NapiOn), in DefineLocalUpdater()
337 DECLARE_NAPI_FUNCTION(LocalUpdater::Napi::FUNCTION_OFF, LocalUpdater::Napi::NapiOff) in DefineLocalUpdater()
/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts56 function getLocalUpdater(): LocalUpdater;
577 export interface LocalUpdater { interface