Home
last modified time | relevance | path

Searched full:stage (Results 1 – 25 of 133) sorted by relevance

123456

/base/startup/appspawn/modules/modulemgr/
Dappspawn_modulemgr.c129 APPSPAWN_LOGI("Hook stage: %{public}d prio: %{public}d start", hookInfo->stage, hookInfo->prio); in PreHookExec()
138 …APPSPAWN_LOGI("Hook stage: %{public}d prio: %{public}d end time %{public}" PRId64 " ns result: %{p… in PostHookExec()
139 hookInfo->stage, hookInfo->prio, diff, executionRetVal); in PostHookExec()
143 int ServerStageHookExecute(AppSpawnHookStage stage, AppSpawnContent *content) in ServerStageHookExecute() argument
146 APPSPAWN_CHECK((stage >= STAGE_SERVER_PRELOAD) && (stage <= STAGE_SERVER_EXIT), in ServerStageHookExecute()
147 return APPSPAWN_ARG_INVALID, "Invalid stage %{public}d", (int)stage); in ServerStageHookExecute()
155 int ret = HookMgrExecute(GetAppSpawnHookMgr(), stage, (void *)(&arg), &options); in ServerStageHookExecute()
156 APPSPAWN_LOGV("Execute hook [%{public}d] result %{public}d", stage, ret); in ServerStageHookExecute()
160 int AddServerStageHook(AppSpawnHookStage stage, int prio, ServerStageHook hook) in AddServerStageHook() argument
163 APPSPAWN_CHECK((stage >= STAGE_SERVER_PRELOAD) && (stage <= STAGE_SERVER_EXIT), in AddServerStageHook()
[all …]
Dappspawn_modulemgr.h58 int ServerStageHookExecute(AppSpawnHookStage stage, AppSpawnContent *content);
59 int ProcessMgrHookExecute(AppSpawnHookStage stage,
61 int AppSpawnHookExecute(AppSpawnHookStage stage, uint32_t flags, AppSpawnContent *content, AppSpawn…
/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c34 HOOK_STAGE *stage; member
38 * Internal HOOK Stage in the same stage
42 int stage; member
74 const HOOK_STAGE *stage; in hookStageCompare() local
77 stage = (const HOOK_STAGE *)node; in hookStageCompare()
78 return (stage->stage - compareStage); in hookStageCompare()
83 HOOK_STAGE *stage; in hookStageDestroy() local
87 stage = (HOOK_STAGE *)node; in hookStageDestroy()
88 OH_ListRemoveAll(&(stage->hooks), NULL); in hookStageDestroy()
89 free((void *)stage); in hookStageDestroy()
[all …]
/base/startup/init/interfaces/innerkits/include/
Dhookmgr.h82 int stage; /* hook stage */ member
93 * @param stage hook stage
98 int HookMgrAdd(HOOK_MGR *hookMgr, int stage, int prio, OhosHook hook);
115 * @param stage hook stage
117 * If hook is NULL, it will delete all hooks in the stage
120 void HookMgrDel(HOOK_MGR *hookMgr, int stage, OhosHook hook);
163 * @param stage hook stage
167 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *e…
206 * @brief Get number of hooks in specified stage
210 * @param stage hook stage.
[all …]
/base/startup/init/initsync/src/
Dinit_sync.c56 int SystemInitStage(QuickstartStage stage) in SystemInitStage() argument
58 if (stage >= QS_STAGE_LIMIT || stage < QS_STAGE1) { in SystemInitStage()
59 INIT_LOGE("[Init] the stage(%d) is not expected!", stage); in SystemInitStage()
62 return SendCmd(QUICKSTART_STAGE(stage), 0); in SystemInitStage()
/base/location/frameworks/location_common/common/source/
Dhook_utils.cpp33 LocationErrCode HookUtils::RegisterHook(LocationProcessStage stage, int prio, OhosHook hook) in RegisterHook() argument
35 auto ret = HookMgrAdd(GetLocationExtHookMgr(), static_cast<int>(stage), prio, hook); in RegisterHook()
39 LBSLOGE(LOCATOR, "%{public}s stage = %{public}d add failed ret = %{public}d", in RegisterHook()
40 __func__, static_cast<int>(stage), ret); in RegisterHook()
44 void HookUtils::UnregisterHook(LocationProcessStage stage, OhosHook hook) in UnregisterHook() argument
46 HookMgrDel(GetLocationExtHookMgr(), static_cast<int>(stage), hook); in UnregisterHook()
50 LocationProcessStage stage, void *executionContext, const HOOK_EXEC_OPTIONS *options) in ExecuteHook() argument
52 …auto ret = HookMgrExecute(GetLocationExtHookMgr(), static_cast<int>(stage), executionContext, opti… in ExecuteHook()
56 LBSLOGE(LOCATOR, "%{public}s stage = %{public}d execute failed ret = %{public}d", in ExecuteHook()
57 __func__, static_cast<int>(stage), ret); in ExecuteHook()
/base/startup/init/initsync/include/
Dinit_stage.h31 QS_STAGE2, /* system init stage No 2 */
32 QS_STAGE3, /* system init stage No 3 */
73 * Trigger the SystemInit stage.
76 extern int SystemInitStage(QuickstartStage stage);
85 * Listen event and trigger the SystemInit stage.
/base/update/updater/services/include/log/
Dlog.h36 #define STAGE(stage) StageLogger(stage).OutputUpdaterStage() argument
85 StageLogger(int stage) : stage_(stage) {} in StageLogger() argument
/base/startup/appspawn/modules/module_engine/include/
Dappspawn_hook.h117 * @param stage 阶段信息
122 int AddServerStageHook(AppSpawnHookStage stage, int prio, ServerStageHook hook);
139 * @param stage 阶段信息
144 int AddAppSpawnHook(AppSpawnHookStage stage, int prio, AppSpawnHook hook);
149 * @param stage 阶段信息
154 int AddProcessMgrHook(AppSpawnHookStage stage, int prio, ProcessChangeHook hook);
/base/update/updater/test/unittest/log_test/
Dlog_unittest.cpp42 STAGE(UPDATE_STAGE_BEGIN) << "this is ut";
48 STAGE(UPDATE_STAGE_BEGIN) << "this is ut";
53 STAGE(UPDATE_STAGE_BEGIN) << "this is ut";
57 STAGE(UPDATE_STAGE_BEGIN) << "this is ut";
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest013/
Dbootfail_info_018 Boot Stage when Error Occoured: BL2_STAGE
29 Boot Stage: 0x2ffffffe
33 Exception Stage: 0
Dtrace.txt2 Boot Stage when Error Occoured: BL2_STAGE
/base/startup/appspawn/modules/sysevent/
Dhisysevent_adapter.cpp48 constexpr const char* STAGE = "STAGE"; variable
67 void AddStatisticEventInfo(AppSpawnHisyseventInfo *hisyseventInfo, uint32_t duration, bool stage) in AddStatisticEventInfo() argument
70 if (stage) { in AddStatisticEventInfo()
196 void ReportSpawnProcessDuration(AppSpawnHisysevent *hisysevent, const char* stage) in ReportSpawnProcessDuration() argument
204 STAGE, stage); in ReportSpawnProcessDuration()
/base/startup/appspawn/
Dhisysevent.yaml34 STAGE: {type: STRING, desc: Boot Stage Or BootFinished Stage}
/base/update/updater/services/log/
Ddump.cpp32 DumpStageHelper::DumpStageHelper(const std::string &stage) in DumpStageHelper() argument
34 g_stageStack.push(stage); in DumpStageHelper()
/base/startup/init/test/fuzztest/hookmgradd_fuzzer/
Dhookmgradd_fuzzer.cpp34 int stage = *data; in FuzzHookMgrAdd() local
38 if (!HookMgrAdd(NULL, stage, prio, TestHook)) { in FuzzHookMgrAdd()
/base/update/sys_installer/services/ab_update/src/
Dab_update.cpp43 STAGE(UPDATE_STAGE_BEGIN) << "StartABUpdate start"; in StartABUpdate()
56 STAGE(UPDATE_STAGE_FAIL) << "Install package failed"; in StartABUpdate()
64 STAGE(UPDATE_STAGE_SUCCESS) << "Install package success"; in StartABUpdate()
/base/location/interfaces/inner_api/include/
Dhook_utils.h132 static LocationErrCode RegisterHook(LocationProcessStage stage, int prio, OhosHook hook);
133 static void UnregisterHook(LocationProcessStage stage, OhosHook hook);
134 static LocationErrCode ExecuteHook(LocationProcessStage stage, void *executionContext,
/base/startup/init/interfaces/innerkits/init_module_engine/include/
Dinit_running_hooks.h26 * @brief Running hook stage definition for init
28 /* Hook stage for setting parameters */
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp180 /* 3. Decrypt Three Stage */ in HksAesCipherTestCaseOther()
206 /* 2. Encrypt Three Stage */ in HksAesCipherTestCaseGcm2()
229 /* 3. Decrypt Three Stage */ in HksAesCipherTestCaseGcm2()
264 /* 2. Encrypt Three Stage */ in HksAesCipherTestCaseGcm3()
292 /* 3. Decrypt Three Stage */ in HksAesCipherTestCaseGcm3()
350 /* 2. Encrypt Three Stage */ in HksAesCipherTestCaseGcm4()
364 /* 3. Decrypt Three Stage */ in HksAesCipherTestCaseGcm4()
430 /* 3. Decrypt Three Stage */ in HksAesDecryptThreeStage()
515 /* 2. Encrypt Three Stage */
533 HKS_LOG_I("enter Decrypt Three Stage");
[all …]
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_report_three_stage_get.cpp237 static void FreshStatInfo(HksEventStatInfo *statInfo, uint32_t dataSize, enum HksReportStage stage,… in FreshStatInfo() argument
254 switch (stage) { in FreshStatInfo()
277 if (info->stage != HKS_ONE_STAGE) { in HksFreshAndReport()
279 … FreshStatInfo(&(eventInfo->common.statInfo), info->inDataSize, info->stage, info->startTime); in HksFreshAndReport()
282 if (info->errCode == HKS_SUCCESS && (info->stage == HKS_INIT || info->stage == HKS_UPDATE)) { in HksFreshAndReport()
297 … HksEventResultInfo result = { .code = info->errCode, .module = 0, .stage = 0, .errMsg = nullptr }; in HksFreshAndReport()
316 …HKS_LOG_I("three stage report %" LOG_PUBLIC "s, purpose = %" LOG_PUBLIC "d, eventId = %" LOG_PUBLI… in HksFreshAndReport()
403 … FreshStatInfo(&(eventInfo->common.statInfo), info->inDataSize, info->stage, info->startTime); in HksServiceInitReport()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_hmac_derive_test_common.cpp36 /* 2. Derive Three Stage */ in HksHmacDeriveTestNormalCase1()
66 /* 2. Derive Three Stage */ in HksHmacDeriveTestNormalCase2()
87 /* 2. Derive Three Stage */ in HksHmacDeriveTestCmpCase()
/base/startup/init/services/init/standard/
Dinit_firststage.c162 INIT_LOGI("Start init second stage."); in StartSecondStageInit()
170 // Execute init second stage in StartSecondStageInit()
173 "--second-stage", in StartSecondStageInit()
201 INIT_LOGI("Start init first stage."); in SystemPrepare()
/base/security/device_auth/
Dhisysevent.yaml34 BIZ_STAGE: {type: INT32, desc: business stage}
35 STAGE_RES: {type: INT32, desc: stage res}
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_rsa_sign_verify_test_common.cpp49 /* 2. Sign Three Stage */ in RsaSignVerifyTestNormalCase()
80 /* 5. Verify Three Stage */ in RsaSignVerifyTestNormalCase()
173 /* 2. Sign Three Stage */ in HksRsaSignVerifyTestParamAbsentCase()
191 /* 2. Sign Three Stage */ in HksRsaSignVerifyTestParamPSSaltLenFailureCase()
219 /* 2. Sign Three Stage */ in RSASignVerifyTestAbnormalCase()
248 /* 5. Verify Three Stage */ in RSASignVerifyTestAbnormalCase()
280 /* 2. Sign Three Stage */ in RSASignVerifyTestAbnormalCaseNoPadding()

123456