Searched refs:ImplGetTimeNow (Results 1 – 7 of 7) sorted by relevance
/external/libweave/src/ |
D | backoff_entry.cc | 48 std::max(ImplGetTimeNow() + delay, exponential_backoff_release_time_); in InformOfRequest() 53 return exponential_backoff_release_time_ > ImplGetTimeNow(); in ShouldRejectRequest() 57 base::TimeTicks now = ImplGetTimeNow(); in GetTimeUntilRelease() 75 base::TimeTicks now = ImplGetTimeNow(); in CanDiscard() 107 base::TimeTicks BackoffEntry::ImplGetTimeNow() const { in ImplGetTimeNow() function in weave::BackoffEntry 123 return std::max(ImplGetTimeNow(), exponential_backoff_release_time_); in CalculateReleaseTime() 139 (ImplGetTimeNow() - base::TimeTicks()).InMicroseconds(); in CalculateReleaseTime()
|
D | backoff_entry_unittest.cc | 27 TimeTicks ImplGetTimeNow() const override { return now_; } in ImplGetTimeNow() function in weave::TestBackoffEntry 131 EXPECT_EQ(entry.ImplGetTimeNow(), result); in TEST() 136 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); in TEST() 142 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result); in TEST() 148 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST() 156 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(20000), in TEST() 207 EXPECT_LE(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(3200), in TEST() 209 EXPECT_GE(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(4000), in TEST() 300 custom.set_now(custom.ImplGetTimeNow() + custom.GetTimeUntilRelease()); in TEST()
|
D | backoff_entry.h | 94 virtual base::TimeTicks ImplGetTimeNow() const;
|
/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.h | 95 virtual base::TimeTicks ImplGetTimeNow() const;
|
/external/libweave/src/commands/ |
D | cloud_command_proxy_unittest.cc | 59 base::TimeTicks ImplGetTimeNow() const override { in ImplGetTimeNow() function in weave::__anon6a2b78f10111::TestBackoffEntry
|