Home
last modified time | relevance | path

Searched refs:UpdateSession (Results 1 – 5 of 5) sorted by relevance

/base/update/updateservice/frameworks/js/napi/client/
Dupdate_session.cpp34 UpdateSession::UpdateSession(IUpdater *client, SessionParams &sessionParams, size_t argc, size_t ca… in UpdateSession() function in OHOS::UpdateEngine::UpdateSession
38 napi_value UpdateSession::CreateWorkerName(napi_env env) const in CreateWorkerName()
47 napi_value UpdateSession::StartWork(napi_env env, const napi_value *args, DoWorkFunction worker, vo… in StartWork()
55 void UpdateSession::ExecuteWork(napi_env env) in ExecuteWork()
83 void UpdateSession::CompleteWork(napi_env env, napi_status status, void *data) in CompleteWork()
85 auto sess = reinterpret_cast<UpdateSession*>(data); in CompleteWork()
97 void UpdateSession::ExecuteWork(napi_env env, void *data) in ExecuteWork()
99 auto sess = reinterpret_cast<UpdateSession*>(data); in ExecuteWork()
128 …env, nullptr, workName, UpdateSession::ExecuteWork, UpdateSession::CompleteWork, this, &(worker_)); in StartWork()
201 status = napi_create_async_work(env, nullptr, workName, UpdateSession::ExecuteWork, in StartWork()
[all …]
Dupdate_session.h31 class UpdateSession : public IUpdateSession {
33UpdateSession(IUpdater *client, SessionParams &sessionParams, size_t argc, size_t callbackNumber);
35 virtual ~UpdateSession() {} in ~UpdateSession()
207 class UpdateAsyncession : public UpdateSession {
210 : UpdateSession(client, sessionParams, argc, callbackNumber) in UpdateSession() function
240 class UpdatePromiseSession : public UpdateSession {
243 : UpdateSession(client, sessionParams, argc, callbackNumber) {} in UpdateSession() function
256 class UpdateListener : public UpdateSession {
260 : UpdateSession(client, sessionParams, argc, callbackNumber), isOnce_(isOnce) {} in UpdateSession() function
Dupdate_client.h67 UpdateSession *GetUpdateSession(uint32_t sessId) in GetUpdateSession()
Dupdate_client.cpp122 std::shared_ptr<UpdateSession> sess = nullptr; in CancelUpgrade()
/base/update/updateservice/frameworks/js/napi/base/src/
Diupdater.cpp41 …std::shared_ptr<UpdateSession> sess = std::make_shared<UpdateListener>(this, sessionParams, argc, … in On()