Home
last modified time | relevance | path

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

/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp50 std::map<UpgradeInfo, std::shared_ptr<UpdateClient>> g_onlineUpdater;
82 std::shared_ptr<UpdateClient> updateClient = std::make_shared<UpdateClient>(env, value); in JsConstructor()
154UpdateClient *client = CreateJsObject<UpdateClient>(env, info, g_updateClientConstructorRef, jsObj… in GetOnlineUpdater()
187 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CheckNewVersion()
194 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in SetUpgradePolicy()
201 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in GetUpgradePolicy()
208 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in Download()
216 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in PauseDownload()
224 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in ResumeDownload()
231 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CancelUpgrade()
[all …]
Dupdate_client.cpp32 napi_value UpdateClient::Napi::NapiOn(napi_env env, napi_callback_info info) in NapiOn()
35 UpdateClient *updater = UnwrapJsObject<UpdateClient>(env, info); in NapiOn()
40 napi_value UpdateClient::Napi::NapiOff(napi_env env, napi_callback_info info) in NapiOff()
43 UpdateClient *updater = UnwrapJsObject<UpdateClient>(env, info); in NapiOff()
48 UpdateClient::UpdateClient(napi_env env, napi_value thisVar) in UpdateClient() function in OHOS::UpdateEngine::UpdateClient
56 UpdateClient::~UpdateClient() in ~UpdateClient()
64 napi_value UpdateClient::GetOnlineUpdater(napi_env env, napi_callback_info info) in GetOnlineUpdater()
84 std::thread initThread(&UpdateClient::InitCallback, this); in GetOnlineUpdater()
90 void UpdateClient::InitCallback() in InitCallback()
104 napi_value UpdateClient::CheckNewVersion(napi_env env, napi_callback_info info) in CheckNewVersion()
[all …]
Dupdate_client.h23 class UpdateClient : public IUpdater {
34 UpdateClient(napi_env env, napi_value thisVar);
35 ~UpdateClient() override;
/base/inputmethod/imf/services/include/
Dperuser_session.h122 void UpdateClient(sptr<IRemoteObject> inputClient, bool isShowKeyboard);
/base/inputmethod/imf/services/src/
Dperuser_session.cpp87 void PerUserSession::UpdateClient(sptr<IRemoteObject> inputClient, bool isShowKeyboard) in UpdateClient() function in OHOS::MiscServices::PerUserSession
161 UpdateClient(inputClient->AsObject(), isShowKeyboard); in ShowKeyboard()
184 UpdateClient(inputClient->AsObject(), false); in HideKeyboard()
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_private_member_test.cpp305 userSession->UpdateClient(nullptr, true);