/base/update/updateservice/services/engine/include/ |
D | update_service_proxy.h | 36 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 ¤tVersionDescriptionInfo, BusinessError &businessError) override; [all …]
|
D | update_service_impl_firmware.h | 37 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 ¤tVersionDescriptionInfo, BusinessError &businessError) final; [all …]
|
D | update_service.h | 47 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 ¤tVersionDescriptionInfo, BusinessError &businessError) override; [all …]
|
D | update_service_local_updater.h | 34 BusinessError &businessError) final; 37 BusinessError &businessError) final;
|
/base/update/updateservice/interfaces/inner_api/include/ |
D | update_service_kits.h | 45 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 ¤tVersionDescriptionInfo, BusinessError &businessError) = 0; [all …]
|
D | iservice_online_updater.h | 33 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 ¤tVersionDescriptionInfo, BusinessError &businessError) = 0; [all …]
|
D | update_service_kits_impl.h | 43 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 ¤tVersionDescriptionInfo, BusinessError &businessError) final; [all …]
|
D | iservice_local_updater.h | 30 const std::string &packageName, BusinessError &businessError) = 0; 33 BusinessError &businessError) = 0;
|
/base/update/updateservice/interfaces/inner_api/engine/ |
D | update_service_proxy.cpp | 108 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 …]
|
D | update_service_kits_impl.cpp | 112 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/ |
D | napi_webview_controller.cpp | 83 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/ |
D | firmware_manager.h | 43 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/ |
D | update_client.cpp | 94 [=](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 …]
|
D | restorer.cpp | 43 BusinessError *businessError = reinterpret_cast<BusinessError *>(context); in FactoryReset()
|
D | local_updater.cpp | 70 [](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/ |
D | update_service.cpp | 152 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 …]
|
D | update_service_impl_firmware.cpp | 42 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 ¤tVersionInfo, BusinessError &businessError) in GetCurrentVersionInfo() [all …]
|
D | update_service_stub.cpp | 76 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/ |
D | napi_web_data_base.cpp | 147 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/ |
D | basic.d.ts | 17 (err: BusinessError, data: T): void; 28 export interface BusinessError extends Error { interface
|
/base/web/webview/interfaces/kits/napi/js/ |
D | webview_export.js | 26 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/ |
D | napi_web_cookie_manager.cpp | 116 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/ |
D | business_error.cpp | 22 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/ |
D | firmware_download_mode.h | 31 FirmwareDownloadMode(const DownloadOptions &downloadOptions, BusinessError &businessError, in FirmwareDownloadMode() 56 BusinessError &businessError_;
|
D | firmware_install_apply_mode.h | 32 FirmwareInstallApplyMode(const UpgradeOptions &upgradeOptions, BusinessError &businessError, in FirmwareInstallApplyMode() 60 BusinessError &businessError_;
|