Home
last modified time | relevance | path

Searched refs:EventRunnerStage (Results 1 - 4 of 4) sorted by relevance

/base/notification/eventhandler/interfaces/inner_api/
H A Devent_queue.h48 enum class EventRunnerStage { class
70 using EventRunnerObserverCallBack = std::function<int(EventRunnerStage stage, const StageInfo* info)>;
78 stages = static_cast<uint32_t>(EventRunnerStage::STAGE_INVAILD); in ClearObserver()
372 EventRunnerObserver observer_ = {.stages = static_cast<uint32_t>(EventRunnerStage::STAGE_INVAILD),
/base/notification/eventhandler/frameworks/eventhandler/include/
H A Devent_queue_base.h194 void TryExecuteObserverCallback(InnerEvent::TimePoint &nextExpiredTime, EventRunnerStage stage);
195 int64_t ExecuteObserverCallback(ObserverTrace obsTrace, EventRunnerStage stage, StageInfo &Info);
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
H A Dlib_event_handler_event_queue_test.cpp2005 auto callback = [this]([[maybe_unused]]EventRunnerStage stage, in HWTEST_F()
2028 queue.TryExecuteObserverCallback(now, EventRunnerStage::STAGE_BEFORE_WAITING); in HWTEST_F()
2029 queue.TryExecuteObserverCallback(now, EventRunnerStage::STAGE_AFTER_WAITING); in HWTEST_F()
2046 auto callback = [this]([[maybe_unused]]EventRunnerStage stage, in HWTEST_F()
2052 queue.TryExecuteObserverCallback(now, EventRunnerStage::STAGE_BEFORE_WAITING); in HWTEST_F()
2053 queue.TryExecuteObserverCallback(now, EventRunnerStage::STAGE_AFTER_WAITING); in HWTEST_F()
2070 auto callback = [this]([[maybe_unused]]EventRunnerStage stage, in HWTEST_F()
2076 queue.TryExecuteObserverCallback(now, EventRunnerStage::STAGE_BEFORE_WAITING); in HWTEST_F()
2077 queue.TryExecuteObserverCallback(now, EventRunnerStage::STAGE_AFTER_WAITING); in HWTEST_F()
2089 auto callback = []([[maybe_unused]]EventRunnerStage stag in ObserverTest()
[all...]
/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_queue_base.cpp434 TryExecuteObserverCallback(nextWakeUpTime, EventRunnerStage::STAGE_BEFORE_WAITING); in GetEvent()
436 TryExecuteObserverCallback(nextWakeUpTime, EventRunnerStage::STAGE_AFTER_WAITING); in GetEvent()
443 void EventQueueBase::TryExecuteObserverCallback(InnerEvent::TimePoint &nextExpiredTime, EventRunnerStage stage) in TryExecuteObserverCallback()
459 case EventRunnerStage::STAGE_BEFORE_WAITING: in TryExecuteObserverCallback()
468 case EventRunnerStage::STAGE_AFTER_WAITING: in TryExecuteObserverCallback()
482 int64_t EventQueueBase::ExecuteObserverCallback(ObserverTrace obsTrace, EventRunnerStage stage, StageInfo &info) in ExecuteObserverCallback()
508 observer_.stages = static_cast<uint32_t>(EventRunnerStage::STAGE_INVAILD); in ClearObserver()

Completed in 6 milliseconds