/ohos5.0/base/telephony/ril_adapter/services/vendor/src/ |
H A D | at_data.c | 189 errInfo.errorNo = (ret != HRIL_ERR_SUCCESS) ? ret : errInfo.errorNo; in SendInquireCGACT() 192 return errInfo; in SendInquireCGACT() 205 return errInfo; in SendInquireCGACT() 217 return errInfo; in SendInquireCGACT() 328 errInfo.errorNo = (ret != HRIL_ERR_SUCCESS) ? ret : errInfo.errorNo; in GetLinkInformation() 331 return errInfo; in GetLinkInformation() 338 return errInfo; in GetLinkInformation() 360 return errInfo; in GetLinkInformation() 372 errInfo.errorNo = (ret != HRIL_ERR_SUCCESS) ? ret : errInfo.errorNo; in SendInquireCGDCONT() 375 return errInfo; in SendInquireCGDCONT() [all …]
|
H A D | at_call.c | 46 reportInfo.modemErrInfo = errInfo; in OnCallReportErrorMessages() 144 reportInfo.modemErrInfo = errInfo; in ReportCallStateUpdated() 165 reportInfo.modemErrInfo = errInfo; in ReportSrvccStatusUpdate() 192 reportInfo.modemErrInfo = errInfo; in ReportCsChannelInfo() 253 reportInfo.modemErrInfo = errInfo; in ReportEmergencyNumberList() 275 reportInfo.modemErrInfo = errInfo; in ReportCallUssdNotice() 1162 err = errInfo.errorNo; in ReqSetCallPreferenceMode() 1188 err = errInfo.errorNo; in ReqSetUssd() 1207 err = errInfo.errorNo; in ReqCloseUnFinishedUssd() 1268 err = errInfo.errorNo; in ReqSetMute() [all …]
|
H A D | vendor_util.c | 409 ModemReportErrorInfo errInfo; in GetReportErrorInfo() local 411 errInfo.errType = HRIL_REPORT_ERR_TYPE_GENERIC; in GetReportErrorInfo() 412 errInfo.errorNo = HRIL_ERR_GENERIC_FAILURE; in GetReportErrorInfo() 416 errInfo.errType = HRIL_REPORT_ERR_TYPE_CME; in GetReportErrorInfo() 420 return errInfo; in GetReportErrorInfo() 424 errInfo.errorNo = ret; in GetReportErrorInfo() 427 return errInfo; in GetReportErrorInfo() 432 ModemReportErrorInfo errInfo; in InitModemReportErrorInfo() local 434 errInfo.errorNo = HRIL_ERR_SUCCESS; in InitModemReportErrorInfo() 435 errInfo.errType = HRIL_REPORT_ERR_TYPE_NONE; in InitModemReportErrorInfo() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/js/unittest/stage_unittest/preferences/src/entry/src/main/ets/test/ |
H A D | StagePreferencesSynctest.ets | 46 } catch (errInfo) { 47 console.error(TAG, `failed, code is ${errInfo.code}, message is ${errInfo.message}`); 66 } catch (errInfo) { 67 console.error(TAG, `failed, code is ${errInfo.code}, message is ${errInfo.message}`); 85 } catch (errInfo) { 86 console.info(TAG, `failed, code is ${errInfo.code}, message is ${errInfo.message}`); 105 } catch (errInfo) { 124 } catch (errInfo) { 143 } catch (errInfo) { 162 } catch (errInfo) { [all …]
|
H A D | StagePreferencesPromisetest.ets | 44 } catch(errInfo){ 45 console.error(TAG, `failed, code is ${errInfo.code}, message is ${errInfo.message}`); 63 } catch(errInfo){ 83 } catch(errInfo){ 107 } catch(errInfo){ 131 } catch(errInfo){ 151 } catch(errInfo){ 175 } catch(errInfo){ 198 } catch(errInfo){ 218 } catch(errInfo){ [all …]
|
H A D | StagePreferencesCallBacktest.ets | 53 } catch (errInfo) { 54 console.error(TAG, `failed, code is ${errInfo.code}, message is ${errInfo.message}`); 81 } catch (errInfo) { 104 } catch (errInfo) { 131 } catch (errInfo) { 158 } catch (errInfo) { 181 } catch (errInfo) { 208 } catch (errInfo) { 235 } catch (errInfo) { 258 } catch (errInfo) { [all …]
|
/ohos5.0/base/request/request/frameworks/js/napi/src/ |
H A D | js_initialize.cpp | 115 err.errInfo = "ApplicationInfo is null"; in InitParam() 378 if (!ParseData(env, jsConfig, config, errInfo)) { in ParseConfig() 381 if (!ParseIndex(env, jsConfig, config, errInfo)) { in ParseConfig() 387 if (!ParseTitle(env, jsConfig, config, errInfo) || !ParseToken(env, jsConfig, config, errInfo) in ParseConfig() 391 if (!ParseSaveas(env, jsConfig, config, errInfo)) { in ParseConfig() 924 errInfo = "Parse url error"; in ParseConfigV9() 928 if (!func(env, jsConfig, config, errInfo)) { in ParseConfigV9() 931 ParseTitle(env, jsConfig, config, errInfo); in ParseConfigV9() 941 errInfo = "Parse config files error"; in ParseUploadConfig() 1034 error.errInfo = "Failed to open user file"; in CheckUserFileSpec() [all …]
|
H A D | js_task.cpp | 339 NapiUtils::ThrowError(context->env_, err.code, err.errInfo, true); in GetTask() 449 err.errInfo = "Incorrect parameter type, tid is not of string type"; in ParseGetTask() 456 err.errInfo = "Parameter verification failed, tid is empty"; in ParseGetTask() 463 err.errInfo = "task not found error"; in ParseGetTask() 543 err.errInfo = "Missing mandatory parameters, missing tid"; in ParseTid() 549 err.errInfo = "Incorrect parameter type, tid is not of string type"; in ParseTid() 555 err.errInfo = "Parameter verification failed, tid is empty"; in ParseTid() 641 err.errInfo = "Incorrect parameter type, tid is not of string type"; in ParseTouch() 648 err.errInfo = "Parameter verification failed, tid is empty"; in ParseTouch() 655 err.errInfo = "task not found error"; in ParseTouch() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/ |
H A D | distributed_mission_manager.cpp | 317 std::string errInfo = "Parameter error"; in NAPI_StartSyncRemoteMissions() local 389 std::string errInfo = "Parameter error"; in NAPI_StopSyncRemoteMissions() local 646 OnCB *onCB, std::string &errInfo) in CreateOnCallbackReference() argument 704 OnCB *onCB, std::string &errInfo) in OnWrapType() argument 804 OnCB *onCB, std::string &errInfo) in OnWrap() argument 865 OnCB *onCB, std::string &errInfo) in OffWrap() argument 900 std::string errInfo = "Parameter error"; in NAPI_RegisterMissionListener() local 923 std::string errInfo = "Parameter error"; in NAPI_NotifyToOn() local 946 std::string errInfo = "Parameter error"; in NAPI_NotifyToOff() local 1518 std::string errInfo = "Parameter error"; in NAPI_UnRegisterMissionListener() local [all …]
|
/ohos5.0/base/request/request/frameworks/js/napi/include/ |
H A D | js_initialize.h | 55 … static bool ParseConfig(napi_env env, napi_value jsConfig, Config &config, std::string &errInfo); 60 … static bool ParseAction(napi_env env, napi_value jsConfig, Action &action, std::string &errInfo); 61 static bool ParseUrl(napi_env env, napi_value jsConfig, std::string &url, std::string &errInfo); 65 static bool ParseData(napi_env env, napi_value jsConfig, Config &config, std::string &errInfo); 66 static bool ParseIndex(napi_env env, napi_value jsConfig, Config &config, std::string &errInfo); 68 static bool ParseTitle(napi_env env, napi_value jsConfig, Config &config, std::string &errInfo); 75 … static bool ParseSaveas(napi_env env, napi_value jsConfig, Config &config, std::string &errInfo); 76 static bool ParseToken(napi_env env, napi_value jsConfig, Config &config, std::string &errInfo); 87 std::vector<FileSpec> &files, std::string &errInfo); 92 std::string &path, std::string &errInfo); [all …]
|
/ohos5.0/base/theme/screenlock_mgr/frameworks/js/napi/src/ |
H A D | napi_screenlock_ability.cpp | 196 ErrorInfo errInfo; in NAPI_IsLocked() local 199 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_IsLocked() 242 ErrorInfo errInfo; in AsyncCallFunc() local 450 ErrorInfo errInfo; in NAPI_OnSystemEvent() local 453 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_OnSystemEvent() 540 ErrorInfo errInfo; in NAPI_IsScreenLockDisabled() local 543 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_IsScreenLockDisabled() 675 ErrorInfo errInfo; in NAPI_GetScreenLockAuthState() local 678 ThrowError(env, errInfo.errorCode_, errInfo.message_); in NAPI_GetScreenLockAuthState() 753 ErrorInfo errInfo; in NAPI_GetStrongAuth() local [all …]
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/common/src/ |
H A D | nativeapi_common.cpp | 27 JSIValue errInfo; in FailCallBack() local 29 errInfo = JSI::CreateString(ERR_IO_EXCEPTION); in FailCallBack() 32 errInfo = JSI::CreateString(ERR_ILLEGAL_PARAM); in FailCallBack() 35 errInfo = JSI::CreateString(ERR_NO_FILE); in FailCallBack() 38 errInfo = JSI::CreateString(ERR_READ_TOO_LONG); in FailCallBack() 41 errInfo = JSI::CreateString(ERR_GENERAL); in FailCallBack() 47 JSIValue argv[ARGC_TWO] = {errInfo, errCode}; in FailCallBack() 54 JSI::ReleaseValueList(fail, complete, errInfo, errCode, ARGS_END); in FailCallBack()
|
/ohos5.0/foundation/arkui/napi/module_manager/test/unittest/module_manager_test/ |
H A D | module_manager_test.cpp | 62 std::string errInfo = ""; variable 87 std::string errInfo = ""; variable 88 module = moduleManager->LoadNativeModule(moduleName, nullptr, false, errInfo, false, ""); 91 module = moduleManager->LoadNativeModule(moduleName, nullptr, false, errInfo, false); 111 std::string errInfo = ""; variable 112 module = moduleManager->LoadNativeModule(moduleName, nullptr, false, errInfo, false, ""); 115 module = moduleManager->LoadNativeModule(moduleName, nullptr, false, errInfo, false); 139 std::string errInfo = ""; variable 165 std::string errInfo = ""; variable 290 std::string errInfo = ""; variable [all …]
|
/ohos5.0/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.cpp | 542 HILOG_ERROR("%{public}s", errInfo.c_str()); in LoadNativeModule() 548 HILOG_ERROR("%{public}s", errInfo.c_str()); in LoadNativeModule() 559 HILOG_ERROR("%{public}s", errInfo.c_str()); in LoadNativeModule() 592 HILOG_WARN("%{public}s", errInfo.c_str()); in LoadNativeModule() 610 HILOG_WARN("%{public}s", errInfo.c_str()); in LoadNativeModule() 868 HILOG_ERROR("%{public}s", errInfo.c_str()); in LoadModuleLibrary() 886 HILOG_WARN("%{public}s", errInfo.c_str()); in LoadModuleLibrary() 989 HILOG_WARN("%{public}s", errInfo.c_str()); in FindNativeModuleByDisk() 1004 errInfo = "First attempt: "; in FindNativeModuleByDisk() 1007 errInfo += "\nSecond attempt: "; in FindNativeModuleByDisk() [all …]
|
/ohos5.0/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_initialize.cpp | 60 .errInfo = "ApplicationInfo is null" in ParseBundleName() 386 std::string &errInfo) in CheckDownloadFilePath() argument 391 errInfo = "this is fail saveas path"; in CheckDownloadFilePath() 398 errInfo = "this is fail saveas path"; in CheckDownloadFilePath() 404 errInfo = "this is fail saveas path"; in CheckDownloadFilePath() 411 errInfo = "this is fail saveas path"; in CheckDownloadFilePath() 655 .errInfo = "this is fail path" in CheckFileSpec() 728 .errInfo = "Get context fail" in ParseConfig() 739 ret.errInfo = "parse url error"; in ParseConfig() 749 ret.errInfo = "parse data error"; in ParseConfig() [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/ |
H A D | session_backup_n_exporter.cpp | 57 std::tuple<uint32_t, std::string> errInfo = std::make_tuple(errCode, errMsg); in OnFileReady() local 66 ErrParam errorParam = [ errInfo ]() { in OnFileReady() 67 return errInfo; in OnFileReady() 69 if (std::get<0>(errInfo) != 0) { in OnFileReady() 117 ErrParam errorParam = [ errInfo ]() { in onBundleBegin() 118 return errInfo; in onBundleBegin() 163 ErrParam errorParam = [ errInfo ]() { in onBundleEnd() 164 return errInfo; in onBundleEnd() 203 auto cbCompl = [errCode {err}, errInfo](napi_env env, NError err) -> NVal { in onAllBundlesEnd() 207 ErrParam errorParam = [ errInfo ]() { in onAllBundlesEnd() [all …]
|
H A D | session_incremental_backup_n_exporter.cpp | 60 std::tuple<uint32_t, std::string> errInfo = std::make_tuple(errCode, errMsg); in OnFileReady() local 65 errInfo](napi_env env, NError err) -> NVal { in OnFileReady() 71 ErrParam errorParam = [ errInfo ]() { in OnFileReady() 72 return errInfo; in OnFileReady() 74 if (std::get<0>(errInfo) != 0) { in OnFileReady() 123 ErrParam errorParam = [ errInfo ]() { in onBundleBegin() 124 return errInfo; in onBundleBegin() 169 ErrParam errorParam = [ errInfo ]() { in onBundleEnd() 170 return errInfo; in onBundleEnd() 213 ErrParam errorParam = [ errInfo ]() { in onAllBundlesEnd() [all …]
|
H A D | session_restore_n_exporter.cpp | 62 std::tuple<uint32_t, std::string> errInfo = std::make_tuple(errCode, errMsg); in OnFileReadySheet() local 67 errInfo](napi_env env, NError err) -> NVal { in OnFileReadySheet() 73 ErrParam errorParam = [ errInfo ]() { in OnFileReadySheet() 74 return errInfo; in OnFileReadySheet() 76 if (std::get<0>(errInfo) != 0) { in OnFileReadySheet() 125 ErrParam errorParam = [ errInfo ]() { in onBundleBegin() 126 return errInfo; in onBundleBegin() 171 ErrParam errorParam = [ errInfo ]() { in onBundleEnd() 172 return errInfo; in onBundleEnd() 215 ErrParam errorParam = [ errInfo ]() { in onAllBundlesEnd() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/include/mipi/ |
H A D | mipi_csi_core.h | 262 void (*getPhyErrIntCnt)(struct MipiCsiCntlr *cntlr, unsigned int phyId, PhyErrIntCnt *errInfo); 263 void (*getMipiErrInt)(struct MipiCsiCntlr *cntlr, unsigned int phyId, MipiErrIntCnt *errInfo); 264 … void (*getLvdsErrIntCnt)(struct MipiCsiCntlr *cntlr, unsigned int phyId, LvdsErrIntCnt *errInfo); 265 …void (*getAlignErrIntCnt)(struct MipiCsiCntlr *cntlr, unsigned int phyId, AlignErrIntCnt *errInfo); 494 …MipiCsiDebugGetPhyErrIntCnt(struct MipiCsiCntlr *cntlr, unsigned int phyId, PhyErrIntCnt *errInfo); 507 … MipiCsiDebugGetMipiErrInt(struct MipiCsiCntlr *cntlr, unsigned int phyId, MipiErrIntCnt *errInfo); 520 …piCsiDebugGetLvdsErrIntCnt(struct MipiCsiCntlr *cntlr, unsigned int phyId, LvdsErrIntCnt *errInfo); 533 …CsiDebugGetAlignErrIntCnt(struct MipiCsiCntlr *cntlr, unsigned int phyId, AlignErrIntCnt *errInfo);
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | sub_ext_extension.cpp | 228 std::string errInfo; in OnRestoreCallback() local 229 BJsonUtil::BuildExtensionErrInfo(errInfo, errCode, errMsg); in OnRestoreCallback() 276 std::string errInfo; in OnRestoreExCallback() local 340 std::string errInfo; in IncreOnRestoreExCallback() local 375 std::string errInfo; in IncreOnRestoreCallback() local 376 BJsonUtil::BuildExtensionErrInfo(errInfo, errCode, errMsg); in IncreOnRestoreCallback() 424 std::string errInfo; in OnBackupCallback() local 425 BJsonUtil::BuildExtensionErrInfo(errInfo, errCode, errMsg); in OnBackupCallback() 472 std::string errInfo; in OnBackupExCallback() local 515 std::string errInfo; in IncOnBackupCallback() local [all …]
|
/ohos5.0/foundation/ability/dmsfwk/interfaces/kits/napi/continuation_manager/ |
H A D | js_continuation_manager.cpp | 207 if (!errInfo.empty()) { in OnRegisterContinuation() 208 HILOGE("%{public}s", errInfo.c_str()); in OnRegisterContinuation() 305 if (!errInfo.empty()) { in OnUnregisterContinuation() 306 HILOGE("%{public}s", errInfo.c_str()); in OnUnregisterContinuation() 369 if (errInfo.empty()) { in OnRegisterDeviceSelectionCallback() 401 if (!errInfo.empty()) { in OnRegisterDeviceSelectionCallback() 402 HILOGE("%{public}s", errInfo.c_str()); in OnRegisterDeviceSelectionCallback() 454 if (!errInfo.empty()) { in OnUnregisterDeviceSelectionCallback() 455 HILOGE("%{public}s", errInfo.c_str()); in OnUnregisterDeviceSelectionCallback() 560 if (!errInfo.empty()) { in OnUpdateContinuationState() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/mipi/ |
H A D | mipi_csi_core.c | 501 … MipiCsiDebugGetPhyErrIntCnt(struct MipiCsiCntlr *cntlr, unsigned int phyId, PhyErrIntCnt *errInfo) in MipiCsiDebugGetPhyErrIntCnt() argument 515 if (errInfo == NULL) { in MipiCsiDebugGetPhyErrIntCnt() 521 cntlr->debugs->getPhyErrIntCnt(cntlr, phyId, errInfo); in MipiCsiDebugGetPhyErrIntCnt() 528 …t MipiCsiDebugGetMipiErrInt(struct MipiCsiCntlr *cntlr, unsigned int phyId, MipiErrIntCnt *errInfo) in MipiCsiDebugGetMipiErrInt() argument 542 if (errInfo == NULL) { in MipiCsiDebugGetMipiErrInt() 548 cntlr->debugs->getMipiErrInt(cntlr, phyId, errInfo); in MipiCsiDebugGetMipiErrInt() 555 …ipiCsiDebugGetLvdsErrIntCnt(struct MipiCsiCntlr *cntlr, unsigned int phyId, LvdsErrIntCnt *errInfo) in MipiCsiDebugGetLvdsErrIntCnt() argument 569 if (errInfo == NULL) { in MipiCsiDebugGetLvdsErrIntCnt() 575 cntlr->debugs->getLvdsErrIntCnt(cntlr, phyId, errInfo); in MipiCsiDebugGetLvdsErrIntCnt() 596 if (errInfo == NULL) { in MipiCsiDebugGetAlignErrIntCnt() [all …]
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
H A D | hap_parser.cpp | 47 std::string &errInfo) in ReadFileFromZip() argument 55 errInfo = FormatString("Cannot open %s", zipFile); in ReadFileFromZip() 62 errInfo = FormatString("File %s not found in %s", fileName, zipFile); in ReadFileFromZip() 68 errInfo = FormatString("Error %d with zipfile %s in unzGetCurrentFileInfo.", err, zipFile); in ReadFileFromZip() 76 errInfo = FormatString("Error allocating memory for read buffer"); in ReadFileFromZip() 82 … errInfo = FormatString("Error %d with zipfile %s in unzOpenCurrentFilePassword.", err, zipFile); in ReadFileFromZip() 92 errInfo = FormatString("Error %d with zipfile %s in unzReadCurrentFile", err, zipFile); in ReadFileFromZip() 127 size_t &bufLen, std::string &errInfo) in ReadIndexFromFile() argument 134 errInfo = "read config.json error"; in ReadIndexFromFile() 142 errInfo = "parse moduleName from config.json error"; in ReadIndexFromFile() [all …]
|
/ohos5.0/base/startup/init/services/init/standard/ |
H A D | fd_holder_service.c | 58 static void SendErrorInfo(int sock, const char *errInfo, const char *serviceName) in SendErrorInfo() argument 62 if (UNLIKELY(errInfo == NULL)) { // Should not happen. in SendErrorInfo() 66 ret = strncpy_s(errBuffer, MAX_FD_HOLDER_BUFFER, errInfo, strlen(errInfo)); in SendErrorInfo()
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | hap_parser.h | 41 size_t &bufLen, std::string &errInfo); 52 size_t &bufLen, std::string &errInfo);
|