OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:GetTimeNow
(Results
1 - 4
of
4
) sorted by null
/external/chromium/net/base/
backoff_entry.cc
20
// Can't use
GetTimeNow
() as it's virtual.
45
// The reason why we are not just cutting the release time to
GetTimeNow
()
54
GetTimeNow
(), exponential_backoff_release_time_);
59
return exponential_backoff_release_time_ >
GetTimeNow
();
74
base::TimeTicks now =
GetTimeNow
();
95
base::TimeTicks BackoffEntry::
GetTimeNow
() const {
105
return std::max(
GetTimeNow
(), exponential_backoff_release_time_);
122
return std::max(
GetTimeNow
() + base::TimeDelta::FromMilliseconds(delay_int),
backoff_entry_unittest.cc
28
virtual TimeTicks
GetTimeNow
() const {
111
EXPECT_EQ(entry.
GetTimeNow
(), result);
116
EXPECT_EQ(entry.
GetTimeNow
() + TimeDelta::FromMilliseconds(1000), result);
121
EXPECT_EQ(entry.
GetTimeNow
() + TimeDelta::FromMilliseconds(2000), result);
126
EXPECT_EQ(entry.
GetTimeNow
() + TimeDelta::FromMilliseconds(4000), result);
133
EXPECT_EQ(entry.
GetTimeNow
() + TimeDelta::FromMilliseconds(20000), result);
147
EXPECT_LE(entry.
GetTimeNow
() + TimeDelta::FromMilliseconds(3200), result);
148
EXPECT_GE(entry.
GetTimeNow
() + TimeDelta::FromMilliseconds(4000), result);
/external/chromium/net/url_request/
url_request_throttler_entry.cc
109
send_log_.back() + sliding_window_period_ >
GetTimeNow
()) {
133
base::TimeTicks now =
GetTimeNow
();
174
return
GetTimeNow
();
222
base::TimeTicks URLRequestThrottlerEntry::
GetTimeNow
() const {
245
GetTimeNow
() + base::TimeDelta::FromMilliseconds(value_ms));
url_request_throttler_unittest.cc
32
TimeTicks
GetTimeNow
() const {
95
virtual TimeTicks
GetTimeNow
() const { return fake_time_now_; }
441
// We're not mocking out
GetTimeNow
() in this scenario
Completed in 38 milliseconds