Home
last modified time | relevance | path

Searched refs:EventHistory (Results 1 – 9 of 9) sorted by relevance

/system/connectivity/shill/net/
Devent_history.cc29 void EventHistory::RecordEvent() { in RecordEvent()
33 void EventHistory::ExpireEventsBefore(int seconds_ago, ClockType clock_type) { in ExpireEventsBefore()
37 void EventHistory::RecordEventAndExpireEventsBefore(int seconds_ago, in RecordEventAndExpireEventsBefore()
44 std::vector<std::string> EventHistory::ExtractWallClockToStrings() const { in ExtractWallClockToStrings()
53 void EventHistory::RecordEventInternal(Timestamp now) { in RecordEventInternal()
61 void EventHistory::ExpireEventsBeforeInternal(int seconds_ago, Timestamp now, in ExpireEventsBeforeInternal()
87 int EventHistory::CountEventsWithinInterval(int seconds_ago, in CountEventsWithinInterval()
Devent_history_unittest.cc42 EventHistoryTest() : event_history_(new EventHistory()) { in EventHistoryTest()
70 EventHistory::ClockType clock_type) { in ExpireEventsBefore()
76 EventHistory::ClockType clock_type) { in RecordEventAndExpireEventsBefore()
93 EventHistory::ClockType clock_type, in CountEventsWithinInterval()
101 std::unique_ptr<EventHistory> event_history_;
167 EventHistory::kClockTypeBoottime); in TEST_F()
177 EventHistory::ClockType clock_type; in TEST_F()
190 clock_type = EventHistory::kClockTypeMonotonic; in TEST_F()
197 clock_type = EventHistory::kClockTypeBoottime; in TEST_F()
215 EventHistory::kClockTypeBoottime); in TEST_F()
[all …]
Devent_history.h36 class SHILL_EXPORT EventHistory {
43 EventHistory() : max_events_specified_(false), time_(Time::GetInstance()) {} in EventHistory() function
44 explicit EventHistory(int max_events_saved) in EventHistory() function
95 DISALLOW_COPY_AND_ASSIGN(EventHistory);
/system/connectivity/shill/wifi/
Dwake_on_wifi.h572 EventHistory dark_resume_history_;
Dwake_on_wifi.cc1324 EventHistory::kClockTypeBoottime) >= kMaxDarkResumesPerPeriodShort || in OnDarkResume()
1327 EventHistory::kClockTypeBoottime) >= kMaxDarkResumesPerPeriodLong) { in OnDarkResume()
Dwake_on_wifi_unittest.cc966 EventHistory* GetDarkResumeHistory() { in GetDarkResumeHistory()
/system/connectivity/shill/
Dservice.h868 EventHistory disconnects_; // Connection drops.
869 EventHistory misconnects_; // Failures to connect.
Dservice.cc996 EventHistory* events = nullptr; in NoteDisconnectEvent()
1014 EventHistory::kClockTypeMonotonic); in NoteDisconnectEvent()
1048 EventHistory::kClockTypeMonotonic); in HasRecentConnectionIssues()
1050 EventHistory::kClockTypeMonotonic); in HasRecentConnectionIssues()
Dservice_unittest.cc152 EventHistory* GetDisconnects() { in GetDisconnects()
155 EventHistory* GetMisconnects() { in GetMisconnects()
166 void PushTimestamp(EventHistory* events, in PushTimestamp()
1836 EventHistory* events = nullptr; in TEST_F()