Searched refs:clock_type (Results 1 – 4 of 4) sorted by relevance
/system/connectivity/shill/net/ |
D | event_history.cc | 33 void EventHistory::ExpireEventsBefore(int seconds_ago, ClockType clock_type) { in ExpireEventsBefore() argument 34 ExpireEventsBeforeInternal(seconds_ago, time_->GetNow(), clock_type); in ExpireEventsBefore() 38 ClockType clock_type) { in RecordEventAndExpireEventsBefore() argument 41 ExpireEventsBeforeInternal(seconds_ago, now, clock_type); in RecordEventAndExpireEventsBefore() 62 ClockType clock_type) { in ExpireEventsBeforeInternal() argument 66 switch (clock_type) { in ExpireEventsBeforeInternal() 88 ClockType clock_type) { in CountEventsWithinInterval() argument 95 switch (clock_type) { in CountEventsWithinInterval()
|
D | event_history.h | 58 void ExpireEventsBefore(int seconds_ago, ClockType clock_type); 64 void RecordEventAndExpireEventsBefore(int seconds_ago, ClockType clock_type); 73 int CountEventsWithinInterval(int seconds_ago, ClockType clock_type); 88 ClockType clock_type);
|
D | event_history_unittest.cc | 70 EventHistory::ClockType clock_type) { in ExpireEventsBefore() argument 72 event_history_->ExpireEventsBefore(seconds_ago, clock_type); in ExpireEventsBefore() 76 EventHistory::ClockType clock_type) { in RecordEventAndExpireEventsBefore() argument 78 event_history_->RecordEventAndExpireEventsBefore(seconds_ago, clock_type); in RecordEventAndExpireEventsBefore() 93 EventHistory::ClockType clock_type, in CountEventsWithinInterval() argument 96 return event_history_->CountEventsWithinInterval(seconds_ago, clock_type); in CountEventsWithinInterval() 177 EventHistory::ClockType clock_type; in TEST_F() local 190 clock_type = EventHistory::kClockTypeMonotonic; in TEST_F() 192 GetTimestamp(kTime2Monotonic, kTime2Boot, ""), clock_type); in TEST_F() 197 clock_type = EventHistory::kClockTypeBoottime; in TEST_F() [all …]
|
/system/core/logcat/ |
D | logcat.cpp | 470 clockid_t clock_type = android_log_clockid(); in lastLogTime() local 471 log_time now(clock_type); in lastLogTime() 472 bool monotonic = clock_type == CLOCK_MONOTONIC; in lastLogTime()
|