Home
last modified time | relevance | path

Searched refs:UpdateResult (Results 1 – 13 of 13) sorted by relevance

/base/update/updateservice/services/firmware/upgrade/status/include/
Dfirmware_result_process.h45 struct UpdateResult { struct
65 std::map<std::string, UpdateResult> &resultMap); argument
68 UpdateResult CompareVersion(const FirmwareComponent &component);
69 …void ParseUpdaterResultRecord(const std::string &resultLine, std::map<std::string, UpdateResult> &…
70 void HandleFileError(std::map<std::string, UpdateResult> &resultMap,
72 UpdateResultCode HandleFileResults(std::map<std::string, UpdateResult> &resultMap,
/base/update/updateservice/services/firmware/upgrade/status/src/
Dfirmware_result_process.cpp42 std::map<std::string, UpdateResult> &resultMap) in GetUpdaterResult()
66 UpdateResult FirmwareResultProcess::CompareVersion(const FirmwareComponent &component) in CompareVersion()
72 UpdateResult updateResult; in CompareVersion()
94 std::map<std::string, UpdateResult> &resultMap) in ParseUpdaterResultRecord()
100 UpdateResult updaterReason; in ParseUpdaterResultRecord()
123 void FirmwareResultProcess::HandleFileError(std::map<std::string, UpdateResult> &resultMap, in HandleFileError()
128 UpdateResult updateResult = CompareVersion(component); in HandleFileError()
133 UpdateResultCode FirmwareResultProcess::HandleFileResults(std::map<std::string, UpdateResult> &resu… in HandleFileResults()
147 UpdateResult updateResult = CompareVersion(component); in HandleFileResults()
/base/update/updateservice/frameworks/js/napi/base/include/
Dclient_helper.h77 struct UpdateResult { struct
78 …using BuildJSObject = std::function<int(napi_env env, napi_value &obj, const UpdateResult &result)… argument
121 UpdateResult &operator=(const UpdateResult &updateResult)
188 static int32_t BuildCheckResult(napi_env env, napi_value &obj, const UpdateResult &result);
189 static int32_t BuildNewVersionInfo(napi_env env, napi_value &obj, const UpdateResult &result);
190 …static int32_t BuildVersionDescriptionInfo(napi_env env, napi_value &obj, const UpdateResult &resu…
191 static int32_t BuildUpgradePolicy(napi_env env, napi_value &obj, const UpdateResult &result);
192 … static int32_t BuildCurrentVersionInfo(napi_env env, napi_value &obj, const UpdateResult &result);
193 static int32_t BuildTaskInfo(napi_env env, napi_value &obj, const UpdateResult &result);
194 static int32_t BuildUndefinedStatus(napi_env env, napi_value &obj, const UpdateResult &result);
Diupdater.h35 virtual void GetUpdateResult(SessionType type, UpdateResult &result);
/base/update/updateservice/services/firmware/upgrade/flow/include/
Dfirmware_manager.h64 …void HandleBootUpdateSuccess(const FirmwareTask &task, const std::map<std::string, UpdateResult> &…
65 …void HandleBootUpdateFail(const FirmwareTask &task, const std::map<std::string, UpdateResult> &res…
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_session.h78 void GetUpdateResult(UpdateResult &result) in GetUpdateResult()
184 void GetBusinessError(BusinessError &businessError, const UpdateResult &result) in GetBusinessError()
222 void NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) override;
249 void NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) override;
266 void NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) override;
Diupdate_session.h36 virtual void NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) = 0;
Dupdate_session.cpp140 void UpdateAsyncession::NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) in NotifyJS()
179 UpdateResult result; in CompleteWork()
210 void UpdatePromiseSession::NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) in NotifyJS()
233 UpdateResult result; in CompleteWork()
261 void UpdateListener::NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result) in NotifyJS()
Dupdate_client.h59 void GetUpdateResult(SessionType type, UpdateResult &result) override;
Dupdate_client.cpp452 void UpdateClient::GetUpdateResult(SessionType type, UpdateResult &result) in GetUpdateResult()
/base/update/updateservice/services/firmware/upgrade/flow/src/
Dfirmware_manager.cpp352 std::map<std::string, UpdateResult> resultMap; in HandleBootUpdateOnStatusProcess()
368 const std::map<std::string, UpdateResult> &resultMap) in HandleBootUpdateSuccess()
395 const std::map<std::string, UpdateResult> &resultMap) in HandleBootUpdateFail()
/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp158 int32_t ClientHelper::BuildCurrentVersionInfo(napi_env env, napi_value &obj, const UpdateResult &re… in BuildCurrentVersionInfo()
224 int32_t ClientHelper::BuildTaskInfo(napi_env env, napi_value &obj, const UpdateResult &result) in BuildTaskInfo()
239 int32_t ClientHelper::BuildNewVersionInfo(napi_env env, napi_value &obj, const UpdateResult &result) in BuildNewVersionInfo()
256 int32_t ClientHelper::BuildVersionDescriptionInfo(napi_env env, napi_value &obj, const UpdateResult in BuildVersionDescriptionInfo()
273 int32_t ClientHelper::BuildCheckResult(napi_env env, napi_value &obj, const UpdateResult &result) in BuildCheckResult()
295 int32_t ClientHelper::BuildUpgradePolicy(napi_env env, napi_value &obj, const UpdateResult &result) in BuildUpgradePolicy()
327 int32_t ClientHelper::BuildUndefinedStatus(napi_env env, napi_value &obj, const UpdateResult &resul… in BuildUndefinedStatus()
Diupdater.cpp85 void IUpdater::GetUpdateResult(SessionType type, UpdateResult &result) in GetUpdateResult()