Lines Matching refs:Time
24 #include <base/time/time.h>
33 using base::Time;
60 fake_clock_.SetMonotonicTime(Time::FromInternalValue(12345678L));
61 fake_clock_.SetWallclockTime(Time::FromInternalValue(12345678901234L));
66 new Time(fake_clock_.GetWallclockTime()));
68 new Time(fake_clock_.GetWallclockTime()));
123 // faking the current wall clock time as needed. Restores the default state.
126 Time next_update_check;
132 Time curr_time = next_update_check;
142 Time first_seen_time = fake_clock_.GetWallclockTime() - first_seen_period;
146 // first time (|first_seen_period| ago). Clearly, there were no failed
153 update_state.failures_last_updated = Time(); // Needs to be zero.
161 update_state.download_errors = vector<tuple<int, ErrorCode, Time>>();
167 update_state.p2p_first_attempted = Time();
169 update_state.backoff_expiry = Time();
206 Time next_update_check;
208 // Set the last update time so it'll appear as if this is a first update check
211 new Time(fake_clock_.GetWallclockTime() - TimeDelta::FromMinutes(10)));
227 Time next_update_check;
247 Time next_update_check;
268 Time next_update_check;
291 Time next_update_check;
315 Time next_update_check;
316 Time last_checked_time =
320 new Time(last_checked_time));
330 new Time(last_checked_time));
338 new Time(last_checked_time));
350 Time next_update_check;
351 Time last_checked_time =
355 new Time(last_checked_time));
362 new Time(last_checked_time));
375 new Time(last_checked_time));
554 const Time curr_time = fake_clock_.GetWallclockTime();
582 const Time curr_time = fake_clock_.GetWallclockTime();
611 const Time curr_time = fake_clock_.GetWallclockTime();
634 EXPECT_EQ(Time(), result.backoff_expiry);
643 const Time curr_time = fake_clock_.GetWallclockTime();
665 EXPECT_EQ(Time(), result.backoff_expiry);
674 const Time curr_time = fake_clock_.GetWallclockTime();
696 EXPECT_EQ(Time(), result.backoff_expiry);
705 const Time curr_time = fake_clock_.GetWallclockTime();
727 EXPECT_EQ(Time(), result.backoff_expiry);
736 const Time curr_time = fake_clock_.GetWallclockTime();
760 EXPECT_EQ(Time(), result.backoff_expiry);
1185 Time t = fake_clock_.GetWallclockTime() - TimeDelta::FromSeconds(12);
1214 Time
1556 const Time curr_time = fake_clock_.GetWallclockTime();