Home
last modified time | relevance | path

Searched refs:TimePoint (Results 1 – 14 of 14) sorted by relevance

/base/notification/eventhandler/interfaces/inner_api/
Devent_queue.h36 InnerEvent::TimePoint beginTime_;
39 InnerEvent::TimePoint sendTime_;
40 InnerEvent::TimePoint handleTime_;
46 CurrentRunningEvent(InnerEvent::TimePoint time, InnerEvent::Pointer &event);
177 InnerEvent::Pointer GetExpiredEvent(InnerEvent::TimePoint &nextExpiredTime);
247 …InnerEvent::Pointer PickEventLocked(const InnerEvent::TimePoint &now, InnerEvent::TimePoint &nextW…
248 InnerEvent::Pointer GetExpiredEventLocked(InnerEvent::TimePoint &nextExpiredTime);
249 void WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &lock);
264 InnerEvent::TimePoint wakeUpTime_ { InnerEvent::TimePoint::max() };
267 InnerEvent::TimePoint idleTimeStamp_ { InnerEvent::Clock::now() };
Dinner_event.h43 using TimePoint = std::chrono::time_point<Clock>; variable
236 inline const TimePoint &GetHandleTime() const in GetHandleTime()
246 inline void SetHandleTime(const TimePoint &handleTime) in SetHandleTime()
256 inline const TimePoint &GetSendTime() const in GetSendTime()
266 inline void SetSendTime(const TimePoint &sendTime) in SetSendTime()
416 static std::string DumpTimeToString(const TimePoint &time);
536 TimePoint handleTime_;
537 TimePoint sendTime_;
Devent_handler.h896 void DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
904 void DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
/base/notification/eventhandler/test/systemtest/ems_inner_event_system_test/
Dems_inner_event_system_test.cpp138 InnerEvent::TimePoint now = InnerEvent::Clock::now();
152 InnerEvent::TimePoint now = InnerEvent::TimePoint::max();
167 InnerEvent::TimePoint now = InnerEvent::Clock::time_point();
181 InnerEvent::TimePoint now = InnerEvent::TimePoint::min();
195 InnerEvent::TimePoint now;
/base/notification/eventhandler/test/fuzztest/eventqueue_fuzzer/
Deventqueue_fuzzer.cpp40 AppExecFwk::InnerEvent::TimePoint nextExpiredTime = AppExecFwk::InnerEvent::TimePoint::max(); in DoSomethingInterestingWithMyAPI()
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_queue.cpp62 …ckEventInListLocked(const std::list<InnerEvent::Pointer> &events, const InnerEvent::TimePoint &now, in CheckEventInListLocked()
63 InnerEvent::TimePoint &nextWakeUpTime) in CheckEventInListLocked()
280 …nt::Pointer EventQueue::PickEventLocked(const InnerEvent::TimePoint &now, InnerEvent::TimePoint &n… in PickEventLocked()
316 InnerEvent::Pointer EventQueue::GetExpiredEventLocked(InnerEvent::TimePoint &nextExpiredTime) in GetExpiredEventLocked()
319 wakeUpTime_ = InnerEvent::TimePoint::max(); in GetExpiredEventLocked()
356 InnerEvent::TimePoint nextWakeUpTime = InnerEvent::TimePoint::max(); in GetEvent()
368 InnerEvent::Pointer EventQueue::GetExpiredEvent(InnerEvent::TimePoint &nextExpiredTime) in GetExpiredEvent()
464 void EventQueue::WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &l… in WaitUntilLocked()
556 if (currentRunningEvent_.beginTime_ == InnerEvent::TimePoint::max()) { in DumpCurrentRunning()
671 beginTime_ = InnerEvent::TimePoint::max(); in CurrentRunningEvent()
[all …]
Devent_handler.cpp66 InnerEvent::TimePoint now = InnerEvent::Clock::now(); in SendEvent()
90 InnerEvent::TimePoint nowSys = InnerEvent::Clock::now(); in SendTimingEvent()
243 void EventHandler::DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowSt… in DeliveryTimeAction()
271 void EventHandler::DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint now… in DistributeTimeAction()
283 InnerEvent::TimePoint nowEnd = InnerEvent::Clock::now(); in DistributeTimeAction()
322 InnerEvent::TimePoint nowStart = InnerEvent::Clock::now(); in DistributeEvent()
Dinner_event.cpp276 std::string InnerEvent::DumpTimeToString(const TimePoint &time) in DumpTimeToString()
/base/notification/common_event_service/services/src/
Dsystem_time.cpp29 InnerEvent::TimePoint nowSys = InnerEvent::Clock::now(); in GetNowSysTime()
/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h44 static inline int64_t TimePointToTimeOut(const InnerEvent::TimePoint &when) in TimePointToTimeOut()
46 InnerEvent::TimePoint now = InnerEvent::Clock::now(); in TimePointToTimeOut()
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_notify_test.cpp45 using TimePoint = std::chrono::time_point<Clock>; typedef
57 TimePoint receivedTime_;
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_event_test.cpp286 InnerEvent::TimePoint now = InnerEvent::Clock::now();
305 InnerEvent::TimePoint now = InnerEvent::Clock::now();
Dlib_event_handler_event_queue_test.cpp488 InnerEvent::TimePoint nextWakeUpTime = InnerEvent::TimePoint::max();
/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_send_timing_event_module_test.cpp30 InnerEvent::TimePoint nowSys = InnerEvent::Clock::now(); in GetNowSysTime()