| /base/account/os_account/interfaces/kits/napi/account_iam/src/ |
| D | napi_account_iam_user_auth.cpp | 76 std::string errMsg = "Parameter error. The number of parameters should be at least 2"; in GetAvailableStatus() local 83 std::string errMsg = "Parameter error. The type of \"authType\" must be number"; in GetAvailableStatus() local 91 std::string errMsg = "Parameter error. The type of \"authTrustLevel\" must be number"; in GetAvailableStatus() local 122 std::string errMsg = "Parameter error. The number of parameters should be at least 1"; in ParseContextForGetSetProperty() local 138 … std::string errMsg = "Parameter error. The type of \"request\" must be GetPropertyRequest"; in ParseContextForGetSetProperty() local 145 … std::string errMsg = "Parameter error. The type of \"request\" must be SetPropertyRequest"; in ParseContextForGetSetProperty() local 201 std::string errMsg = "Parameter error. The number of parameters should be at least 2"; in ParseContextForGetPropertyById() local 209 std::string errMsg = "Parameter error. The type of \"credentialId\" must be Uint8Array"; in ParseContextForGetPropertyById() local 216 … std::string errMsg = "Parameter error. The type of \"keys\" must be GetPropertyType's array"; in ParseContextForGetPropertyById() local 317 std::string errMsg = "Parameter error. The type of \"remoteAuthOptions\" must be object"; in ParseContextForRemoteAuthOptions() local [all …]
|
| D | napi_account_iam_identity_manager.cpp | 69 std::string errMsg = "Parameter error. The type of arg 1 must be function or number"; in ParseContextForOpenSession() local 85 std::string errMsg = "Parameter error. The type of \"accountId\" must be number"; in ParseContextForCloseSession() local 145 std::string errMsg = "Parameter error. The number of parameters should be 2"; in ParseContextForUpdateCredential() local 150 … std::string errMsg = "Parameter error. The type of \"credentialInfo\" must be CredentialInfo"; in ParseContextForUpdateCredential() local 156 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseContextForUpdateCredential() local 245 std::string errMsg = "Parameter error. The number of parameters should be 1"; in Cancel() local 253 std::string errMsg = "Parameter error. The type of \"challenge\" must be Uint8Array"; in Cancel() local 275 std::string errMsg = "Parameter error. The number of parameters should be 2"; in ParseContextForDelUser() local 280 std::string errMsg = "Parameter error. The type of \"token\" must be Uint8Array"; in ParseContextForDelUser() local 286 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseContextForDelUser() local [all …]
|
| D | napi_account_iam_inputer_manager.cpp | 57 std::string errMsg = "Parameter error. The number of parameters should be at least 2"; in ParseContextForRegisterInputer() local 63 std::string errMsg = "Parameter error. The type of \"authType\" must be AuthType"; in ParseContextForRegisterInputer() local 71 std::string errMsg = "Parameter error. The type of \"inputer\" must be IInputer"; in ParseContextForRegisterInputer() local 79 std::string errMsg = "Parameter error. The type of \"inputer\" must be IInputer"; in ParseContextForRegisterInputer() local 110 std::string errMsg = "Parameter error. The number of parameters should be at least 1"; in UnregisterInputer() local 117 std::string errMsg = "Parameter error. The type of \"authType\" must be AuthType"; in UnregisterInputer() local
|
| D | napi_account_iam_pin_auth.cpp | 58 std::string errMsg = "Parameter error. The number of parameters should be at least 1"; in ParseContextForRegisterInputer() local 71 std::string errMsg = "Parameter error. The type of \"inputer\" must be function or object"; in ParseContextForRegisterInputer() local
|
| /base/global/resource_management/dfx/hisysevent_adapter/ |
| D | hisysevent_adapter.cpp | 24 void ReportInitResourceManagerFail(const std::string& bundleName, const std::string& errMsg) in ReportInitResourceManagerFail() 36 void ReportGetResourceByIdFail(uint32_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() 64 void ReportAddResourcePathFail(const char* resourcePath, const std::string& errMsg) in ReportAddResourcePathFail()
|
| /base/account/os_account/services/accountmgr/src/common/database/ |
| D | database_adapter_loader.cpp | 49 char* errMsg = dlerror(); in CheckAndUnload() local 71 char* errMsg = dlerror(); in CheckAndLoad() local 78 char* errMsg = dlerror(); in CheckAndLoad() local 84 char* errMsg = dlerror(); in CheckAndLoad() local
|
| /base/hiviewdfx/hilog/test/unittest/common/ |
| D | hilogtool_test.cpp | 175 std::string errMsg = ErrorCode2Str(ERR_LOG_LEVEL_INVALID) + "\n"; variable 200 std::string errMsg = ErrorCode2Str(ERR_INVALID_DOMAIN_STR) + "\n"; variable 225 std::string errMsg = ErrorCode2Str(ERR_TAG_STR_TOO_LONG) + "\n"; variable 257 std::string errMsg = ErrorCode2Str(ERR_INVALID_SIZE_STR) + "\n"; variable 305 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable 334 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable 376 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable 401 std::string errMsg = ErrorCode2Str(ERR_NOT_NUMBER_STR) + "\n"; variable 471 std::string errMsg = ErrorCode2Str(ERR_LOG_TYPE_INVALID) + "\n"; variable 520 std::string errMsg = ErrorCode2Str(ERR_INVALID_ARGUMENT) + "\n"; variable [all …]
|
| /base/account/os_account/interfaces/kits/napi/distributedaccount/src/ |
| D | napi_distributed_account.cpp | 88 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseQueryOhosAccountInfoAsyncContext() local 100 … std::string errMsg = "Parameter error. The type of " + PROPERTY_KEY_NAME + " must be string"; in GetAccountInfo() local 106 std::string errMsg = "Parameter error. The type of " + PROPERTY_KEY_ID + " must be string"; in GetAccountInfo() local 112 … std::string errMsg = "Parameter error. The type of " + PROPERTY_KEY_NICKNAME + " must be string"; in GetAccountInfo() local 118 … std::string errMsg = "Parameter error. The type of " + PROPERTY_KEY_AVATAR + " must be string"; in GetAccountInfo() local 135 … std::string errMsg = "Parameter error. The type of " + PROPERTY_KEY_SCALABLE + " must be object"; in GetAccountInfo() local 151 std::string errMsg = "Parameter error. The type of \"accountInfo\" must be DistributedInfo"; in ParseInfoAndEvent() local 160 … std::string errMsg = "Parameter error. The type of " + PROPERTY_KEY_EVENT + " must be string"; in ParseInfoAndEvent() local 175 std::string errMsg = "Parameter error. The number of parameters should be at least 1"; in ParseUpdateOhosAccountInfoAsyncContext() local 182 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseUpdateOhosAccountInfoAsyncContext() local [all …]
|
| /base/account/os_account/interfaces/kits/napi/osaccount/src/ |
| D | napi_os_account_common.cpp | 82 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseOneParaContext() local 99 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseCallbackAndId() local 106 std::string errMsg = "Parameter error. The type of \"localId\" must be number"; in ParseCallbackAndId() local 121 std::string errMsg = "The number of parameters should be at least 1"; in ParseParaDeactivateOA() local 127 std::string errMsg = "The type of first arg must be number"; in ParseParaDeactivateOA() local 356 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaSetOAName() local 364 std::string errMsg = "The type of arg 1 must be number"; in ParseParaSetOAName() local 370 std::string errMsg = "The type of arg 2 must be string"; in ParseParaSetOAName() local 413 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaSetOAConstraints() local 422 std::string errMsg = "The type of arg 1 must be number"; in ParseParaSetOAConstraints() local [all …]
|
| /base/account/os_account/dfx/hisysevent_adapter/ |
| D | account_hisysevent_adapter.h | 39 #define REPORT_OS_ACCOUNT_FAIL(id, operationStr, errCode, errMsg) \ argument 41 #define REPORT_OHOS_ACCOUNT_FAIL(userId, operationStr, errCode, errMsg) \ argument 43 #define REPORT_APP_ACCOUNT_FAIL(name, owner, operationStr, errCode, errMsg) \ argument
|
| D | account_hisysevent_adapter.cpp | 29 void ReportServiceStartFail(int32_t errCode, const std::string& errMsg) in ReportServiceStartFail() 64 int32_t id, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOsAccountOperationFail() 86 int32_t userId, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOhosAccountOperationFail() 108 int32_t errCode, const std::string& errMsg) in ReportAppAccountOperationFail()
|
| /base/location/frameworks/js/napi/source/ |
| D | location_napi_errcode.cpp | 26 std::string errMsg = GetErrorMsgByCode(errCode); in HandleSyncErrCode() local 36 std::string errMsg = GetErrorMsgByCode(errCode); in ThrowBusinessError() local
|
| /base/usb/usb_manager/utils/native/include/ |
| D | usb_napi_errors.h | 86 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument 96 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument 97 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument 99 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument 100 #define USB_ASSERT_RETURN_UNDEF(env, assertion, errCode, errMsg) \ argument
|
| /base/update/updater/services/ui/view/page/ |
| D | view_proxy.h | 49 T *As(std::string &errMsg) const in As() 64 T *As(std::string &errMsg) const in As()
|
| /base/msdp/device_status/utils/common/src/ |
| D | util_napi_error.cpp | 49 std::string errMsg; in HandleExecuteResult() local 58 std::string errMsg; in HandleExecuteResult() local
|
| /base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
| D | napi_hiappevent_config.cpp | 48 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
|
| /base/account/os_account/interfaces/kits/napi/domain_account/src/ |
| D | napi_domain_account_manager.cpp | 182 std::string errMsg = "Parameter error. The number of parameters should be at least 2"; in ParseParamForUpdateAccountToken() local 189 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseParamForUpdateAccountToken() local 196 …std::string errMsg = "Parameter error. The type of \"domainAccountInfo\" must be DomainAccountInfo… in ParseParamForUpdateAccountToken() local 202 std::string errMsg = "Parameter error. The type of \"token\" must be Uint8Array"; in ParseParamForUpdateAccountToken() local 217 std::string errMsg = "Parameter error. The number of parameters should be at least 1"; in ParseParamForIsAuthenticationExpired() local 223 …std::string errMsg = "Parameter error. The type of \"domainAccountInfo\" must be DomainAccountInfo… in ParseParamForIsAuthenticationExpired() local 251 std::string errMsg = "Parameter error. The number of parameters should be at least 1"; in ParseParamForGetAccessToken() local 260 std::string errMsg = "Parameter error. The type of \"callback\" must be function"; in ParseParamForGetAccessToken() local 266 std::string errMsg = "Parameter error. The type of \"businessParams\" must be Record"; in ParseParamForGetAccessToken() local 978 std::string errMsg = "Parameter error. The type of \"plugin\" must be DomainPlugin"; in RegisterPlugin() local [all …]
|
| D | napi_domain_server_manager.cpp | 135 std::string errMsg = "The type of parameter is error."; in AddServerConfig() local 200 std::string errMsg = "The type of parameter is error."; in RemoveServerConfig() local 268 std::string errMsg = "The type of parameter is error."; in GetAccountServerConfig() local 291 std::string errMsg = "The number of parameters should be at least two."; in ParseContextForUpdateServerConfig() local 297 std::string errMsg = "The type of configId is error."; in ParseContextForUpdateServerConfig() local 303 std::string errMsg = "The type of parameter is error."; in ParseContextForUpdateServerConfig() local 366 std::string errMsg = "The number of parameters should be at least one."; in ParseContextForGetServerConfig() local 372 std::string errMsg = "The type of configId is error."; in ParseContextForGetServerConfig() local
|
| /base/usb/usb_manager/utils/native/src/ |
| D | usb_napi_errors.cpp | 37 napi_value CreateBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in CreateBusinessError() 59 void ThrowBusinessError(const napi_env &env, int32_t errCode, const std::string &errMsg) in ThrowBusinessError()
|
| /base/security/access_token/frameworks/js/napi/common/src/ |
| D | napi_error.cpp | 56 std::string errMsg = "Unknown error, errCode + " + std::to_string(errCode) + "."; in GetErrorMessage() local 60 napi_value GenerateBusinessError(napi_env env, int32_t errCode, const std::string& errMsg) in GenerateBusinessError()
|
| /base/security/certificate_manager/interfaces/kits/napi/src/dialog/ |
| D | cm_napi_open_uninstall_dialog.cpp | 90 std::string errMsg = "Device type error, device type is not 2in1"; in CMNapiOpenUninstallCertDialog() local 101 …std::string errMsg = "Parameter Error. Params number mismatch, need " + std::to_string(PARAM_SIZE_… in CMNapiOpenUninstallCertDialog() local
|
| D | cm_napi_open_install_dialog.cpp | 106 std::string errMsg = "DeviceType Error. deviceType is not 2in1"; in CMNapiOpenInstallCertDialog() local 116 …std::string errMsg = "Parameter Error. Params number mismatch, need " + std::to_string(PARAM_SIZE_… in CMNapiOpenInstallCertDialog() local
|
| /base/security/security_guard/test/fuzztest/ipc/datacollectmanager_fuzzer/ |
| D | data_collect_manager_fuzzer.cpp | 129 const std::string &errMsg) -> int32_t { in OnRemoteRequestRequest() 157 const std::string &errMsg) -> int32_t { in OnRemoteSubscribeRequest() 170 const std::string &errMsg) -> int32_t { in OnRemoteUnsubscribeRequest() 214 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventQuery() 242 const std::string &errMsg) -> int32_t { in OnRemoteStart() 270 const std::string &errMsg) -> int32_t { in OnRemoteStop() 293 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventConfigQuery()
|
| /base/security/access_token/frameworks/js/napi/accesstoken/src/ |
| D | napi_atmanager.cpp | 329 std::string errMsg; in ParseInputVerifyPermissionOrGetFlag() local 366 std::string errMsg; in ParseInputVerifyPermissionSync() local 604 std::string errMsg = GetParamErrorMsg("tokenID", "number"); in VerifyAccessTokenSync() local 610 std::string errMsg = GetParamErrorMsg("permissionName", "string"); in VerifyAccessTokenSync() local 651 std::string errMsg; in ParseInputGrantOrRevokePermission() local 979 std::string errMsg; in ParseInputSetToggleStatus() local 1014 std::string errMsg; in ParseInputGetToggleStatus() local 1139 std::string errMsg; in GetPermStateChangeType() local 1160 std::string errMsg; in FillPermStateChangeScope() local 1222 std::string errMsg = GetParamErrorMsg("tokenID", "number"); in RequestAppPermOnSetting() local [all …]
|
| /base/security/security_guard/frameworks/js/napi/ |
| D | security_guard_napi.cpp | 156 napi_value errMsg = NapiCreateString(env, errMsgStr); in GenerateBusinessError() local 174 napi_value errMsg = NapiCreateString(env, msg); in GenerateBusinessError() local 504 std::string errMsg = "Parameter error. type of param ModelRule is not object."; in ParseModelRule() local 512 std::string errMsg = "Parameter error. type of param ModelRule.modelName is not string."; in ParseModelRule() local 970 std::string errMsg = "Parameter error. type of param AuditEventInfo is not object."; in ParseAuditEventInfo() local 977 std::string errMsg = "Parameter error. type of param AuditEventInfo.eventId is not number."; in ParseAuditEventInfo() local 990 std::string errMsg = "Parameter error. The param of type must be securityEventOccur."; in ParseSubscribeForEventOccur() local 1011 std::string errMsg = "Parameter error. The parameters number must be three"; in ParseSubscribeParam() local 1017 …std::string errMsg = "Parameter error. The type of arg " + std::to_string(argc) + " must be functi… in ParseSubscribeParam() local 1024 std::string errMsg = "The type of arg 1 must be string"; in ParseSubscribeParam() local [all …]
|