Home
last modified time | relevance | path

Searched refs:boottime (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/shill/net/
Devent_history.cc68 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()
Devent_history_unittest.cc88 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 …]
Dshill_time.h43 boottime(in_boottime), in Timestamp()
47 struct timeval boottime; member
/system/connectivity/shill/
Dservice_unittest.cc162 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/
Dwake_on_wifi_unittest.cc1034 struct timeval boottime = {.tv_sec = boottime_seconds, .tv_usec = 0}; in GetTimestampBootTime() local
1035 return Timestamp(monotonic, boottime, ""); in GetTimestampBootTime()