Home
last modified time | relevance | path

Searched refs:ctrlParam (Results 1 – 3 of 3) sorted by relevance

/base/startup/init/services/modules/init_hook/
Dparam_hook.c24 static const ParamCmdInfo ctrlParam[] = { in GetServiceStartCtrl() local
28 *size = ARRAY_LENGTH(ctrlParam); in GetServiceStartCtrl()
29 return ctrlParam; in GetServiceStartCtrl()
/base/startup/init/services/param/manager/
Dparam_manager.c263 uint8_t ctrlParam, const char *format, ...) in CreateCtrlInfo() argument
278 (*ctrlInfo)->ctrlParam = ctrlParam; in CreateCtrlInfo()
315 const ParamCmdInfo *ctrlParam = GetServiceStartCtrl(&size); in GetServiceCtrlInfo() local
316 PARAM_CHECK(ctrlParam != NULL, return -1, "Invalid ctrlInfo for %s", name); in GetServiceCtrlInfo()
318 if (strcmp(name, ctrlParam[i].name) == 0) { in GetServiceCtrlInfo()
319 … uint32_t valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen(ctrlParam[i].replace) + 1; in GetServiceCtrlInfo()
320 return CreateCtrlInfo(ctrlInfo, ctrlParam[i].cmd, valueOffset, 1, in GetServiceCtrlInfo()
321 "%s%s.%s", OHOS_SERVICE_CTRL_PREFIX, ctrlParam[i].replace, value); in GetServiceCtrlInfo()
364 if (serviceInfo->ctrlParam != 0) { // ctrl param in CheckParameterSet()
/base/startup/init/services/param/include/
Dparam_manager.h87 uint8_t ctrlParam; member