Home
last modified time | relevance | path

Searched refs:triggerHead (Results 1 – 7 of 7) sorted by relevance

/base/startup/init/services/param/trigger/
Dtrigger_manager.c82 static TriggerNode *AddTriggerNode_(TriggerHeader *triggerHead, in AddTriggerNode_() argument
94 OH_ListAddTail(&triggerHead->triggerList, &node->node); in AddTriggerNode_()
95 triggerHead->triggerCount++; in AddTriggerNode_()
117 TriggerHeader *triggerHead = GetTriggerHeader(workSpace, extInfo->type); in AddJobTrigger_() local
118 PARAM_CHECK(triggerHead != NULL, return NULL, "Failed to get header %d", extInfo->type); in AddJobTrigger_()
121 …TriggerNode *node = (TriggerNode *)AddTriggerNode_(triggerHead, extInfo->type, condition, triggerN… in AddJobTrigger_()
140 TriggerHeader *triggerHead = GetTriggerHeader(workSpace, trigger->type); in DelJobTrigger_() local
141 PARAM_CHECK(triggerHead != NULL, return, "Failed to get header %d", trigger->type); in DelJobTrigger_()
146 triggerHead->cmdNodeCount--; in DelJobTrigger_()
156 triggerHead->triggerCount--; in DelJobTrigger_()
[all …]
Dtrigger_processor.c65 TriggerHeader *triggerHead = GetTriggerHeader(&g_triggerWorkSpace, trigger->type); in ExecuteTriggerImmediately() local
66 if (triggerHead != NULL) { in ExecuteTriggerImmediately()
67 triggerHead->executeTrigger(trigger, content, size); in ExecuteTriggerImmediately()
79 TriggerHeader *triggerHead = GetTriggerHeader(&g_triggerWorkSpace, trigger->type); in StartTriggerExecute_() local
80 if (triggerHead != NULL) { in StartTriggerExecute_()
83 triggerHead->executeTrigger(trigger, content, size); in StartTriggerExecute_()
86 const char *condition = triggerHead->getCondition(trigger); in StartTriggerExecute_()
286 TriggerHeader *triggerHead = GetTriggerHeader(&g_triggerWorkSpace, type); in CheckAndMarkTrigger() local
287 if (triggerHead) { in CheckAndMarkTrigger()
288 return triggerHead->checkAndMarkTrigger(&g_triggerWorkSpace, type, name); in CheckAndMarkTrigger()
[all …]
/base/startup/init/services/param/include/
Dtrigger_manager.h154 ListHead triggerHead; member
160 TriggerHeader triggerHead[TRIGGER_MAX]; member
/base/startup/init/services/param/linux/
Dparam_service.c193 OH_ListAddTail(&watcher->triggerHead, &node->item); in AddWatchNode()
198 OH_ListAddTail(&watcher->triggerHead, &node->item); in AddWatchNode()
206 TriggerHeader *header = (TriggerHeader *)&workSpace->triggerHead[extData->type]; in AddWatcherTrigger()
350 OH_ListInit(&watcher->triggerHead); in OnIncomingConnect()
/base/startup/init/test/unittest/init/
Dloopevent_unittest.cpp190 OH_ListInit(&watcher->triggerHead); in LeTaskTest()
/base/startup/init/test/unittest/param/
Dparamservice_unittest.cpp316 OH_ListInit(&watcher->triggerHead); in CreateAndGetStreamTask()
Dtrigger_unittest.cpp119 return &GetTriggerWorkSpace()->triggerHead[type]; in GetTriggerHeader()