Searched defs:GetTimeNow (Results 1 - 6 of 6) sorted by relevance
/external/chromium/net/base/ |
H A D | 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 { function in class:net::BackoffEntry 105 return std::max(GetTimeNow(), exponential_backoff_release_time_); 122 return std::max(GetTimeNow() + base::TimeDelta::FromMilliseconds(delay_int),
|
H A D | backoff_entry_unittest.cc | 28 virtual TimeTicks GetTimeNow() const { function in class:__anon2933::TestBackoffEntry 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_org/content/browser/geolocation/ |
H A D | location_arbitrator_impl.cc | 170 base::Time GeolocationArbitratorImpl::GetTimeNow() const { function in class:content::GeolocationArbitratorImpl 191 } else if ((GetTimeNow() - old_position.timestamp).InMilliseconds() >
|
/external/chromium/net/url_request/ |
H A D | 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 { function in class:net::URLRequestThrottlerEntry 245 GetTimeNow() + base::TimeDelta::FromMilliseconds(value_ms));
|
H A D | url_request_throttler_unittest.cc | 32 TimeTicks GetTimeNow() const { function in class:net::__anon3257::MockBackoffEntry 95 virtual TimeTicks GetTimeNow() const { return fake_time_now_; } function in class:net::__anon3257::MockURLRequestThrottlerEntry 441 // We're not mocking out GetTimeNow() in this scenario
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | statscollector.cc | 376 double time_now = GetTimeNow(); 549 double StatsCollector::GetTimeNow() { function in class:webrtc::StatsCollector
|
Completed in 830 milliseconds