Home
last modified time | relevance | path

Searched refs:ImplGetTimeNow (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/
Dbackoff_entry.cc49 ImplGetTimeNow() + delay, exponential_backoff_release_time_); in InformOfRequest()
54 return exponential_backoff_release_time_ > ImplGetTimeNow(); in ShouldRejectRequest()
58 base::TimeTicks now = ImplGetTimeNow(); in GetTimeUntilRelease()
76 base::TimeTicks now = ImplGetTimeNow(); in CanDiscard()
108 base::TimeTicks BackoffEntry::ImplGetTimeNow() const { in ImplGetTimeNow() function in brillo::BackoffEntry
124 return std::max(ImplGetTimeNow(), exponential_backoff_release_time_); in CalculateReleaseTime()
140 (ImplGetTimeNow() - base::TimeTicks()).InMicroseconds(); in CalculateReleaseTime()
Dbackoff_entry_unittest.cc27 TimeTicks ImplGetTimeNow() const override { return now_; } in ImplGetTimeNow() function in brillo::TestBackoffEntry
133 EXPECT_EQ(entry.ImplGetTimeNow(), result); in TEST()
138 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); in TEST()
144 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result); in TEST()
150 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST()
159 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(20000), result); in TEST()
210 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(3200), result); in TEST()
212 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST()
302 custom.set_now(custom.ImplGetTimeNow() + custom.GetTimeUntilRelease()); in TEST()
Dbackoff_entry_test.cc27 TimeTicks ImplGetTimeNow() const override { return now_; } in ImplGetTimeNow() function in brillo::TestBackoffEntry
133 EXPECT_EQ(entry.ImplGetTimeNow(), result); in TEST()
138 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); in TEST()
144 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result); in TEST()
150 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST()
159 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(20000), result); in TEST()
210 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(3200), result); in TEST()
212 entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST()
302 custom.set_now(custom.ImplGetTimeNow() + custom.GetTimeUntilRelease()); in TEST()
Dbackoff_entry.h95 virtual base::TimeTicks ImplGetTimeNow() const;