Searched refs:TimePoint (Results 1 – 14 of 14) sorted by relevance
/base/notification/eventhandler/interfaces/inner_api/ |
D | event_queue.h | 36 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() };
|
D | inner_event.h | 43 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_;
|
D | event_handler.h | 896 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/ |
D | ems_inner_event_system_test.cpp | 138 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/ |
D | eventqueue_fuzzer.cpp | 40 AppExecFwk::InnerEvent::TimePoint nextExpiredTime = AppExecFwk::InnerEvent::TimePoint::max(); in DoSomethingInterestingWithMyAPI()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | event_queue.cpp | 62 …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 …]
|
D | event_handler.cpp | 66 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()
|
D | inner_event.cpp | 276 std::string InnerEvent::DumpTimeToString(const TimePoint &time) in DumpTimeToString()
|
/base/notification/common_event_service/services/src/ |
D | system_time.cpp | 29 InnerEvent::TimePoint nowSys = InnerEvent::Clock::now(); in GetNowSysTime()
|
/base/notification/eventhandler/frameworks/eventhandler/include/ |
D | event_handler_utils.h | 44 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/ |
D | power_mgr_notify_test.cpp | 45 using TimePoint = std::chrono::time_point<Clock>; typedef 57 TimePoint receivedTime_;
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_event_test.cpp | 286 InnerEvent::TimePoint now = InnerEvent::Clock::now(); 305 InnerEvent::TimePoint now = InnerEvent::Clock::now();
|
D | lib_event_handler_event_queue_test.cpp | 488 InnerEvent::TimePoint nextWakeUpTime = InnerEvent::TimePoint::max();
|
/base/notification/eventhandler/frameworks/test/moduletest/ |
D | event_handler_send_timing_event_module_test.cpp | 30 InnerEvent::TimePoint nowSys = InnerEvent::Clock::now(); in GetNowSysTime()
|