Home
last modified time | relevance | path

Searched refs:UpdateClient (Results 1 – 7 of 7) sorted by relevance

/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp46 std::map<UpgradeInfo, std::shared_ptr<UpdateClient>> g_onlineUpdater;
77 std::shared_ptr<UpdateClient> updateClient = std::make_shared<UpdateClient>(env, value); in JsConstructor()
149UpdateClient *client = CreateJsObject<UpdateClient>(env, info, g_updateClientConstructorRef, jsObj… in GetOnlineUpdater()
182 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CheckNewVersion()
189 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in SetUpgradePolicy()
196 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in GetUpgradePolicy()
203 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in Download()
211 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in PauseDownload()
219 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in ResumeDownload()
226 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CancelUpgrade()
[all …]
Dupdate_client.cpp28 napi_value UpdateClient::Napi::NapiOn(napi_env env, napi_callback_info info) in NapiOn()
31 UpdateClient *updater = UnwrapJsObject<UpdateClient>(env, info); in NapiOn()
36 napi_value UpdateClient::Napi::NapiOff(napi_env env, napi_callback_info info) in NapiOff()
39 UpdateClient *updater = UnwrapJsObject<UpdateClient>(env, info); in NapiOff()
44 UpdateClient::UpdateClient(napi_env env, napi_value thisVar) in UpdateClient() function in OHOS::UpdateEngine::UpdateClient
51 UpdateClient::~UpdateClient() in ~UpdateClient()
58 napi_value UpdateClient::GetOnlineUpdater(napi_env env, napi_callback_info info) in GetOnlineUpdater()
93 napi_value UpdateClient::CheckNewVersion(napi_env env, napi_callback_info info) in CheckNewVersion()
104 napi_value UpdateClient::CancelUpgrade(napi_env env, napi_callback_info info) in CancelUpgrade()
130 ClientStatus UpdateClient::ParseUpgOptions(napi_env env, napi_callback_info info, VersionDigestInfo… in ParseUpgOptions()
[all …]
Dupdate_client.h23 class UpdateClient : public IUpdater {
34 UpdateClient(napi_env env, napi_value thisVar);
35 ~UpdateClient() override;
/base/inputmethod/imf/services/src/
Dperuser_session.cpp95 void PerUserSession::UpdateClient(sptr<IRemoteObject> inputClient, bool isShowKeyboard) in UpdateClient() function in OHOS::MiscServices::PerUserSession
161 UpdateClient(inputClient->AsObject(), isShowKeyboard); in ShowKeyboard()
183 UpdateClient(inputClient->AsObject(), false); in HideKeyboard()
/base/inputmethod/imf/services/include/
Dperuser_session.h134 void UpdateClient(sptr<IRemoteObject> inputClient, bool isShowKeyboard);
/base/update/updateservice/test/unittest/update_client/
Dclient_unittest.cpp49 extern UpdateClient* g_testClient;
543 UpdateClient *client = new UpdateClient((napi_env)&g_testEnv, thisVar);
Dclient_stub.cpp39 UpdateClient* g_testClient = nullptr;
541 g_testClient = new UpdateClient(env, jsObject); in napi_unwrap()