Searched refs:triggerHead (Results 1 – 7 of 7) sorted by relevance
/base/startup/init/services/param/trigger/ |
D | trigger_manager.c | 82 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 …]
|
D | trigger_processor.c | 65 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/ |
D | trigger_manager.h | 154 ListHead triggerHead; member 160 TriggerHeader triggerHead[TRIGGER_MAX]; member
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 193 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/ |
D | loopevent_unittest.cpp | 190 OH_ListInit(&watcher->triggerHead); in LeTaskTest()
|
/base/startup/init/test/unittest/param/ |
D | paramservice_unittest.cpp | 316 OH_ListInit(&watcher->triggerHead); in CreateAndGetStreamTask()
|
D | trigger_unittest.cpp | 119 return &GetTriggerWorkSpace()->triggerHead[type]; in GetTriggerHeader()
|