Home
last modified time | relevance | path

Searched refs:paramNum (Results 1 – 20 of 20) sorted by relevance

/base/security/device_auth/frameworks/src/
Dipc_service.c64 static int32_t IpcServiceGmRegCallback(const IpcDataInfo *ipcParams, int32_t paramNum, uintptr_t ou… in IpcServiceGmRegCallback() argument
74 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_APPID, (uint8_t *)&appId, NULL); in IpcServiceGmRegCallback()
80 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_DEV_AUTH_CB, (uint8_t *)&callback, … in IpcServiceGmRegCallback()
92 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_CB_OBJECT, (uint8_t *)&cbObjIdx, &i… in IpcServiceGmRegCallback()
109 static int32_t IpcServiceGmUnRegCallback(const IpcDataInfo *ipcParams, int32_t paramNum, uintptr_t … in IpcServiceGmUnRegCallback() argument
116 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_APPID, (uint8_t *)&appId, NULL); in IpcServiceGmUnRegCallback()
128 static int32_t IpcServiceGmRegDataChangeListener(const IpcDataInfo *ipcParams, int32_t paramNum, ui… in IpcServiceGmRegDataChangeListener() argument
139 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_APPID, (uint8_t *)&appId, NULL); in IpcServiceGmRegDataChangeListener()
145 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_LISTERNER, (uint8_t *)&callback, NU… in IpcServiceGmRegDataChangeListener()
158 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_CB_OBJECT, (uint8_t *)&cbObjIdx, &i… in IpcServiceGmRegDataChangeListener()
[all …]
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/
Dnapi_hitrace_js.cpp67 size_t paramNum = ParamNum::TOTAL_TWO; in Begin() local
71 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in Begin()
75 if (paramNum != ParamNum::TOTAL_ONE && paramNum != ParamNum::TOTAL_TWO) { in Begin()
86 if (paramNum == ParamNum::TOTAL_TWO && in Begin()
99 size_t paramNum = ParamNum::TOTAL_ONE; in End() local
103 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in End()
104 if (paramNum != ParamNum::TOTAL_ONE) { in End()
128 size_t paramNum = ParamNum::TOTAL_ONE; in SetId() local
132 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in SetId()
133 if (paramNum != ParamNum::TOTAL_ONE) { in SetId()
[all …]
/base/hiviewdfx/hiview/interfaces/js/napi/src/
Dnapi_hiview_js.cpp40 size_t paramNum = listParamNum; in List() local
44 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in List()
45 if (paramNum < listParamNum) { in List()
46 HiLog::Error(LABEL, "num of params is invalid: %{public}zu", paramNum); in List()
69 size_t paramNum = maxParamNum; in CopyOrMoveFile() local
71 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in CopyOrMoveFile()
74 if (paramNum < paramNumWithoutCallback) { in CopyOrMoveFile()
75 HiLog::Error(LABEL, "num of params is invalid %{public}zu.", paramNum); in CopyOrMoveFile()
94 if (paramNum == maxParamNum) { in CopyOrMoveFile()
134 size_t paramNum = removeParamNum; in Remove() local
[all …]
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_js.cpp67 size_t paramNum = WRITE_FUNC_MAX_PARAM_NUM; in Write() local
71 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in Write()
74 if (paramNum < WRITE_FUNC_MAX_PARAM_NUM - 1) { in Write()
90 NapiHiSysEventUtil::ParseHiSysEventInfo(env, params, paramNum, asyncContext->eventInfo); in Write()
94 if (paramNum == WRITE_FUNC_MAX_PARAM_NUM) { in Write()
96 napi_typeof(env, params[paramNum - 1], &lastParamType); in Write()
98 napi_create_reference(env, params[paramNum - 1], 1, &asyncContext->callback); in Write()
100 } else if (paramNum > WRITE_FUNC_MAX_PARAM_NUM) { in Write()
101 HiLog::Warn(LABEL, "count of params is invalid =%{public}d.", static_cast<int>(paramNum)); in Write()
119 size_t paramNum = ADD_LISTENER_FUNC_MAX_PARAM_NUM; in AddWatcher() local
[all …]
Dnapi_hisysevent_util.cpp632 size_t paramNum, HiSysEventInfo& info) in ParseHiSysEventInfo() argument
634 if (paramNum <= SYS_EVENT_INFO_PARAM_INDEX) { in ParseHiSysEventInfo()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_js.cpp34 size_t paramNum = PARAM_NUM; in Write() local
36 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in Write()
46 asyncContext->appEventPack = builder.Build(env, params, paramNum); in Write()
69 size_t paramNum = PARAM_NUM; in Configure() local
71 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in Configure()
72 if (paramNum != PARAM_NUM) { in Configure()
Dnapi_app_event_holder.cpp40 size_t paramNum = PARAM_NUM; in NapiConstructor() local
43 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiConstructor()
45 if (paramNum < PARAM_NUM) { in NapiConstructor()
76 size_t paramNum = PARAM_NUM; in NapiSetSize() local
79 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiSetSize()
80 if (paramNum < PARAM_NUM) { in NapiSetSize()
Dnapi_hiappevent_js_v9.cpp38 size_t paramNum = NapiUtil::GetCbInfo(env, info, params); in Write() local
40 auto appEventPack = builder.BuildV9(env, params, paramNum); in Write()
Dnapi_util.cpp281 size_t paramNum = argc; in GetCbInfo() local
282 if (napi_get_cb_info(env, info, &paramNum, argv, nullptr, nullptr) != napi_ok) { in GetCbInfo()
286 return paramNum; in GetCbInfo()
/base/startup/init/services/param/adapter/
Dparam_persistadp.c40 uint32_t paramNum = 0; in LoadPersistParam_() local
45 paramNum++; in LoadPersistParam_()
48 PARAM_LOGI("LoadPersistParam from file %s paramNum %d", fileName, paramNum); in LoadPersistParam_()
/base/startup/init/services/param/liteos/
Dparam_hal.c125 uint32_t paramNum = 0; in LoadPersistParam() local
150 paramNum++; in LoadPersistParam()
165 PARAM_LOGI("LoadPersistParam paramNum %d", paramNum); in LoadPersistParam()
/base/startup/init/services/param/manager/
Dparam_server.c258 uint32_t paramNum = 0; in LoadDefaultParam_() local
277 paramNum++; in LoadDefaultParam_()
281 PARAM_LOGV("Load %u default parameters success from %s.", paramNum, fileName); in LoadDefaultParam_()
/base/security/device_auth/frameworks/inc/standard/
Dipc_adapt.h83 int32_t GetIpcRequestParamByType(const IpcDataInfo *ipcParams, int32_t paramNum,
/base/security/device_auth/frameworks/inc/lite/
Dipc_adapt.h91 int32_t GetIpcRequestParamByType(const IpcDataInfo *ipcParams, int32_t paramNum,
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/
Dnapi_hisysevent_util.h41 …static void ParseHiSysEventInfo(const napi_env env, napi_value* param, size_t paramNum, HiSysEvent…
/base/security/device_auth/frameworks/src/lite/
Dipc_adapt.c1536 int32_t GetIpcRequestParamByType(const IpcDataInfo *ipcParams, int32_t paramNum, in GetIpcRequestParamByType() argument
1543 for (i = 0; i < paramNum; i++) { in GetIpcRequestParamByType()
/base/security/device_auth/frameworks/src/standard/
Dipc_adapt.cpp1469 int32_t GetIpcRequestParamByType(const IpcDataInfo *ipcParams, int32_t paramNum, in GetIpcRequestParamByType() argument
1476 for (i = 0; i < paramNum; i++) { in GetIpcRequestParamByType()
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg276 …c:48]LoadPersistParam from file /data/service/el1/startup/parameters/persist_parameters paramNum 28
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg276 …c:48]LoadPersistParam from file /data/service/el1/startup/parameters/persist_parameters paramNum 28
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg276 …c:48]LoadPersistParam from file /data/service/el1/startup/parameters/persist_parameters paramNum 28