Home
last modified time | relevance | path

Searched refs:AddCmdExecutor (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/startup/init/services/modules/selinux/
H A Dselinux_adp.c144 g_selinuxAdpCmdIds[CMD_LOAD_POLICY] = AddCmdExecutor("loadSelinuxPolicy", LoadSelinuxPolicy); in SelinuxAdpInit()
145 …g_selinuxAdpCmdIds[CMD_SET_SERVICE_CONTEXTS] = AddCmdExecutor("setServiceContent", SetServiceConte… in SelinuxAdpInit()
146 …g_selinuxAdpCmdIds[CMD_SET_SOCKET_CONTEXTS] = AddCmdExecutor("setSockCreateCon", SetSockCreateCon); in SelinuxAdpInit()
147 …g_selinuxAdpCmdIds[CMD_RESTORE_INDEX] = AddCmdExecutor("restoreContentRecurse", RestoreContentRecu… in SelinuxAdpInit()
149 AddCmdExecutor("restoreContentRecurseForce", RestoreContentRecurseForce); in SelinuxAdpInit()
151 AddCmdExecutor("restoreContentRecurseSkipElx", RestoreContentRecurseSkipElx); in SelinuxAdpInit()
/ohos5.0/base/startup/init/test/unittest/innerkits/
H A Dmodulemgr_unittest.cpp52 int cmdExecId1 = AddCmdExecutor(testName, TestCmdExecutor);
54 int cmdExecId2 = AddCmdExecutor("testCmd2", TestCmdExecutor);
56 cmdExecId2 = AddCmdExecutor("testCmd3", TestCmdExecutor);
58 int cmdExecId4 = AddCmdExecutor("testCmd4", TestCmdExecutor);
/ohos5.0/base/startup/init/services/modules/reboot/
H A Dreboot.c191 (void)AddCmdExecutor("reboot", DoReboot); in RebootAdpInit()
192 (void)AddCmdExecutor("reboot.other", DoRebootOther); in RebootAdpInit()
199 (void)AddCmdExecutor("panic", DoRebootPanic); in RebootAdpInit()
H A Dreboot_static.c93 int cmdId = AddCmdExecutor(currInfo->cmd, executor); in SetParamCmdInfo()
/ohos5.0/base/startup/init/interfaces/innerkits/init_module_engine/
H A Dinit_modulemgr.c100 (void)AddCmdExecutor("install", ModuleMgrCmdInstall); in moduleMgrCommandsInit()
101 (void)AddCmdExecutor("uninstall", ModuleMgrCmdUninstall); in moduleMgrCommandsInit()
/ohos5.0/base/startup/init/services/modules/init_hook/
H A Dinit_hook.c140 AddCmdExecutor("setloglevel", CmdSetLogLevel); in ParamSetInitCmdHook()
141 AddCmdExecutor("initcmd", InitCmd); in ParamSetInitCmdHook()
/ohos5.0/base/startup/init/interfaces/innerkits/init_module_engine/include/
H A Dinit_module_engine.h42 int AddCmdExecutor(const char *cmdName, CmdExecutor execCmd);
H A Dinit_cmdexecutor.h46 int AddCmdExecutor(const char *cmdName, CmdExecutor execCmd);
/ohos5.0/base/startup/init/services/init/include/
H A Dinit_cmdexecutor.h46 int AddCmdExecutor(const char *cmdName, CmdExecutor execCmd);
/ohos5.0/base/startup/init/services/modules/seccomp/
H A Dseccomp_policy_static.c40 g_executorId = AddCmdExecutor("SetSeccompPolicy", SetSystemSeccompPolicy); in SetSeccompPolicyInit()
/ohos5.0/base/startup/init/services/init/standard/
H A Dinit_cmdexecutor.c66 int AddCmdExecutor(const char *cmdName, CmdExecutor execCmd) in AddCmdExecutor() function
212 AddCmdExecutor(cmdName, NULL); in PluginGetCmdIndex()
/ohos5.0/base/startup/init/services/modules/bootevent/
H A Dbootevent.c486 AddCmdExecutor("bootevent", DoBootEventCmd); in ParamSetBootEventHook()
487 AddCmdExecutor("unset_bootevent", DoUnsetBootEventCmd); in ParamSetBootEventHook()
/ohos5.0/base/startup/init/services/modules/bootchart/
H A Dbootchart.c282 g_executorId = AddCmdExecutor("bootchart", DoBootchartCmd); in BootchartInit()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-boot-init-plugin.md131 g_executorId = AddCmdExecutor("bootchart", DoBootchartCmd);
/ohos5.0/base/startup/init/services/modules/trace/
H A Dinit_trace.c546 g_executorId = AddCmdExecutor("init_trace", DoInitTraceCmd); in InitTraceInit()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-init-plugin.md116 g_executorId = AddCmdExecutor("bootchart", DoBootchartCmd);