Home
last modified time | relevance | path

Searched refs:paramNum (Results 1 – 23 of 23) 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()
81 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_DEV_AUTH_CB, (uint8_t *)&callback, … in IpcServiceGmRegCallback()
93 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_CB_OBJECT, (uint8_t *)&cbObjIdx, &i… in IpcServiceGmRegCallback()
110 static int32_t IpcServiceGmUnRegCallback(const IpcDataInfo *ipcParams, int32_t paramNum, uintptr_t … in IpcServiceGmUnRegCallback() argument
117 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_APPID, (uint8_t *)&appId, NULL); in IpcServiceGmUnRegCallback()
129 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()
146 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_LISTERNER, (uint8_t *)&callback, &i… in IpcServiceGmRegDataChangeListener()
159 …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.cpp71 size_t paramNum = ParamNum::TOTAL_TWO; in Begin() local
75 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in Begin()
79 if (paramNum != ParamNum::TOTAL_ONE && paramNum != ParamNum::TOTAL_TWO) { in Begin()
90 if (paramNum == ParamNum::TOTAL_TWO && in Begin()
103 size_t paramNum = ParamNum::TOTAL_ONE; in End() local
107 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in End()
108 if (paramNum != ParamNum::TOTAL_ONE) { in End()
132 size_t paramNum = ParamNum::TOTAL_ONE; in SetId() local
136 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in SetId()
137 if (paramNum != ParamNum::TOTAL_ONE) { in SetId()
[all …]
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_js.cpp75 size_t paramNum = WRITE_FUNC_MAX_PARAM_NUM; in Write() local
79 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisArg, &data)); in Write()
82 if (paramNum < WRITE_FUNC_MAX_PARAM_NUM - 1) { in Write()
98 NapiHiSysEventUtil::ParseHiSysEventInfo(env, params, paramNum, asyncContext->eventInfo); in Write()
102 if (paramNum == WRITE_FUNC_MAX_PARAM_NUM) { in Write()
104 napi_typeof(env, params[paramNum - 1], &lastParamType); in Write()
106 napi_create_reference(env, params[paramNum - 1], 1, &asyncContext->callback); in Write()
108 } else if (paramNum > WRITE_FUNC_MAX_PARAM_NUM) { in Write()
109 HILOG_WARN(LOG_CORE, "count of params is invalid =%{public}d.", static_cast<int>(paramNum)); in Write()
127 size_t paramNum = ADD_LISTENER_FUNC_MAX_PARAM_NUM; in AddWatcher() local
[all …]
Dnapi_hisysevent_util.cpp741 size_t paramNum, HiSysEventInfo& info) in ParseHiSysEventInfo() argument
743 if (paramNum <= SYS_EVENT_INFO_PARAM_INDEX) { in ParseHiSysEventInfo()
/base/hiviewdfx/hiview/interfaces/js/napi/src/
Dnapi_hiview_js.cpp41 size_t paramNum = listParamNum; in List() local
45 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in List()
46 if (paramNum < listParamNum) { in List()
47 HIVIEW_LOGE("num of params is invalid: %{public}zu", paramNum); in List()
74 size_t paramNum = maxParamNum; in CopyOrMoveFile() local
76 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in CopyOrMoveFile()
79 if (paramNum < paramNumWithoutCallback) { in CopyOrMoveFile()
80 HIVIEW_LOGE("num of params is invalid %{public}zu.", paramNum); in CopyOrMoveFile()
102 } else if (paramNum == maxParamNum) { in CopyOrMoveFile()
142 size_t paramNum = removeParamNum; in Remove() local
[all …]
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_js.cpp36 size_t paramNum = PARAM_NUM; in Write() local
38 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in Write()
48 asyncContext->appEventPack = builder.Build(env, params, paramNum); in Write()
73 size_t paramNum = PARAM_NUM; in Configure() local
75 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, nullptr, nullptr)); in Configure()
76 if (paramNum != PARAM_NUM) { in Configure()
Dnapi_app_event_holder.cpp65 size_t paramNum = PARAM_NUM; in NapiConstructor() local
68 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiConstructor()
70 if (paramNum < PARAM_NUM) { in NapiConstructor()
105 size_t paramNum = PARAM_NUM; in NapiSetRow() local
108 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiSetRow()
109 if (paramNum < PARAM_NUM) { in NapiSetRow()
129 size_t paramNum = PARAM_NUM; in NapiSetSize() local
132 NAPI_CALL(env, napi_get_cb_info(env, info, &paramNum, params, &thisVar, nullptr)); in NapiSetSize()
133 if (paramNum < PARAM_NUM) { in NapiSetSize()
Dnapi_hiappevent_js_v9.cpp73 size_t paramNum = NapiUtil::GetCbInfo(env, info, params); in Write() local
75 auto appEventPack = builder.BuildV9(env, params, paramNum); in Write()
205 size_t paramNum = NapiUtil::GetCbInfo(env, info, params); in SetEventParam() local
207 auto appEventPack = builder.BuildEventParam(env, params, paramNum); in SetEventParam()
Dnapi_util.cpp319 size_t paramNum = argc; in GetCbInfo() local
320 if (napi_get_cb_info(env, info, &paramNum, argv, nullptr, nullptr) != napi_ok) { in GetCbInfo()
324 return paramNum; in GetCbInfo()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_node.cpp40 int32_t paramNum = static_cast<int32_t>(paramList.size()); in InitParams() local
41 if (paramNum > FALLBACK_IDX) { in InitParams()
44 } else if (paramNum > PATH_IDX) { in InitParams()
/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.c388 uint32_t paramNum = 0; in LoadDefaultParam_() local
407 paramNum++; in LoadDefaultParam_()
411 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.c1533 int32_t GetIpcRequestParamByType(const IpcDataInfo *ipcParams, int32_t paramNum, in GetIpcRequestParamByType() argument
1540 for (i = 0; i < paramNum; i++) { in GetIpcRequestParamByType()
/base/security/device_auth/frameworks/src/standard/
Dipc_adapt.cpp1467 int32_t GetIpcRequestParamByType(const IpcDataInfo *ipcParams, int32_t paramNum, in GetIpcRequestParamByType() argument
1474 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/SmartParserTest014/
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/SmartParserTest015/
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