Home
last modified time | relevance | path

Searched refs:workResult_ (Results 1 - 2 of 2) sorted by relevance

/base/update/updateservice/frameworks/js/napi/session/include/
H A Dnapi_session.h83 return workResult_ == INT_CALL_SUCCESS; in IsWorkExecuteSuccess()
101 switch (workResult_) { in BuildWorkBusinessErr()
103 msg = "BusinessError " + std::to_string(workResult_) + NOT_SYSTEM_APP_INFO.data(); in BuildWorkBusinessErr()
107 msg = "BusinessError " + std::to_string(workResult_) + ": Permission denied. An attempt was made to " + in BuildWorkBusinessErr()
111 msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": IPC error."; in BuildWorkBusinessErr()
115 msg = "BusinessError " + std::to_string(workResult_) + ": Capability not supported. " + in BuildWorkBusinessErr()
119 msg = "BusinessError " + std::to_string(workResult_) + ": Parameter verification failed."; in BuildWorkBusinessErr()
122 msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": Execute fail."; in BuildWorkBusinessErr()
125 msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": Forbidden execution."; in BuildWorkBusinessErr()
128 msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) in BuildWorkBusinessErr()
162 int32_t workResult_ = INT_CALL_SUCCESS; global() member in OHOS::UpdateEngine::NapiSession
[all...]
/base/update/updateservice/frameworks/js/napi/session/src/
H A Dnapi_session.cpp55 workResult_ = doWorker_(&businessError_); in ExecuteWork()
57 workResult_ = doWorker_(context_); in ExecuteWork()
59 if (workResult_ != 0) { in ExecuteWork()
60 ENGINE_LOGI("UpdateSession::ExecuteWork workResult : %{public}d", workResult_); in ExecuteWork()

Completed in 2 milliseconds