Home
last modified time | relevance | path

Searched refs:ERR_PARAM (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_watch.cpp56 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 Dnapi_hiappevent_userinfo.cpp54 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 Dnapi_hiappevent_builder.cpp44 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 Dnapi_hiappevent_js_v9.cpp49 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 Dnapi_param_builder.cpp60 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 Dnapi_hiappevent_config.cpp36 …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 Dnapi_app_event_holder.cpp110 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 Dnapi_hiappevent_processor.cpp123 …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 Dhiappevent_ffi.cpp48 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 Derror.cpp39 return ERR_PARAM; in GetErrorCode()
H A Dappevent_packageholder_impl.cpp78 int32_t ret = ERR_PARAM; in TakeNext()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_stack_app_config.c40 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 Dsocket_opt.c162 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 Depoll_app.c746 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 Dnapi_hichecker.cpp34 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 Dcj_error_manager_ffi.cpp26 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 Dfillp_os.c84 return ERR_PARAM; in SysArchSetSockBlocking()
136 return ERR_PARAM; in SysArchSetSockSndbuf()
145 return ERR_PARAM; in SysArchSetSockRcvbuf()
H A Dspunge_message.c34 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 Dlog.c25 return ERR_PARAM; in FillpApiSetDebugLogLevel()
H A Dlf_ring.c141 return ERR_PARAM; in FillpLfRingMpEnqueue()
224 return ERR_PARAM; in FillpLfRingMcDequeue()
H A Dskiplist.c63 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 Dfillp_stack_config.c88 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 Dsysio_udp.c446 return ERR_PARAM; in SysioHandlePacketUdp()
483 return ERR_PARAM; in SysioSendPacketUdp()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/
H A Derror.h25 constexpr int ERR_PARAM = 401; variable
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
H A Dnapi_error.h24 constexpr int ERR_PARAM = 401; variable

12