/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_hiappevent_watch.cpp | 56 errCode = NapiError::ERR_PARAM; in IsValidName() 61 errCode = NapiError::ERR_PARAM; in IsValidName() 79 errCode = NapiError::ERR_PARAM; in IsValidCondition() 101 errCode = NapiError::ERR_PARAM; in IsValidFilter() 106 errCode = NapiError::ERR_PARAM; in IsValidFilter() 117 errCode = NapiError::ERR_PARAM; in IsValidFilter() 123 errCode = NapiError::ERR_PARAM; in IsValidFilter() 136 errCode = NapiError::ERR_PARAM; in IsValidFilters() 157 errCode = NapiError::ERR_PARAM; in IsValidTrigger() 170 errCode = NapiError::ERR_PARAM; in IsValidReceive() [all …]
|
H A D | napi_hiappevent_userinfo.cpp | 54 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("name", "string")); in SetUserId() 60 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, "Parameter error. The name parameter is invalid."); in SetUserId() 71 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("userId", "string")); in SetUserId() 77 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, "Parameter error. The value parameter is invalid."… in SetUserId() 90 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("name", "string")); in GetUserId() 96 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, "Parameter error. The name parameter is invalid."); in GetUserId() 111 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("name", "string")); in SetUserProperty() 117 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, "Parameter error. The name parameter is invalid."); in SetUserProperty() 128 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("user property", "string")); in SetUserProperty() 147 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("name", "string")); in GetUserProperty() [all …]
|
H A D | napi_hiappevent_builder.cpp | 44 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("domain"), isV9_); in IsValidEventDomain() 48 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("domain", "string"), isV9_); in IsValidEventDomain() 57 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("name"), isV9_); in IsValidEventName() 61 … NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("name", "string"), isV9_); in IsValidEventName() 70 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("eventType"), isV9_); in IsValidEventType() 83 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("params"), isV9_); in IsValidEventParam() 87 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("params", "object"), isV9_); in IsValidEventParam() 148 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, errMsg, isV9_); in AddArrayParam2EventPack() 178 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, errMsg, isV9_); in AddParam2EventPack() 198 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, errMsg, isV9_); in AddParams2EventPack() [all …]
|
H A D | napi_hiappevent_js_v9.cpp | 49 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("addProcessor")); in AddProcessor() 63 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("removeProcessor")); in RemoveProcessor() 114 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("config")); in Configure() 127 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("setUserId")); in SetUserId() 140 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("getUserId")); in GetUserId() 155 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("setUserProperty")); in SetUserProperty() 168 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("getUserProperty")); in GetUserProperty() 192 …ntStat::WriteApiEndEventAsync("addWatcher", beginTime, AppEventStat::FAILED, NapiError::ERR_PARAM); in AddWatcher() 193 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("watcher")); in AddWatcher() 204 …tat::WriteApiEndEventAsync("removeWatcher", beginTime, AppEventStat::FAILED, NapiError::ERR_PARAM); in RemoveWatcher() [all …]
|
H A D | napi_param_builder.cpp | 60 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, errMsg, isV9_); in AddArrayParam2EventPack() 83 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, errMsg, isV9_); in AddParams2EventPack() 108 … NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("setEventParam"), isV9_); in BuildEventParam()
|
H A D | napi_hiappevent_config.cpp | 36 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("config", "ConfigOption"), … in Configure() 49 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, errMsg, isThrow); in Configure()
|
H A D | napi_app_event_holder.cpp | 110 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("size")); in NapiSetRow() 114 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("size", "number")); in NapiSetRow() 137 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("size")); in NapiSetSize() 141 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("size", "number")); in NapiSetSize()
|
H A D | napi_hiappevent_processor.cpp | 123 …NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg(key, CONFIG_PROP_TYPE_STR)); in GenConfigNameProp() 127 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, "Invalid processor name."); in GenConfigNameProp() 383 … NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("config", "Processor")); in TransConfig() 431 NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg("id", "number")); in RemoveProcessor()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | hiappevent_ffi.cpp | 48 int ret = ERR_PARAM; in CheckCondition() 214 ret.code = ERR_PARAM; in FfiOHOSHiAppEventAddProcessor() 240 return ERR_PARAM; in FfiOHOSHiAppEventSetUserId() 243 return ERR_PARAM; in FfiOHOSHiAppEventSetUserId() 247 return ERR_PARAM; in FfiOHOSHiAppEventSetUserId() 256 ret.code = ERR_PARAM; in FfiOHOSHiAppEventGetUserId() 275 return ERR_PARAM; in FfiOHOSHiAppEventSetUserProperty() 278 return ERR_PARAM; in FfiOHOSHiAppEventSetUserProperty() 282 return ERR_PARAM; in FfiOHOSHiAppEventSetUserProperty() 291 ret.code = ERR_PARAM; in FfiOHOSHiAppEventgetUserProperty() [all …]
|
H A D | error.cpp | 39 return ERR_PARAM; in GetErrorCode()
|
H A D | appevent_packageholder_impl.cpp | 78 int32_t ret = ERR_PARAM; in TakeNext()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | fillp_stack_app_config.c | 40 return ERR_PARAM; in FtGetRightAppResourceByIndex() 68 return ERR_PARAM; in FtCheckCofigPar() 72 return ERR_PARAM; in FtCheckCofigPar() 224 return ERR_PARAM; in FtAppInitConfigGet() 236 return ERR_PARAM; in FtAppInitConfigGet() 251 return ERR_PARAM; in FtInnerValidateAppConfigSet() 268 return ERR_PARAM; in FtInnerValidateAppConfigSet() 293 return ERR_PARAM; in FtSetConfigApp() 299 return ERR_PARAM; in FtSetConfigApp() 476 return ERR_PARAM; in FtGetConfigApp() [all …]
|
H A D | socket_opt.c | 162 return ERR_PARAM; in SockSetOptTimestamp() 179 FILLP_INT err = ERR_PARAM; in SockSetOptLinger() 187 err = ERR_PARAM; in SockSetOptLinger() 236 FILLP_INT err = ERR_PARAM; in SockSetOptFcAlg() 256 return ERR_PARAM; in SockSetOptDirectlySend()
|
H A D | epoll_app.c | 746 return ERR_PARAM; in SpungeEpollFindRemove() 759 return ERR_PARAM; in SpungeEpollFindRemove() 773 return ERR_PARAM; in SpungeEpollFindRemove()
|
/ohos5.0/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/ |
H A D | napi_hichecker.cpp | 34 constexpr int ERR_PARAM = 401; variable 75 ThrowError(env, ERR_PARAM); in AddCheckRule() 86 ThrowError(env, ERR_PARAM); in RemoveCheckRule() 96 ThrowError(env, ERR_PARAM); in ContainsCheckRule() 153 { ERR_PARAM, "Invalid input parameter! only one bigint type parameter is needed" }, in ThrowError()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/app/errormanager/ |
H A D | cj_error_manager_ffi.cpp | 26 constexpr int ERR_PARAM = 401; variable 37 RetDataI32 ret = { .code = ERR_PARAM, .data = 0 }; in FfiOHOSErrorManagerOn() 65 int ret = ERR_PARAM; in FfiOHOSErrorManagerOff()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | fillp_os.c | 84 return ERR_PARAM; in SysArchSetSockBlocking() 136 return ERR_PARAM; in SysArchSetSockSndbuf() 145 return ERR_PARAM; in SysArchSetSockRcvbuf()
|
H A D | spunge_message.c | 34 return ERR_PARAM; in SpungePostMsg() 245 sock->coreErrType[MSG_TYPE_DO_CONNECT] = ERR_PARAM; in SpungeConnMsgCheckSockState() 266 sock->coreErrType[MSG_TYPE_DO_CONNECT] = ERR_PARAM; in SpungeConnMsgGetSock() 274 sock->coreErrType[MSG_TYPE_DO_CONNECT] = ERR_PARAM; in SpungeConnMsgGetSock() 282 sock->coreErrType[MSG_TYPE_DO_CONNECT] = ERR_PARAM; in SpungeConnMsgGetSock() 326 sock->coreErrType[MSG_TYPE_DO_CONNECT] = ERR_PARAM; in SpungeHandleMsgConnect() 711 sock->coreErrType[MSG_TYPE_SET_SEND_BUF] = ERR_PARAM; in SpungeHandleMsgSetSendBuf() 746 sock->coreErrType[MSG_TYPE_SET_RECV_BUF] = ERR_PARAM; in SpungeHandleMsgSetRecvBuf() 816 sock->coreErrType[MSG_TYPE_GET_EVENT_INFO] = ERR_PARAM; in SpungeHandleMsgGetEvtInfo()
|
H A D | log.c | 25 return ERR_PARAM; in FillpApiSetDebugLogLevel()
|
H A D | lf_ring.c | 141 return ERR_PARAM; in FillpLfRingMpEnqueue() 224 return ERR_PARAM; in FillpLfRingMcDequeue()
|
H A D | skiplist.c | 63 return ERR_PARAM; in SkiplistInit() 301 return ERR_PARAM; in SkipListInsert()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | fillp_stack_config.c | 88 return ERR_PARAM; in FtInitConfigSet() 212 return ERR_PARAM; in FtGetConfigStackHalf1() 266 return ERR_PARAM; in FtGetConfigStackHalf2() 300 if (ret != ERR_PARAM) { in FtGetConfigStack() 305 if (ret != ERR_PARAM) { in FtGetConfigStack() 311 return ERR_PARAM; in FtGetConfigStack()
|
H A D | sysio_udp.c | 446 return ERR_PARAM; in SysioHandlePacketUdp() 483 return ERR_PARAM; in SysioSendPacketUdp()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/ |
H A D | error.h | 25 constexpr int ERR_PARAM = 401; variable
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
H A D | napi_error.h | 24 constexpr int ERR_PARAM = 401; variable
|