Searched refs:boottime (Results 1 – 5 of 5) sorted by relevance
/system/connectivity/shill/net/ |
D | event_history.cc | 68 timersub(&now.boottime, &events_.front().boottime, &elapsed); in ExpireEventsBeforeInternal() 77 timersub(&now.boottime, &events_.front().boottime, &elapsed); in ExpireEventsBeforeInternal() 97 timersub(&now.boottime, &event.boottime, &elapsed); in CountEventsWithinInterval() 106 timersub(&now.boottime, &event.boottime, &elapsed); in CountEventsWithinInterval()
|
D | event_history_unittest.cc | 88 struct timeval boottime = {.tv_sec = boottime_seconds, .tv_usec = 0}; in GetTimestamp() local 89 return Timestamp(monotonic, boottime, wall_clock); in GetTimestamp() 111 EXPECT_EQ(kTime1, GetEvents()->back().boottime.tv_sec); in TEST_F() 117 EXPECT_EQ(kTime2, GetEvents()->back().boottime.tv_sec); in TEST_F() 132 EXPECT_EQ(kTime1, GetEvents()->back().boottime.tv_sec); in TEST_F() 139 EXPECT_EQ(kTime2, GetEvents()->back().boottime.tv_sec); in TEST_F() 154 EXPECT_EQ(kTimeEarly, GetEvents()->front().boottime.tv_sec); in TEST_F() 159 EXPECT_EQ(kTimeEarly, GetEvents()->front().boottime.tv_sec); in TEST_F() 161 EXPECT_EQ(kTimeLate, GetEvents()->back().boottime.tv_sec); in TEST_F() 170 EXPECT_EQ(kTimeLate, GetEvents()->front().boottime.tv_sec); in TEST_F() [all …]
|
D | shill_time.h | 43 boottime(in_boottime), in Timestamp() 47 struct timeval boottime; member
|
/system/connectivity/shill/ |
D | service_unittest.cc | 162 struct timeval boottime = { .tv_sec = boottime_seconds, .tv_usec = 0 }; in GetTimestamp() local 163 return Timestamp(monotonic, boottime, wall_clock); in GetTimestamp()
|
/system/connectivity/shill/wifi/ |
D | wake_on_wifi_unittest.cc | 1034 struct timeval boottime = {.tv_sec = boottime_seconds, .tv_usec = 0}; in GetTimestampBootTime() local 1035 return Timestamp(monotonic, boottime, ""); in GetTimestampBootTime()
|