/base/startup/init/test/unittest/innerkits/ |
H A D | hookmgr_unittest.cpp | 266 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 D | trace_unittest.cpp | 118 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 D | eng_unittest.cpp | 245 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 D | modules_unittest.cpp | 116 HookMgrExecute(GetBootStageHookMgr(), INIT_POST_PERSIST_PARAM_LOAD, nullptr, nullptr); in HWTEST_F()
|
/base/startup/init/test/fuzztest/hookmgrexecute_fuzzer/ |
H A D | hookmgrexecute_fuzzer.cpp | 27 if (HookMgrExecute(hookMgr, 0, nullptr, nullptr)) { in FuzzHookMgrExecute()
|
/base/startup/init/services/init/standard/ |
H A D | init.c | 285 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 D | init_cmds.c | 194 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 D | init_firststage.c | 170 HookMgrExecute(GetBootStageHookMgr(), INIT_FIRST_STAGE, NULL, NULL);
in SystemPrepare()
|
H A D | init_control_fd_service.c | 102 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_DUMP, (void *)(&context), NULL); in DumpServiceHookExecute()
|
/base/startup/init/interfaces/innerkits/include/ |
H A D | hookmgr.h | 51 * 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 D | service_unittest.cpp | 380 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 D | appspawn_modulemgr.c | 155 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 D | hookmgr_moduletest.cpp | 46 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 D | bootevent.c | 109 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 D | hook_utils.cpp | 52 auto ret = HookMgrExecute(GetLocationExtHookMgr(), static_cast<int>(stage), executionContext, options); in ExecuteHook()
|
/base/startup/init/services/modules/reboot/ |
H A D | reboot_static.c | 153 (void)HookMgrExecute(GetBootStageHookMgr(), INIT_REBOOT, (void *)(&context), NULL); in GetStartupPowerCtl()
|
/base/startup/init/services/param/trigger/ |
H A D | trigger_processor.c | 229 (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 D | hookmgr.c | 263 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *options) in HookMgrExecute() function
|
/base/startup/init/services/init/ |
H A D | init_common_service.c | 158 (void)HookMgrExecute(GetBootStageHookMgr(), stage, (void *)(&context), NULL);
in ServiceHookExecute() 778 HookMgrExecute(GetBootStageHookMgr(), INIT_SERVICE_REAP, (void*)service, NULL);
in ServiceReapHookExecute()
|
H A D | init_common_cmds.c | 56 (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 D | init_service_manager.c | 140 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 D | param_stub.cpp | 616 HookMgrExecute(GetBootStageHookMgr(), INIT_BOOT_COMPLETE, nullptr, nullptr); in ParamTestStubExit()
|
/base/startup/init/services/param/manager/ |
H A D | param_server.c | 301 HookMgrExecute(GetBootStageHookMgr(), INIT_PARAM_LOAD_FILTER, (void *)&filter, NULL);
in LoadOneParam_()
|