Searched refs:ImplGetTimeNow (Results 1 – 4 of 4) sorted by relevance
/external/libbrillo/brillo/ |
D | backoff_entry.cc | 49 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()
|
D | backoff_entry_unittest.cc | 27 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()
|
D | backoff_entry_test.cc | 27 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()
|
D | backoff_entry.h | 95 virtual base::TimeTicks ImplGetTimeNow() const;
|