Home
last modified time | relevance | path

Searched refs:EventTime (Results 1 - 15 of 15) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/
H A Devent_impl.h28 explicit EventImpl(EventTime timeout);
29 EventImpl(const EventFd &fd, EventsMask events, EventTime timeout);
35 int SetTimeout(EventTime timeout) override;
49 void SetTimeoutPeriod(EventTime timeout);
50 void SetStartTime(EventTime startTime);
51 bool GetTimeoutPoint(EventTime &timePoint) const;
52 void UpdateElapsedTime(EventTime now);
55 bool IsValidArg(EventTime timeout) const;
66 EventTime timeout_; // should not < 0
67 EventTime start
[all...]
H A Devent_loop_impl.h47 int Modify(EventImpl *event, EventTime time);
55 virtual int Poll(EventTime sleepTime) = 0;
61 virtual EventTime GetTime() const;
68 int AddEventObject(EventImpl *event, EventTime now);
71 int ModifyEventObject(EventImpl *event, EventTime timeout);
74 EventTime CalSleepTime() const;
H A Dievent.h24 using EventTime = int64_t;
44 virtual int SetTimeout(EventTime timeout) = 0;
50 static IEvent *CreateEvent(EventTime timeout, int &errCode);
51 static IEvent *CreateEvent(EventFd fd, EventsMask events, EventTime timeout, int &errCode);
H A Devent_loop_impl.cpp46 EventRequest(int type, EventImpl *event, EventTime timeout) in EventRequest()
88 EventTime GetTimeout() const in GetTimeout()
97 EventTime timeout_;
122 EventTime timeout = 0; in Add()
147 EventTime timeout = 0; in Remove()
184 EventTime sleepTime = CalSleepTime(); in Run()
232 int EventLoopImpl::Modify(EventImpl *event, EventTime time) in Modify()
245 EventTime EventLoopImpl::GetTime() const in GetTime()
249 return static_cast<EventTime>(microsecond / 1000); // 1000 is the multiple between microsecond and millisecond in GetTime()
331 int EventLoopImpl::AddEventObject(EventImpl *event, EventTime no
[all...]
H A Devent_impl.cpp22 EventImpl::EventImpl(EventTime timeout) in EventImpl()
47 EventImpl::EventImpl(const EventFd &fd, EventsMask events, EventTime timeout) in EventImpl()
163 int EventImpl::SetTimeout(EventTime timeout) in SetTimeout()
313 void EventImpl::SetTimeoutPeriod(EventTime timeout) in SetTimeoutPeriod()
322 void EventImpl::SetStartTime(EventTime startTime) in SetStartTime()
327 bool EventImpl::GetTimeoutPoint(EventTime &timePoint) const in GetTimeoutPoint()
337 void EventImpl::UpdateElapsedTime(EventTime now) in UpdateElapsedTime()
340 EventTime timePoint = start_ + timeout_; in UpdateElapsedTime()
371 bool EventImpl::IsValidArg(EventTime timeout) const in IsValidArg()
H A Dievent.cpp22 IEvent *IEvent::CreateEvent(EventTime timeout, int &errCode) in CreateEvent()
39 EventTime timeout, int &errCode) in CreateEvent()
H A Devent_loop_select.h35 int Poll(EventTime sleepTime) override;
H A Devent_loop_epoll.h35 int Poll(EventTime sleepTime) override;
H A Devent_loop_select.cpp43 int EventLoopSelect::Poll(EventTime sleepTime) in Poll()
H A Devent_loop_epoll.cpp88 int EventLoopEpoll::Poll(EventTime sleepTime) in Poll()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Devloop_timer_unit_test.cpp40 constexpr EventTime TIME_INACCURACY = 100LL;
41 constexpr EventTime TIME_PIECE_1 = 1LL;
42 constexpr EventTime TIME_PIECE_10 = 10LL;
43 constexpr EventTime TIME_PIECE_50 = 50LL;
44 constexpr EventTime TIME_PIECE_100 = 100LL;
45 constexpr EventTime TIME_PIECE_1000 = 1000LL;
46 constexpr EventTime TIME_PIECE_10000 = 10000LL;
50 static EventTime GetCurrentTime();
53 EventTime TimerTester::GetCurrentTime() in GetCurrentTime()
147 EventTime delt in HWTEST_F()
[all...]
/foundation/multimodalinput/input/util/socket/include/
H A Duds_session.h113 struct EventTime { struct in OHOS::MMI::UDSSession
118 std::map<int32_t, std::vector<EventTime>> events_;
/foundation/multimodalinput/input/util/socket/test/
H A Duds_session_test.cpp254 UDSSession::EventTime event; in HWTEST_F()
275 UDSSession::EventTime event; in HWTEST_F()
298 UDSSession::EventTime event; in HWTEST_F()
326 UDSSession::EventTime event; in HWTEST_F()
349 UDSSession::EventTime event; in HWTEST_F()
/foundation/multimodalinput/input/service/event_handler/test/
H A Danr_manager_test.cpp282 std::vector<UDSSession::EventTime> events { { 0, 0, -1 }, { 1, 1, 10 } }; in HWTEST_F()
303 std::vector<UDSSession::EventTime> events { { 0, 0, -1 }, { 1, 1, 10 } }; in HWTEST_F()
/foundation/multimodalinput/input/util/socket/src/
H A Duds_session.cpp159 EventTime eventTime = { id, time, timerId }; in SaveANREvent()

Completed in 6 milliseconds