/base/startup/init/services/param/trigger/ |
D | trigger_manager.c | 28 int AddCommand(JobNode *trigger, uint32_t cmdKeyIndex, const char *content) in AddCommand() 59 CommandNode *GetNextCmdNode(const JobNode *trigger, const CommandNode *curr) in GetNextCmdNode() 99 static int32_t AddJobNode_(TriggerNode *trigger, const TriggerExtInfo *extInfo) in AddJobNode_() 135 static void DelJobTrigger_(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in DelJobTrigger_() 200 static void DelWatchTrigger_(const TriggerWorkSpace *workSpace, TriggerNode *trigger) in DelWatchTrigger_() 233 static const char *GetTriggerCondition_(const TriggerNode *trigger) in GetTriggerCondition_() 238 static const char *GetBootCondition_(const TriggerNode *trigger) in GetBootCondition_() 246 static const char *GetJobName_(const TriggerNode *trigger) in GetJobName_() 254 static const char *GetWatchName_(const TriggerNode *trigger) in GetWatchName_() 291 JobNode *trigger = HASHMAP_ENTRY(node, JobNode, hashNode); in GetTriggerByName() local [all …]
|
D | trigger_processor.c | 32 static int DoTriggerExecute_(const TriggerNode *trigger, const char *content, uint32_t size) in DoTriggerExecute_() 47 static int DoTriggerCheckResult(TriggerNode *trigger, const char *content, uint32_t size) in DoTriggerCheckResult() 61 static int ExecuteTriggerImmediately(TriggerNode *trigger, const char *content, uint32_t size) in ExecuteTriggerImmediately() 77 static void StartTriggerExecute_(TriggerNode *trigger, const char *content, uint32_t size) in StartTriggerExecute_() 98 TriggerNode *trigger = ExecuteQueuePop(&g_triggerWorkSpace); in ExecuteQueueWork() local 237 JobNode *trigger = UpdateJobTrigger(workSpace, type, condition, name); in ParseTrigger_() local 345 JobNode *trigger = GetTriggerByName(&g_triggerWorkSpace, triggerName); in DoTriggerExec() local 358 JobNode *trigger = GetTriggerByName(&g_triggerWorkSpace, triggerName); in DoJobExecNow() local 373 JobNode *trigger = UpdateJobTrigger(&g_triggerWorkSpace, type, condition, name); in AddCompleteJob() local
|
/base/startup/init/test/unittest/param/ |
D | trigger_unittest.cpp | 44 static int TestCmdExec(const TriggerNode *trigger, const char *content, uint32_t size) in TestCmdExec() 57 static int TestTriggerExecute(TriggerNode *trigger, const char *content, uint32_t size) in TestTriggerExecute() 130 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), "init-later"); in TestAddTriggerForBoot() local 152 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestAddTriggerForParm() local 202 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger1() local 237 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger2() local 263 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger3() local 287 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger4() local 318 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestCheckParamTrigger5() local 360 JobNode *trigger = GetTriggerByName(GetTriggerWorkSpace(), triggerName); in TestExecuteParamTrigger1() local [all …]
|
D | paramservice_unittest.cpp | 26 static int TestTriggerExecute(TriggerNode *trigger, const char *content, uint32_t size) in TestTriggerExecute()
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 66 uint32_t trigger = 1; in CheckAndSendTrigger() local 180 static int32_t AddWatchNode(struct tagTriggerNode_ *trigger, const struct TriggerExtInfo_ *extInfo) in AddWatchNode() 210 static int32_t ExecuteWatchTrigger_(const struct tagTriggerNode_ *trigger, const char *content, uin… in ExecuteWatchTrigger_() 267 TriggerNode *trigger = AddWatcherTrigger(TRIGGER_PARAM_WAIT, condition, &extData); in HandleParamWaitAdd() local 295 TriggerNode *trigger = AddWatcherTrigger(TRIGGER_PARAM_WATCH, msg->key, &extData); in HandleParamWatcherAdd() local
|
/base/startup/init/services/param/include/ |
D | trigger_manager.h | 50 #define TRIGGER_IN_QUEUE(trigger) (((trigger)->flags & TRIGGER_FLAGS_QUEUE) == TRIGGER_FLAGS_QUEUE) argument 51 #define TRIGGER_SET_FLAG(trigger, flag) ((trigger)->flags |= (flag)) argument 52 #define TRIGGER_CLEAR_FLAG(trigger, flag) ((trigger)->flags &= ~(flag)) argument 53 #define TRIGGER_TEST_FLAG(trigger, flag) (((trigger)->flags & (flag)) == (flag)) argument
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_watch.cpp | 131 bool IsValidTrigger(const napi_env env, const napi_value trigger) in IsValidTrigger() 277 napi_value trigger = NapiUtil::GetProperty(env, watcher, TRIGGER_PROPERTY); in AddWatcher() local
|
/base/powermgr/power_manager/services/native/src/ |
D | power_state_machine.cpp | 1056 StateChangeReason trigger, TransitResult failReason) in RecordFailure()
|