/base/startup/init/interfaces/innerkits/include/ |
D | hookmgr.h | 70 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/ |
D | appspawn_modulemgr.c | 104 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/ |
D | hookmgr_moduletest.cpp | 50 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/ |
D | init_hook.c | 88 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/ |
D | init_modulemgr.c | 93 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/ |
D | udid_static.c | 19 static int UDidCalc(const HOOK_INFO *hookInfo, void *cookie) in UDidCalc()
|
/base/startup/init/services/modules/bootchart/ |
D | bootchart_static.c | 19 static int bootchartEarlyHook(const HOOK_INFO *info, void *cookie) in bootchartEarlyHook()
|
/base/startup/init/services/modules/init_eng/ |
D | init_eng_static.c | 21 static int InitEngEarlyHook(const HOOK_INFO *info, void *cookie) in InitEngEarlyHook()
|
/base/startup/init/test/fuzztest/hookmgradd_fuzzer/ |
D | hookmgradd_fuzzer.cpp | 20 static int TestHook(const HOOK_INFO *hookInfo, void *executionContext) in TestHook()
|
/base/startup/init/test/fuzztest/hookmgrdel_fuzzer/ |
D | hookmgrdel_fuzzer.cpp | 20 static int TestHook(const HOOK_INFO *hookInfo, void *executionContext) in TestHook()
|
/base/startup/init/test/fuzztest/hookmgrtraversal_fuzzer/ |
D | hookmgrtraversal_fuzzer.cpp | 20 static void HookTraversal(const HOOK_INFO *hookInfo, void *traversalCookie) in HookTraversal()
|
/base/startup/init/services/modules/selinux/ |
D | selinux_static.c | 21 static int SelinuxHook(const HOOK_INFO *hookInfo, void *cookie) in SelinuxHook()
|
/base/startup/init/services/modules/seccomp/ |
D | seccomp_policy_static.c | 45 static int SeccompHook(const HOOK_INFO *info, void *cookie) in SeccompHook()
|
/base/startup/init/test/unittest/innerkits/ |
D | hookmgr_unittest.cpp | 53 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/ |
D | reboot_static.c | 29 static int RebootHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in RebootHookWrapper() 39 HOOK_INFO info; in InitAddRebootHook()
|
/base/startup/init/interfaces/innerkits/hookmgr/ |
D | hookmgr.c | 33 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/ |
D | init.c | 183 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/ |
D | bootstage.h | 89 typedef int (*ParamLoadFilter)(const HOOK_INFO *hookInfo, PARAM_LOAD_FILTER_CTX *filter);
|
/base/startup/init/services/modules/bootevent/ |
D | bootevent.c | 449 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/ |
D | init_common_service.c | 105 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()
|
D | init_service_manager.c | 967 static int ServiceParseHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceParseHookWrapper() 978 HOOK_INFO info; in InitAddServiceParseHook()
|
/base/location/test/location_common/source/ |
D | location_common_test.cpp | 720 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/ |
D | param_stub.cpp | 486 static int TestHook(const HOOK_INFO *hookInfo, void *cookie) in TestHook()
|