Home
last modified time | relevance | path

Searched refs:eventManager (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-event/test/
H A Dutest.cpp87 event_manager eventManager; member in TestEventManager
90 : eventManager(eventsDir, 0, 0) in TestEventManager()
97 return eventManager.create(&rec); in prepareEventLog1()
102 return eventManager.create(&rec); in prepareEventLog2()
113 eventManager.next_log_refresh(); in TEST_F()
125 eventManager.next_log_refresh(); in TEST_F()
129 eventManager.next_log_refresh(); in TEST_F()
140 eventManager.next_log_refresh(); in TEST_F()
157 eventManager.close(prec); in TEST_F()
161 eventManager.close(prec); in TEST_F()
[all …]
/openbmc/pldm/platform-mc/
H A Dmanager.hpp41 eventManager(terminusManager, termini) in Manager()
93 eventManager.updateAvailableState(tid, state); in updateAvailableState()
121 eventManager.handlePlatformEvent(tid, PLDM_PLATFORM_EVENT_ID_NULL, in handleSensorEvent()
144 eventManager.handlePlatformEvent(tid, PLDM_PLATFORM_EVENT_ID_NULL, in handleCperEvent()
167 eventManager.handlePlatformEvent(tid, PLDM_PLATFORM_EVENT_ID_NULL, in handlePldmMessagePollEvent()
195 return eventManager.handlePlatformEvent(tid, eventId, PLDM_CPER_EVENT, in handlePolledCperEvent()
209 eventManager.registerPolledEventHandler(eventClass, in registerPolledEventHandler()
227 EventManager eventManager; member in pldm::platform_mc::Manager
H A Dmanager.cpp41 co_await eventManager.pollForPlatformEventTask(tid, in pollForPlatformEvent()
/openbmc/pldm/platform-mc/test/
H A Devent_manager_test.cpp27 eventManager(terminusManager, termini), in EventManagerTest()
37 pldm::platform_mc::MockEventManager eventManager; member in EventManagerTest
161 auto rc = eventManager.handlePlatformEvent( in TEST_F()
384 eventManager.updateAvailableState(tid, true); in TEST_F()
385 EXPECT_EQ(true, eventManager.getAvailableState(tid)); in TEST_F()
386 eventManager.updateAvailableState(tid, false); in TEST_F()
387 EXPECT_EQ(false, eventManager.getAvailableState(tid)); in TEST_F()
388 eventManager.updateAvailableState(2, false); in TEST_F()
389 EXPECT_EQ(false, eventManager.getAvailableState(tid)); in TEST_F()
486 EXPECT_CALL(eventManager, processCperEvent(_, _, _, _)) in TEST_F()
[all …]