Home
last modified time | relevance | path

Searched refs:HOOK_INFO (Results 1 – 23 of 23) sorted by relevance

/base/startup/init/interfaces/innerkits/include/
Dhookmgr.h70 typedef struct tagHOOK_INFO HOOK_INFO; typedef
79 typedef int (*OhosHook)(const HOOK_INFO *hookInfo, void *executionContext);
108 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo);
129 typedef void (*OhosHookPreExecution)(const HOOK_INFO *hookInfo, void *executionContext);
139 typedef void (*OhosHookPostExecution)(const HOOK_INFO *hookInfo, void *executionContext, int execut…
192 typedef void (*OhosHookTraversal)(const HOOK_INFO *hookInfo, void *traversalCookie);
/base/startup/appspawn/modules/modulemgr/
Dappspawn_modulemgr.c104 static int ServerStageHookRun(const HOOK_INFO *hookInfo, void *executionContext) in ServerStageHookRun()
111 static void PreHookExec(const HOOK_INFO *hookInfo, void *executionContext) in PreHookExec()
119 static void PostHookExec(const HOOK_INFO *hookInfo, void *executionContext, int executionRetVal) in PostHookExec()
151 HOOK_INFO info; in AddServerStageHook()
160 static int AppSpawnHookRun(const HOOK_INFO *hookInfo, void *executionContext) in AppSpawnHookRun()
167 static void PreAppSpawnHookExec(const HOOK_INFO *hookInfo, void *executionContext) in PreAppSpawnHookExec()
174 static void PostAppSpawnHookExec(const HOOK_INFO *hookInfo, void *executionContext, int executionRe… in PostAppSpawnHookExec()
234 HOOK_INFO info; in AddAppSpawnHook()
258 static int ProcessMgrHookRun(const HOOK_INFO *hookInfo, void *executionContext) in ProcessMgrHookRun()
270 HOOK_INFO info; in AddProcessMgrHook()
/base/startup/init/test/moduletest/
Dhookmgr_moduletest.cpp50 static int OhosTestHookMultiThread(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookMultiThread()
57 static int OhosTestHookMultiThreadAnother(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookMultiThreadAnother()
64 static void OhosHookPrint(const HOOK_INFO *hookInfo, void *traversalCookie) in OhosHookPrint()
88 HOOK_INFO info;
/base/startup/init/services/modules/init_hook/
Dinit_hook.c88 static int JobParseHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in JobParseHookWrapper()
98 HOOK_INFO info; in InitAddJobParseHook()
138 static int ParamSetInitCmdHook(const HOOK_INFO *hookInfo, void *cookie) in ParamSetInitCmdHook()
177 static int InitDebugHook(const HOOK_INFO *info, void *cookie) in InitDebugHook()
187 static int BootCompleteCmd(const HOOK_INFO *hookInfo, void *executionContext) in BootCompleteCmd()
/base/startup/init/interfaces/innerkits/init_module_engine/
Dinit_modulemgr.c93 static int moduleMgrCommandsInit(const HOOK_INFO *info, void *cookie) in moduleMgrCommandsInit()
102 static int loadAutorunModules(const HOOK_INFO *info, void *cookie) in loadAutorunModules()
/base/startup/init/services/modules/udid/
Dudid_static.c19 static int UDidCalc(const HOOK_INFO *hookInfo, void *cookie) in UDidCalc()
/base/startup/init/services/modules/bootchart/
Dbootchart_static.c19 static int bootchartEarlyHook(const HOOK_INFO *info, void *cookie) in bootchartEarlyHook()
/base/startup/init/services/modules/init_eng/
Dinit_eng_static.c21 static int InitEngEarlyHook(const HOOK_INFO *info, void *cookie) in InitEngEarlyHook()
/base/startup/init/test/fuzztest/hookmgradd_fuzzer/
Dhookmgradd_fuzzer.cpp20 static int TestHook(const HOOK_INFO *hookInfo, void *executionContext) in TestHook()
/base/startup/init/test/fuzztest/hookmgrdel_fuzzer/
Dhookmgrdel_fuzzer.cpp20 static int TestHook(const HOOK_INFO *hookInfo, void *executionContext) in TestHook()
/base/startup/init/test/fuzztest/hookmgrtraversal_fuzzer/
Dhookmgrtraversal_fuzzer.cpp20 static void HookTraversal(const HOOK_INFO *hookInfo, void *traversalCookie) in HookTraversal()
/base/startup/init/services/modules/selinux/
Dselinux_static.c21 static int SelinuxHook(const HOOK_INFO *hookInfo, void *cookie) in SelinuxHook()
/base/startup/init/services/modules/seccomp/
Dseccomp_policy_static.c45 static int SeccompHook(const HOOK_INFO *info, void *cookie) in SeccompHook()
/base/startup/init/test/unittest/innerkits/
Dhookmgr_unittest.cpp53 static int OhosTestHookRetOK(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookRetOK()
58 static int OhosTestHookRetOKEx(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookRetOKEx()
63 static int OhosTestHookRetOKEx2(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookRetOKEx2()
68 static void OhosHookPrint(const HOOK_INFO *hookInfo, void *traversalCookie) in OhosHookPrint()
/base/startup/init/services/modules/reboot/
Dreboot_static.c29 static int RebootHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in RebootHookWrapper()
39 HOOK_INFO info; in InitAddRebootHook()
/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c33 HOOK_INFO info;
167 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo) in HookMgrAddEx()
187 HOOK_INFO info; in HookMgrAdd()
/base/startup/init/services/init/standard/
Dinit.c183 INIT_STATIC void InitPreHook(const HOOK_INFO *hookInfo, void *executionContext) in InitPreHook()
189 INIT_STATIC void InitPostHook(const HOOK_INFO *hookInfo, void *executionContext, int executionRetVa… in InitPostHook()
/base/startup/init/interfaces/innerkits/init_module_engine/include/
Dbootstage.h89 typedef int (*ParamLoadFilter)(const HOOK_INFO *hookInfo, PARAM_LOAD_FILTER_CTX *filter);
/base/startup/init/services/modules/bootevent/
Dbootevent.c449 static int ParamSetBootEventHook(const HOOK_INFO *hookInfo, void *cookie) in ParamSetBootEventHook()
507 static int RecordInitCmd(const HOOK_INFO *info, void *cookie) in RecordInitCmd()
519 HOOK_INFO info = {INIT_CMD_RECORD, 0, RecordInitCmd, NULL}; in MODULE_CONSTRUCTOR()
/base/startup/init/services/init/
Dinit_common_service.c105 static int ServiceHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceHookWrapper()
116 HOOK_INFO info; in InitAddServiceHook()
126 static int ServiceRestartHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceRestartHookWrapper()
137 HOOK_INFO info; in InitServiceRestartHook()
Dinit_service_manager.c967 static int ServiceParseHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceParseHookWrapper()
978 HOOK_INFO info; in InitAddServiceParseHook()
/base/location/test/location_common/source/
Dlocation_common_test.cpp720 static int OhosHookTest01(const HOOK_INFO *hookInfo, void *executionContext) in OhosHookTest01()
729 static int OhosHookTest02(const HOOK_INFO *hookInfo, void *executionContext) in OhosHookTest02()
743 static int OhosHookTest03(const HOOK_INFO *hookInfo, void *executionContext) in OhosHookTest03()
759 static int OhosHookTest04(const HOOK_INFO *hookInfo, void *executionContext) in OhosHookTest04()
/base/startup/init/test/unittest/param/
Dparam_stub.cpp486 static int TestHook(const HOOK_INFO *hookInfo, void *cookie) in TestHook()