| /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
|
| /base/security/access_token/frameworks/ets/ani/common/src/ |
| D | ani_error.cpp | 50 void BusinessErrorAni::ThrowError(ani_env* env, int32_t err, const std::string& errMsg) in ThrowError() 110 std::string GetParamErrorMsg(const std::string& param, const std::string& errMsg) in GetParamErrorMsg() 122 std::string errMsg = "Failed to Unknown error, errCode " + std::to_string(errCode) + "."; in GetErrorMessage() local 126 void BusinessErrorAni::ThrowParameterTypeError(ani_env* env, int32_t err, const std::string& errMsg) in ThrowParameterTypeError() 196 std::string errMsg = GetErrorMessage(STS_ERROR_PARAM_INVALID, "The tokenID is 0."); in ValidateTokenIDWithThrowError() local 206 std::string errMsg = GetErrorMessage( in ValidatePermissionWithThrowError() local 217 … std::string errMsg = GetErrorMessage(STS_ERROR_PARAM_INVALID, "The permissionFlags is invalid."); in ValidatePermissionFlagWithThrowError() 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 360 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaSetOAName() local 368 std::string errMsg = "The type of arg 1 must be number"; in ParseParaSetOAName() local 374 std::string errMsg = "The type of arg 2 must be string"; in ParseParaSetOAName() local 417 std::string errMsg = "The type of arg " + std::to_string(argc) + " must be function"; in ParseParaSetOAConstraints() local 426 std::string errMsg = "The type of arg 1 must be number"; in ParseParaSetOAConstraints() local [all …]
|
| /base/account/os_account/services/accountmgr/test/unittest/os_account/mock/hisysevent_adapter/ |
| D | account_hisysevent_adapter.h | 40 #define REPORT_OS_ACCOUNT_FAIL(id, operationStr, errCode, errMsg) \ argument 42 #define REPORT_OHOS_ACCOUNT_FAIL(userId, operationStr, errCode, errMsg) \ argument 44 #define REPORT_APP_ACCOUNT_FAIL(name, owner, operationStr, errCode, errMsg) \ argument
|
| D | account_hisysevent_adapter_mock.cpp | 30 void ReportServiceStartFail(int32_t errCode, const std::string& errMsg) in ReportServiceStartFail() 37 int32_t id, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOsAccountOperationFail() 43 int32_t userId, const std::string& operationStr, int32_t errCode, const std::string& errMsg) in ReportOhosAccountOperationFail() 47 int32_t errCode, const std::string& errMsg) in ReportAppAccountOperationFail()
|
| /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 | 91 #define USB_ASSERT_BASE(env, assertion, errCode, errMsg, retVal) \ argument 101 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… argument 102 #define USB_ASSERT_RETURN_VOID(env, assertion, errCode, errMsg) \ argument 104 #define USB_ASSERT_RETURN_FALSE(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, er… argument 105 #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/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/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/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/global/resource_management/interfaces/ets/ani/resourceManager/src/ |
| D | resource_manager_ani_utils.cpp | 43 std::string errMsg = iter != ResourceManagerAniUtils::ErrorCodeToMsg.end() ? iter->second : ""; in FindErrMsg() local 120 std::string errMsg = FindErrMsg(errCode); in AniThrow() local
|
| /base/security/security_guard/test/fuzztest/ipc/datacollectmanager_fuzzer/ |
| D | data_collect_manager_fuzzer.cpp | 130 const std::string &errMsg) -> int32_t { in OnRemoteRequestRequest() 159 const std::string &errMsg) -> int32_t { in OnRemoteSubscribeRequest() 173 const std::string &errMsg) -> int32_t { in OnRemoteUnsubscribeRequest() 218 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventQuery() 247 const std::string &errMsg) -> int32_t { in OnRemoteStart() 276 const std::string &errMsg) -> int32_t { in OnRemoteStop() 301 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventConfigQuery()
|