Home
last modified time | relevance | path

Searched refs:BusinessError (Results 1 – 25 of 71) sorted by relevance

123

/base/update/updateservice/services/engine/include/
Dupdate_service_proxy.h36 const DownloadOptions &downloadOptions, BusinessError &businessError) override;
39 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) override;
42 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) override;
45 const UpgradeOptions &upgradeOptions, BusinessError &businessError) override;
48 const ClearOptions &clearOptions, BusinessError &businessError) override;
50 int32_t TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessError) override;
53 BusinessError &businessError) override;
57 BusinessError &businessError) override;
60 BusinessError &businessError) override;
63 … VersionDescriptionInfo &currentVersionDescriptionInfo, BusinessError &businessError) override;
[all …]
Dupdate_service_impl_firmware.h37 const DownloadOptions &downloadOptions, BusinessError &businessError) final;
40 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) final;
43 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) final;
46 const UpgradeOptions &upgradeOptions, BusinessError &businessError) final;
49 const ClearOptions &clearOptions, BusinessError &businessError) final;
51 int32_t TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessError) final;
54 … const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) final;
58 BusinessError &businessError) final;
61 BusinessError &businessError) final;
64 VersionDescriptionInfo &currentVersionDescriptionInfo, BusinessError &businessError) final;
[all …]
Dupdate_service.h47 const DownloadOptions &downloadOptions, BusinessError &businessError) override;
50 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) override;
53 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) override;
56 const UpgradeOptions &upgradeOptions, BusinessError &businessError) override;
59 const ClearOptions &clearOptions, BusinessError &businessError) override;
61 int32_t TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessError) override;
64 … const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) override;
68 BusinessError &businessError) override;
71 BusinessError &businessError) override;
74 … VersionDescriptionInfo &currentVersionDescriptionInfo, BusinessError &businessError) override;
[all …]
Dupdate_service_local_updater.h34 BusinessError &businessError) final;
37 BusinessError &businessError) final;
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_service_kits.h45 const DownloadOptions &downloadOptions, BusinessError &businessError) = 0;
48 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) = 0;
51 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) = 0;
54 const UpgradeOptions &upgradeOptions, BusinessError &businessError) = 0;
57 const ClearOptions &clearOptions, BusinessError &businessError) = 0;
59 virtual int32_t TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessError) = 0;
62 BusinessError &businessError) = 0;
66 BusinessError &businessError) = 0;
69 BusinessError &businessError) = 0;
72 VersionDescriptionInfo &currentVersionDescriptionInfo, BusinessError &businessError) = 0;
[all …]
Diservice_online_updater.h33 const DownloadOptions &downloadOptions, BusinessError &businessError) = 0;
36 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) = 0;
39 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) = 0;
42 const UpgradeOptions &upgradeOptions, BusinessError &businessError) = 0;
45 const ClearOptions &clearOptions, BusinessError &businessError) = 0;
47 virtual int32_t TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessError) = 0;
50 BusinessError &businessError) = 0;
54 BusinessError &businessError) = 0;
57 BusinessError &businessError) = 0;
60 VersionDescriptionInfo &currentVersionDescriptionInfo, BusinessError &businessError) = 0;
[all …]
Dupdate_service_kits_impl.h43 const DownloadOptions &downloadOptions, BusinessError &businessError) final;
46 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) final;
49 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) final;
52 const UpgradeOptions &upgradeOptions, BusinessError &businessError) final;
55 const ClearOptions &clearOptions, BusinessError &businessError) final;
57 int32_t TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessError) final;
60 BusinessError &businessError) final;
64 BusinessError &businessError) final;
67 BusinessError &businessError) final;
70 VersionDescriptionInfo &currentVersionDescriptionInfo, BusinessError &businessError) final;
[all …]
Diservice_local_updater.h30 const std::string &packageName, BusinessError &businessError) = 0;
33 BusinessError &businessError) = 0;
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_proxy.cpp108 const DownloadOptions &downloadOptions, BusinessError &businessError) in Download()
124 BusinessError remoteBusinessError; in Download()
131 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) in PauseDownload()
147 BusinessError remoteBusinessError; in PauseDownload()
154 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) in ResumeDownload()
170 BusinessError remoteBusinessError; in ResumeDownload()
177 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade()
195 BusinessError remoteBusinessError; in Upgrade()
202 const ClearOptions &clearOptions, BusinessError &businessError) in ClearError()
217 BusinessError remoteBusinessError; in ClearError()
[all …]
Dupdate_service_kits_impl.cpp112 const BusinessError &businessError, const CheckResult &checkResult) in OnCheckVersionDone()
161 const DownloadOptions &downloadOptions, BusinessError &businessError) in Download()
170 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) in PauseDownload()
179 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) in ResumeDownload()
188 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade()
197 const ClearOptions &clearOptions, BusinessError &businessError) in ClearError()
205 int32_t UpdateServiceKitsImpl::TerminateUpgrade(const UpgradeInfo &info, BusinessError &businessErr… in TerminateUpgrade()
214 BusinessError &businessError) in GetNewVersionInfo()
224 VersionDescriptionInfo &newVersionDescriptionInfo, BusinessError &businessError) in GetNewVersionDescription()
234 BusinessError &businessError) in GetCurrentVersionInfo()
[all …]
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp83 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in GetArrayValueType()
87 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in GetArrayValueType()
110 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetArrayHandlerBoolean()
120 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetArrayHandlerString()
130 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetArrayHandlerInteger()
140 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetArrayHandlerDouble()
411 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetHttpDns()
416 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetHttpDns()
422 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetHttpDns()
427 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in SetHttpDns()
[all …]
/base/update/updateservice/services/firmware/upgrade/flow/include/
Dfirmware_manager.h43 void DoDownload(const DownloadOptions &downloadOptions, BusinessError &businessError);
44 …void DoInstall(const UpgradeOptions &upgradeOptions, BusinessError &businessError, InstallType ins…
46 void DoClearError(BusinessError &businessError);
48 void DoCancelDownload(BusinessError &businessError);
49 void DoTerminateUpgrade(BusinessError &businessError);
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_client.cpp94 [=](const BusinessError &businessError, const CheckResult &checkResult) { in InitCallback()
130 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in CancelUpgrade()
191 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in Download()
216 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in PauseDownload()
241 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in ResumeDownload()
267 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in Upgrade()
296 BusinessError *businessError = reinterpret_cast<BusinessError*>(context); in ClearError()
313 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in TerminateUpgrade()
337 BusinessError *businessError = reinterpret_cast<BusinessError*>(context); in SetUpgradePolicy()
349 BusinessError *businessError = reinterpret_cast<BusinessError*>(context); in GetUpgradePolicy()
[all …]
Drestorer.cpp43 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in FactoryReset()
Dlocal_updater.cpp70 [](const BusinessError &businessError, const CheckResult &checkResult) {}, in Init()
108 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in VerifyUpgradePackage()
134 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in ApplyNewVersion()
/base/update/updateservice/services/engine/src/
Dupdate_service.cpp152 BusinessError &businessError) in GetNewVersionInfo()
164 BusinessError &businessError) in GetNewVersionDescription()
176 BusinessError &businessError) in GetCurrentVersionInfo()
188 BusinessError &businessError) in GetCurrentVersionDescription()
199 int32_t UpdateService::GetTaskInfo(const UpgradeInfo &info, TaskInfo &taskInfo, BusinessError &busi… in GetTaskInfo()
210 BusinessError &businessError) in SetUpgradePolicy()
220 …ice::GetUpgradePolicy(const UpgradeInfo &info, UpgradePolicy &policy, BusinessError &businessError) in GetUpgradePolicy()
241 const DownloadOptions &downloadOptions, BusinessError &businessError) in Download()
252 const PauseDownloadOptions &pauseDownloadOptions, BusinessError &businessError) in PauseDownload()
261 const ResumeDownloadOptions &resumeDownloadOptions, BusinessError &businessError) in ResumeDownload()
[all …]
Dupdate_service_impl_firmware.cpp42 DelayedSingleton<FirmwareManager>::GetInstance()->DoCheck([=](BusinessError &businessError, in CheckNewVersion()
53 const DownloadOptions &downloadOptions, BusinessError &businessError) in Download()
74 BusinessError &businessError) in PauseDownload()
84 BusinessError &businessError) in ResumeDownload()
93 const UpgradeOptions &upgradeOptions, BusinessError &businessError) in Upgrade()
106 const ClearOptions &clearOptions, BusinessError &businessError) in ClearError()
115 int32_t UpdateServiceImplFirmware::TerminateUpgrade(const UpgradeInfo &info, BusinessError &busines… in TerminateUpgrade()
123 const UpgradeInfo &info, NewVersionInfo &newVersionInfo, BusinessError &businessError) in GetNewVersionInfo()
137 VersionDescriptionInfo &newVersionDescriptionInfo, BusinessError &businessError) in GetNewVersionDescription()
174 CurrentVersionInfo &currentVersionInfo, BusinessError &businessError) in GetCurrentVersionInfo()
[all …]
Dupdate_service_stub.cpp76 BusinessError businessError = {}; in GetNewVersionStub()
92 BusinessError businessError; in GetNewVersionDescriptionStub()
112 BusinessError businessError = {}; in GetCurrentVersionStub()
127 BusinessError businessError; in GetCurrentVersionDescriptionStub()
146 BusinessError businessError = {}; in GetTaskInfoStub()
170 BusinessError businessError; in DownloadVersionStub()
187 BusinessError businessError; in PauseDownloadStub()
205 BusinessError businessError; in ResumeDownloadStub()
223 BusinessError businessError; in DoUpdateStub()
241 BusinessError businessError; in ClearErrorStub()
[all …]
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_web_data_base.cpp147 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
153 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
159 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
165 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
170 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
176 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
182 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSaveHttpAuthCredentials()
206 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetHttpAuthCredentials()
212 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetHttpAuthCredentials()
218 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetHttpAuthCredentials()
[all …]
/base/telephony/core_service/interfaces/kits/js/
Dbasic.d.ts17 (err: BusinessError, data: T): void;
28 export interface BusinessError extends Error { interface
/base/web/webview/interfaces/kits/napi/js/
Dwebview_export.js26 class BusinessError extends Error { class
55 throw new BusinessError(PARAM_CHECK_ERROR);
65 throw new BusinessError(PARAM_CHECK_ERROR);
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp116 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetCookie()
122 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsGetCookie()
136 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_URL); in JsGetCookie()
151 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSetCookie()
158 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSetCookie()
162 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsSetCookie()
174 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_URL); in JsSetCookie()
177 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_COOKIE_VALUE); in JsSetCookie()
205 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsPutAcceptCookieEnabled()
211 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JsPutAcceptCookieEnabled()
[all …]
/base/web/webview/interfaces/kits/napi/common/
Dbusiness_error.cpp22 napi_value BusinessError::CreateError(napi_env env, int32_t err) in CreateError()
35 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode) in ThrowErrorByErrcode()
/base/update/updateservice/services/firmware/upgrade/mode/include/
Dfirmware_download_mode.h31 FirmwareDownloadMode(const DownloadOptions &downloadOptions, BusinessError &businessError, in FirmwareDownloadMode()
56 BusinessError &businessError_;
Dfirmware_install_apply_mode.h32 FirmwareInstallApplyMode(const UpgradeOptions &upgradeOptions, BusinessError &businessError, in FirmwareInstallApplyMode()
60 BusinessError &businessError_;

123