Home | History | Annotate | Download | only in brillo

Lines Matching refs:FromMilliseconds

46   EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease());
69 entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1));
71 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(
76 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(
80 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(
93 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000));
101 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1000));
138 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result);
139 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease());
144 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result);
145 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease());
150 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result);
151 EXPECT_EQ(TimeDelta::FromMilliseconds(4000), entry.GetTimeUntilRelease());
159 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(20000), result);
175 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease());
179 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease());
183 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease());
187 EXPECT_EQ(TimeDelta::FromMilliseconds(4000), entry.GetTimeUntilRelease());
195 EXPECT_EQ(TimeDelta::FromMilliseconds(20000), entry.GetTimeUntilRelease());
210 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(3200), result);
212 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result);
222 EXPECT_EQ(TimeTicks() + TimeDelta::FromMilliseconds(1000), release_time);
226 entry.set_now(release_time - TimeDelta::FromMilliseconds(200));
232 EXPECT_EQ(release_time + TimeDelta::FromMilliseconds(800),
245 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease());
249 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease());
250 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000));
254 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease());
258 EXPECT_EQ(TimeDelta::FromMilliseconds(2000), entry.GetTimeUntilRelease());
259 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000));
278 TimeTicks() + TimeDelta::FromDays(3) + TimeDelta::FromMilliseconds(1000),