Searched refs:LocalUpdater (Results 1 – 4 of 4) sorted by relevance
/base/update/updateservice/frameworks/js/napi/client/ |
D | local_updater.cpp | 26 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 …]
|
D | local_updater.h | 25 class LocalUpdater : public IUpdater { 40 LocalUpdater(napi_env env, napi_value thisVar);
|
D | update_module.cpp | 49 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() 177 …LocalUpdater* 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.ts | 56 function getLocalUpdater(): LocalUpdater; 577 export interface LocalUpdater { interface
|