Home
last modified time | relevance | path

Searched defs:errMsg (Results 1 – 25 of 52) sorted by relevance

123

/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_user_auth.cpp68 std::string errMsg = "The arg number must be 2 characters"; in GetAvailableStatus() local
75 std::string errMsg = "The type of arg 1 must be number"; in GetAvailableStatus() local
83 std::string errMsg = "The type of arg 2 must be number"; in GetAvailableStatus() local
114 std::string errMsg = "The arg number must be at least 1 character"; in ParseContextForGetSetProperty() local
131 std::string errMsg = "Arg 1 must be a valid GetPropertyRequest"; in ParseContextForGetSetProperty() local
138 std::string errMsg = "Arg 1 must be a valid SetPropertyRequest"; in ParseContextForGetSetProperty() local
218 …std::string errMsg = "The arg number must be at least " + std::to_string(expectedSize) + " charact… in ParseContextForAuth() local
225 std::string errMsg = "The type of arg " + std::to_string(index) + " must be number"; in ParseContextForAuth() local
231 … std::string errMsg = "The type of arg " + std::to_string(index) + " must be valid int array"; in ParseContextForAuth() local
237 std::string errMsg = "The type of arg " + std::to_string(index) + " must be number"; in ParseContextForAuth() local
[all …]
Dnapi_account_iam_inputer_manager.cpp57 std::string errMsg = "The number of parameter must be two"; in ParseContextForRegisterInputer() local
63 std::string errMsg = "The type of parameter authType must be number"; in ParseContextForRegisterInputer() local
71 … std::string errMsg = "The onGetData function should be contained in the inputer, but not found"; in ParseContextForRegisterInputer() local
79 std::string errMsg = "The onGetData is not a function"; in ParseContextForRegisterInputer() local
109 std::string errMsg = "The number of parameter must be one"; in UnregisterInputer() local
116 std::string errMsg = "The type of parameter authType must be number"; in UnregisterInputer() local
Dnapi_account_iam_identity_manager.cpp64 std::string errMsg = "The type of arg 1 must be function"; in ParseContextForOpenSession() local
125 std::string errMsg = "The arg number must be at least 2 characters"; in ParseContextForUpdateCredential() local
130 std::string errMsg = "The type of arg 1 must be valid CredentialInfo"; in ParseContextForUpdateCredential() local
135 std::string errMsg = "The type of arg 2 must be valid IIdmCallback"; in ParseContextForUpdateCredential() local
215 std::string errMsg = "The arg number must be at least 1 characters"; in Cancel() local
223 std::string errMsg = "The type of arg 1 must be a uint8_t array"; in Cancel() local
245 std::string errMsg = "The arg number must be at least 2 characters"; in ParseContextForDelUser() local
250 std::string errMsg = "The type of arg 1 must be a uint8_t array"; in ParseContextForDelUser() local
255 std::string errMsg = "The type of arg 2 must be valid IIdmCallback"; in ParseContextForDelUser() local
295 std::string errMsg = "The arg number must be at least 3 characters"; in ParseContextForDelCred() local
[all …]
Dnapi_account_iam_pin_auth.cpp54 …std::string errMsg = "The arg number must be at least " + std::to_string(ARG_SIZE_ONE) + " charact… in ParseContextForRegisterInputer() local
67 std::string errMsg = "The type of arg 1 must be function or object"; in ParseContextForRegisterInputer() local
/base/global/resource_management/dfx/hisysevent_adapter/
Dhisysevent_adapter.cpp25 void ReportInitResourceManagerFail(const std::string& bundleName, const std::string& errMsg) in ReportInitResourceManagerFail()
37 void ReportGetResourceByIdFail(int32_t resId, const std::string& result, const std::string& errMsg) in ReportGetResourceByIdFail()
50 …esourceByNameFail(const std::string& resName, const std::string& result, const std::string& errMsg) in ReportGetResourceByNameFail()
63 void ReportAddResourcePathFail(const char* resourcePath, const std::string& errMsg) in ReportAddResourcePathFail()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account_common.cpp40 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseOneParaContext() local
56 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaQueryOAByIdCB() local
63 std::string errMsg = "The type of arg 1 must be number"; in ParseParaQueryOAByIdCB() local
226 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaRemoveOACB() local
234 std::string errMsg = "The type of arg 1 must be number"; in ParseParaRemoveOACB() local
277 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaSetOAName() local
285 std::string errMsg = "The type of arg 1 must be number"; in ParseParaSetOAName() local
291 std::string errMsg = "The type of arg 2 must be string"; in ParseParaSetOAName() local
336 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaSetOAConstraints() local
345 std::string errMsg = "The type of arg 1 must be number"; in ParseParaSetOAConstraints() local
[all …]
/base/hiviewdfx/hilog/test/unittest/common/
Dhilogtool_test.cpp176 std::string errMsg = ErrorCode2Str(ERR_LOG_LEVEL_INVALID) + "\n"; variable
201 std::string errMsg = ErrorCode2Str(ERR_INVALID_DOMAIN_STR) + "\n"; variable
226 std::string errMsg = ErrorCode2Str(ERR_TAG_STR_TOO_LONG) + "\n"; variable
257 std::string errMsg = ErrorCode2Str(ERR_INVALID_SIZE_STR) + "\n"; variable
304 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable
333 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable
375 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable
400 std::string errMsg = ErrorCode2Str(ERR_NOT_NUMBER_STR) + "\n"; variable
470 std::string errMsg = ErrorCode2Str(ERR_LOG_TYPE_INVALID) + "\n"; variable
519 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable
[all …]
/base/usb/usb_manager/utils/native/include/
Dusb_napi_errors.h37 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument
47 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument
48 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument
50 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_config.cpp48 std::string errMsg = NapiUtil::CreateErrMsg(key, CONFIG_OPTION_MAP.at(key)); in Configure() local
53 std::string errMsg = "Invalid max storage quota value."; in Configure() local
Dnapi_hiappevent_builder.cpp142 std::string errMsg = NapiUtil::CreateErrMsg("param value", PARAM_VALUE_TYPE); in AddArrayParam2EventPack() local
172 std::string errMsg = NapiUtil::CreateErrMsg("param value", PARAM_VALUE_TYPE); in AddParam2EventPack() local
186 std::string errMsg = NapiUtil::CreateErrMsg("param value", PARAM_VALUE_TYPE); in AddParams2EventPack() local
/base/account/os_account/dfx/hisysevent_adapter/
Dhisysevent_adapter.cpp30 void ReportServiceStartFail(int32_t errCode, const std::string& errMsg) in ReportServiceStartFail()
65 int32_t id, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOsAccountOperationFail()
87 int32_t userId, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOhosAccountOperationFail()
109 int32_t errCode, const std::string& errMsg) in ReportAppAccountOperationFail()
/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
Dnapi_distributed_account.cpp72 std::string errMsg = "The type of arg 1 must be function"; in ParseQueryOhosAccountInfoAsyncContext() local
84 std::string errMsg = "The type of " + PROPERTY_KEY_NAME + " must be string"; in GetAccountInfo() local
90 std::string errMsg = "The type of " + PROPERTY_KEY_ID + " must be string"; in GetAccountInfo() local
96 std::string errMsg = "The type of " + PROPERTY_KEY_NICKNAME + " must be string"; in GetAccountInfo() local
102 std::string errMsg = "The type of " + PROPERTY_KEY_AVATAR + " must be string"; in GetAccountInfo() local
114 std::string errMsg = "The type of " + PROPERTY_KEY_SCALABLE + " must be object"; in GetAccountInfo() local
132 std::string errMsg = "The type of arg 2 must be function"; in ParseUpdateOhosAccountInfoAsyncContext() local
145 std::string errMsg = "The type of " + PROPERTY_KEY_EVENT + " must be string"; in ParseUpdateOhosAccountInfoAsyncContext() local
150 std::string errMsg = "The type of arg 1 must be object"; in ParseUpdateOhosAccountInfoAsyncContext() local
/base/security/access_token/interfaces/kits/common/src/
Dnapi_error.cpp47 std::string errMsg = "Unknown error, errCode + " + std::to_string(errCode) + "."; in GetErrorMessage() local
51 napi_value GenerateBusinessError(napi_env env, int32_t errCode, const std::string& errMsg) in GenerateBusinessError()
/base/location/frameworks/js/napi/source/
Dlocation_napi_errcode.cpp26 std::string errMsg = GetErrorMsgByCode(errCode); in HandleSyncErrCode() local
/base/update/updater/test/unittest/test_data/src/
DpackageInfos.json3 "errMsg": "", string
/base/update/updater/services/ui/view/page/
Dview_proxy.h48 T *As(std::string &errMsg) const in As()
/base/global/i18n/interfaces/js/kits/src/
Derror_util.cpp40 std::string errMsg = iter != ErrorCodeToMsg.end() ? iter->second : ""; in NapiThrow() local
/base/usb/usb_manager/utils/native/src/
Dusb_napi_errors.cpp34 void ThrowBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in ThrowBusinessError()
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp360 std::string errMsg; in ParseInputVerifyPermissionOrGetFlag() local
586 std::string errMsg = GetParamErrorMsg("tokenID", "number"); in VerifyAccessTokenSync() local
591 std::string errMsg = GetParamErrorMsg("permissionName", "string"); in VerifyAccessTokenSync() local
625 std::string errMsg; in ParseInputGrantOrRevokePermission() local
991 std::string errMsg; in ParseRequestPermissionFromUser() local
1279 std::string errMsg; in FillPermStateChangeInfo() local
1352 std::string errMsg = GetParamErrorMsg("type", "string"); in ParseInputToRegister() local
1377 std::string errMsg = GetErrorMessage(JsErrorCode::JS_ERROR_PARAM_INVALID); in RegisterPermStateChangeCallback() local
1385 std::string errMsg = GetErrorMessage(result); in RegisterPermStateChangeCallback() local
1406 std::string errMsg; in ParseInputToUnregister() local
[all …]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
Dtransport.cpp37 char errMsg[BUF_SIZE] = { 0 }; variable
/base/account/os_account/interfaces/kits/napi/common/include/
Dnapi_account_common.h38 std::string errMsg; member
/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp33 char errMsg[BUF_SIZE] = { 0 }; variable
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp82 std::string errMsg = GetParamErrorMsg(param, type); in ParamResolveErrorThrow() local
841 std::string errMsg = GetErrorMessage(JsErrorCode::JS_ERROR_PARAM_INVALID); in RegisterPermActiveChangeCallback() local
849 std::string errMsg = GetErrorMessage(jsCode); in RegisterPermActiveChangeCallback() local
879 std::string errMsg = GetErrorMessage(JsErrorCode::JS_ERROR_PARAM_INVALID); in UnregisterPermActiveChangeCallback() local
889 std::string errMsg = GetErrorMessage(jsCode); in UnregisterPermActiveChangeCallback() local
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp598 std::string errMsg = FindErrMsg(env, errCode); in SetCallback() local
606 …eminderCommon::GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string errMsg) in GetCallbackErrorValue()
629 std::string errMsg = FindErrMsg(env, info.errorCode); in SetPromise() local
661 std::string errMsg = FindErrMsg(env, ERR_REMINDER_INVALID_PARAM); in JSParaError() local
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Djs_utils.cpp106 std::string errMsg = ToMessage(err); in ThrowException() local

123