Lines Matching refs:set_now
29 void set_now(const TimeTicks& now) { in set_now() function in brillo::TestBackoffEntry
54 never_expires.set_now(TimeTicks() + TimeDelta::FromDays(100)); in TEST()
68 entry.set_now( in TEST()
71 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST()
76 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST()
80 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST()
93 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); in TEST()
101 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1000)); in TEST()
226 entry.set_now(release_time - TimeDelta::FromMilliseconds(200)); in TEST()
250 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); in TEST()
259 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); in TEST()
268 custom.set_now(TimeTicks() + TimeDelta::FromDays(2)); in TEST()
275 custom.set_now(TimeTicks() + TimeDelta::FromDays(3)); in TEST()
302 custom.set_now(custom.ImplGetTimeNow() + custom.GetTimeUntilRelease()); in TEST()