Home
last modified time | relevance | path

Searched refs:HookMgrExecute (Results 1 - 23 of 23) sorted by relevance

/base/startup/init/test/unittest/innerkits/
H A Dhookmgr_unittest.cpp266 ret = HookMgrExecute(nullptr, STAGE_TEST_ONE, (void *)&ctx, nullptr); in HWTEST_F()
272 ret = HookMgrExecute(nullptr, STAGE_TEST_ONE, (void *)&ctx, nullptr); in HWTEST_F()
279 ret = HookMgrExecute(nullptr, STAGE_TEST_ONE, (void *)&ctx, &options); in HWTEST_F()
287 ret = HookMgrExecute(nullptr, STAGE_TEST_ONE, (void *)&ctx, nullptr); in HWTEST_F()
294 ret = HookMgrExecute(nullptr, STAGE_TEST_ONE, (void *)&ctx, nullptr); in HWTEST_F()
299 ret = HookMgrExecute(nullptr, STAGE_TEST_ONE, (void *)&ctx, nullptr); in HWTEST_F()
306 HookMgrExecute(GetBootStageHookMgr(), INIT_GLOBAL_INIT, nullptr, nullptr); in HWTEST_F()
307 HookMgrExecute(GetBootStageHookMgr(), INIT_PRE_CFG_LOAD, nullptr, nullptr); in HWTEST_F()
/base/startup/init/test/unittest/modules/
H A Dtrace_unittest.cpp118 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_PERSIST_PARAM_LOAD, nullptr, nullptr); in HWTEST_F()
121 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_PERSIST_PARAM_LOAD, nullptr, nullptr); in HWTEST_F()
H A Deng_unittest.cpp245 HookMgrExecute(GetBootStageHookMgr(), INIT_GLOBAL_INIT, nullptr, nullptr); in HWTEST_F()
247 HookMgrExecute(GetBootStageHookMgr(), INIT_GLOBAL_INIT, nullptr, nullptr); in HWTEST_F()
250 HookMgrExecute(GetBootStageHookMgr(), INIT_GLOBAL_INIT, nullptr, nullptr); in HWTEST_F()
H A Dmodules_unittest.cpp116 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_PERSIST_PARAM_LOAD, nullptr, nullptr); in HWTEST_F()
/base/startup/init/test/fuzztest/hookmgrexecute_fuzzer/
H A Dhookmgrexecute_fuzzer.cpp27 if (HookMgrExecute(hookMgr, 0, nullptr, nullptr)) { in FuzzHookMgrExecute()
/base/startup/init/services/init/standard/
H A Dinit.c285 HookMgrExecute(GetBootStageHookMgr(), INIT_GLOBAL_INIT, (void *)&timingStat, (void *)&options); in SystemConfig()
288 HookMgrExecute(GetBootStageHookMgr(), INIT_PRE_PARAM_SERVICE, (void *)&timingStat, (void *)&options); in SystemConfig()
317 HookMgrExecute(GetBootStageHookMgr(), INIT_PRE_PARAM_LOAD, (void *)&timingStat, (void *)&options); in SystemConfig()
324 HookMgrExecute(GetBootStageHookMgr(), INIT_PRE_CFG_LOAD, (void *)&timingStat, (void *)&options); in SystemConfig()
328 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_CFG_LOAD, (void *)&timingStat, (void *)&options); in SystemConfig()
H A Dinit_cmds.c194 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_PERSIST_PARAM_LOAD, NULL, NULL); in DoLoadPrivatePersistParams()
304 HookMgrExecute(GetBootStageHookMgr(), INIT_MOUNT_STAGE, NULL, NULL); in DoMountFstabFile()
338 ret = HookMgrExecute(GetBootStageHookMgr(), INIT_RESTORECON, (void*)(&cmdInfo), (void*)(&options)); in DoRestorecon()
513 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_DATA_UNENCRYPT, (void*)(&cmdInfo), NULL); in DoInitGlobalKey()
530 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_DATA_UNENCRYPT, (void*)(&cmdInfo), NULL); in DoInitMainUser()
H A Dinit_firststage.c170 HookMgrExecute(GetBootStageHookMgr(), INIT_FIRST_STAGE, NULL, NULL); in SystemPrepare()
H A Dinit_control_fd_service.c102 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_DUMP, (void *)(&context), NULL); in DumpServiceHookExecute()
/base/startup/init/interfaces/innerkits/include/
H A Dhookmgr.h51 * HookMgrExecute(hookMgr, PRE_STAGE1, ...);
53 * HookMgrExecute(hookMgr, PRE_STAGE2, ...);
55 * HookMgrExecute(hookMgr, PRE_STAGE3, ...);
57 * HookMgrExecute(hookMgr, POST_STAGE3, ...);
123 * @brief preHook function prototype for HookMgrExecute each hook
132 * @brief postHook function prototype for HookMgrExecute each hook
147 * @brief Extra execution arguments for HookMgrExecute
167 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *extraArgs);
/base/startup/init/test/unittest/init/
H A Dservice_unittest.cpp380 HookMgrExecute(GetBootStageHookMgr(), INIT_GLOBAL_INIT, nullptr, nullptr); in HWTEST_F()
381 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_DUMP, (void *)(&serviceInfoContext), nullptr); in HWTEST_F()
386 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_FORK_BEFORE, (void *)(&serviceInfoContext), nullptr); in HWTEST_F()
388 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_FORK_BEFORE, (void *)(&serviceInfoContext), nullptr); in HWTEST_F()
399 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_PERSIST_PARAM_LOAD, nullptr, nullptr); in HWTEST_F()
/base/startup/appspawn/modules/modulemgr/
H A Dappspawn_modulemgr.c155 int ret = HookMgrExecute(GetAppSpawnHookMgr(), stage, (void *)(&arg), &options); in ServerStageHookExecute()
210 int ret = HookMgrExecute(GetAppSpawnHookMgr(), stage, (void *)(&forkArg), &options); in AppSpawnHookExecute()
268 int ret = HookMgrExecute(GetAppSpawnHookMgr(), stage, (void *)(&arg), NULL); in ProcessMgrHookExecute()
/base/startup/init/test/moduletest/
H A Dhookmgr_moduletest.cpp46 HookMgrExecute(g_hookMgr, STAGE_TEST_ONE, nullptr, nullptr); in HookExecFunc()
100 // test multiThread HookMgrExecute in HWTEST_F()
/base/startup/init/services/modules/bootevent/
H A Dbootevent.c109 HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_BOOTEVENT, (void*)(&context), NULL); in SetServiceBooteventHookMgr()
357 HookMgrExecute(GetBootStageHookMgr(), INIT_BOOT_COMPLETE, NULL, NULL); in BootEventParaFireByName()
375 HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_CLEAR, (void *)&ctx, NULL); in ServiceParseBootEventHook()
/base/location/frameworks/location_common/common/source/
H A Dhook_utils.cpp52 auto ret = HookMgrExecute(GetLocationExtHookMgr(), static_cast<int>(stage), executionContext, options); in ExecuteHook()
/base/startup/init/services/modules/reboot/
H A Dreboot_static.c153 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_REBOOT, (void *)(&context), NULL); in GetStartupPowerCtl()
/base/startup/init/services/param/trigger/
H A Dtrigger_processor.c229 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_JOB_PARSE, (void *)(&context), NULL); in ParseJobHookExecute()
379 HookMgrExecute(GetBootStageHookMgr(), INIT_SHUT_DETECTOR, NULL, NULL); in DoJobExecNow()
/base/startup/init/interfaces/innerkits/hookmgr/
H A Dhookmgr.c263 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *options) in HookMgrExecute() function
/base/startup/init/services/init/
H A Dinit_common_service.c158 (void)HookMgrExecute(GetBootStageHookMgr(), stage, (void *)(&context), NULL); in ServiceHookExecute()
778 HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_REAP, (void*)service, NULL); in ServiceReapHookExecute()
H A Dinit_common_cmds.c56 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_CMD_RECORD, (void *)(&context), NULL); in InitCmdHookExecute()
247 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_RESTART, (void *)(&context), NULL); in DoReset()
H A Dinit_service_manager.c140 HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_CLEAR, (void *)&ctx, NULL); in ExecuteServiceClear()
1018 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_PARSE, (void *)(&context), NULL); in ParseServiceHookExecute()
/base/startup/init/test/unittest/param/
H A Dparam_stub.cpp616 HookMgrExecute(GetBootStageHookMgr(), INIT_BOOT_COMPLETE, nullptr, nullptr); in ParamTestStubExit()
/base/startup/init/services/param/manager/
H A Dparam_server.c301 HookMgrExecute(GetBootStageHookMgr(), INIT_PARAM_LOAD_FILTER, (void *)&filter, NULL); in LoadOneParam_()

Completed in 16 milliseconds