Home
last modified time | relevance | path

Searched refs:HOOK_MGR (Results 1 – 13 of 13) sorted by relevance

/base/startup/init/interfaces/innerkits/include/
Dhookmgr.h67 typedef struct tagHOOK_MGR HOOK_MGR; typedef
98 int HookMgrAdd(HOOK_MGR *hookMgr, int stage, int prio, OhosHook hook);
108 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo);
120 void HookMgrDel(HOOK_MGR *hookMgr, int stage, OhosHook hook);
167 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *e…
175 HOOK_MGR *HookMgrCreate(const char *name);
184 void HookMgrDestroy(HOOK_MGR *hookMgr);
203 void HookMgrTraversal(HOOK_MGR *hookMgr, void *traversalCookie, OhosHookTraversal traversal);
213 int HookMgrGetHooksCnt(HOOK_MGR *hookMgr, int stage);
222 int HookMgrGetStagesCnt(HOOK_MGR *hookMgr);
/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c57 static HOOK_MGR *defaultHookMgr = NULL;
59 static HOOK_MGR *getHookMgr(HOOK_MGR *hookMgr, int autoCreate) in getHookMgr()
93 static HOOK_STAGE *getHookStage(HOOK_MGR *hookMgr, int stage, int createIfNotFound) in getHookStage()
167 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo) in HookMgrAddEx()
185 int HookMgrAdd(HOOK_MGR *hookMgr, int stage, int prio, OhosHook hook) in HookMgrAdd()
214 void HookMgrDel(HOOK_MGR *hookMgr, int stage, OhosHook hook) in HookMgrDel()
263 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *o… in HookMgrExecute()
289 HOOK_MGR *HookMgrCreate(const char *name) in HookMgrCreate()
291 HOOK_MGR *ret; in HookMgrCreate()
294 ret = (HOOK_MGR *)malloc(sizeof(HOOK_MGR)); in HookMgrCreate()
[all …]
/base/startup/init/test/fuzztest/hookmgrdestroy_fuzzer/
Dhookmgrdestroy_fuzzer.cpp24 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrDestroy()
/base/startup/init/test/fuzztest/hookmgrgethookscnt_fuzzer/
Dhookmgrgethookscnt_fuzzer.cpp25 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrGetHooksCnt()
/base/startup/init/test/fuzztest/hookmgrgetstagescnt_fuzzer/
Dhookmgrgetstagescnt_fuzzer.cpp25 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrGetStagesCnt()
/base/startup/init/test/moduletest/
Dhookmgr_moduletest.cpp29 HOOK_MGR *g_hookMgr = nullptr;
69 static void DumpAllHooks(HOOK_MGR *hookMgr) in DumpAllHooks()
/base/startup/init/test/fuzztest/hookmgraddex_fuzzer/
Dhookmgraddex_fuzzer.cpp25 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrAddEx()
/base/startup/init/test/fuzztest/hookmgrexecute_fuzzer/
Dhookmgrexecute_fuzzer.cpp26 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrExecute()
/base/startup/init/test/fuzztest/hookmgrdel_fuzzer/
Dhookmgrdel_fuzzer.cpp30 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrDel()
/base/startup/init/test/fuzztest/hookmgrtraversal_fuzzer/
Dhookmgrtraversal_fuzzer.cpp29 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrTraversal()
/base/startup/init/interfaces/innerkits/init_module_engine/include/
Dbootstage.h54 HOOK_MGR *GetBootStageHookMgr();
/base/startup/init/services/init/standard/
Dinit.c243 static HOOK_MGR *bootStageHookMgr = NULL;
245 HOOK_MGR *GetBootStageHookMgr() in GetBootStageHookMgr()
/base/startup/init/test/unittest/innerkits/
Dhookmgr_unittest.cpp73 static void dumpAllHooks(HOOK_MGR *hookMgr) in dumpAllHooks()
189 HOOK_MGR *hookMgr = HookMgrCreate("test");