HomeSort by relevance Sort by last modified time
    Searched refs:now_ (Results 1 - 25 of 31) sorted by null

1 2

  /external/chromium_org/net/quic/test_tools/
mock_clock.cc 9 MockClock::MockClock() : now_(QuicTime::Zero()) {
16 now_ = now_.Add(delta);
20 return now_;
24 return now_;
29 now_.Subtract(QuicTime::Zero()).ToSeconds());
35 now_.Subtract(QuicTime::Zero()).ToMicroseconds());
mock_clock.h 33 QuicTime now_; member in class:net::MockClock
  /external/chromium_org/cc/test/
scheduler_test_common.cc 15 base::TimeTicks FakeDelayBasedTimeSource::Now() const { return now_; }
scheduler_test_common.h 38 void SetNow(base::TimeTicks time) { now_ = time; }
47 base::TimeTicks now_; member in class:cc::FakeDelayBasedTimeSource
  /external/chromium_org/base/test/
simple_test_clock.cc 15 return now_;
20 now_ += delta;
25 now_ = now;
simple_test_clock.h 33 // Protects |now_|.
36 Time now_; member in class:base::SimpleTestClock
  /external/chromium_org/net/cert/
x509_util.cc 25 ClientCertSorter::ClientCertSorter() : now_(base::Time::Now()) {}
35 bool a_is_valid = now_ >= a->valid_start() && now_ <= a->valid_expiry();
36 bool b_is_valid = now_ >= b->valid_start() && now_ <= b->valid_expiry();
x509_util.h 119 base::Time now_; member in class:net::x509_util::ClientCertSorter
  /external/chromium_org/ash/wm/
user_activity_detector_unittest.cc 64 now_ = base::TimeTicks::Now();
65 detector_->set_now_for_test(now_);
76 now_ += delta;
77 detector_->set_now_for_test(now_);
84 base::TimeTicks now_; member in class:ash::test::UserActivityDetectorTest
99 EXPECT_EQ(now_.ToInternalValue(),
112 EXPECT_EQ(now_.ToInternalValue(),
117 base::TimeTicks time_before_ignore = now_;
143 EXPECT_EQ(now_.ToInternalValue(),
154 EXPECT_EQ(now_.ToInternalValue()
    [all...]
video_detector_unittest.cc 74 now_ = base::TimeTicks::Now();
75 detector_->set_now_for_test(now_);
86 now_ += delta;
87 detector_->set_now_for_test(now_);
94 base::TimeTicks now_; member in class:ash::test::VideoDetectorTest
  /external/chromium_org/remoting/host/
resizing_host_observer_unittest.cc 91 now_(base::Time::Now()) {
97 return now_;
128 base::Time result = now_;
129 now_ += base::TimeDelta::FromSeconds(1);
135 base::Time now_; member in class:remoting::ResizingHostObserverTest
258 now_ += base::TimeDelta::FromMilliseconds(900);
261 now_ += base::TimeDelta::FromMilliseconds(99);
264 now_ += base::TimeDelta::FromMilliseconds(1);
  /external/chromium/net/url_request/
url_request_throttler_unittest.cc 222 TimeTicks now_; member in class:net::URLRequestThrottlerEntryTest
228 now_ = TimeTicks::Now();
230 entry_->ResetToBlank(now_);
260 entry_->ResetToBlank(now_);
295 TimeAndBool(now_, false, __LINE__),
296 TimeAndBool(now_ - kFiveMs, false, __LINE__),
297 TimeAndBool(now_ + kFiveMs, false, __LINE__),
298 TimeAndBool(now_ - (lifetime - kFiveMs), false, __LINE__),
299 TimeAndBool(now_ - lifetime, true, __LINE__),
300 TimeAndBool(now_ - (lifetime + kFiveMs), true, __LINE__)}
    [all...]
  /external/chromium_org/chrome/browser/network_time/
network_time_tracker_unittest.cc 51 now_(base::Time::NowFromSystemTime()),
63 return now_ + (ticks_now_ - base::TimeTicks());
134 base::Time now_; member in class:NetworkTimeTrackerTest
  /external/chromium_org/media/filters/
pipeline_integration_test_base.h 38 DummyTickClock() : now_() {}
42 base::TimeTicks now_; member in class:media::DummyTickClock
pipeline_integration_test_base.cc 320 now_ += base::TimeDelta::FromSeconds(60);
321 return now_;
  /external/chromium/net/base/
backoff_entry_unittest.cc 20 now_(TimeTicks()) {
29 return now_;
33 now_ = now;
37 TimeTicks now_; member in class:__anon2626::TestBackoffEntry
  /external/chromium_org/net/url_request/
url_request_throttler_unittest.cc 186 TimeTicks now_; member in class:net::URLRequestThrottlerEntryTest
208 now_ = TimeTicks::Now();
210 entry_->ResetToBlank(now_);
323 TimeAndBool(now_, false, __LINE__),
324 TimeAndBool(now_ - kFiveMs, false, __LINE__),
325 TimeAndBool(now_ + kFiveMs, false, __LINE__),
326 TimeAndBool(now_ - (lifetime - kFiveMs), false, __LINE__),
327 TimeAndBool(now_ - lifetime, true, __LINE__),
328 TimeAndBool(now_ - (lifetime + kFiveMs), true, __LINE__)};
343 TimeDelta delay = entry_->GetExponentialBackoffReleaseTime() - now_;
    [all...]
url_request_throttler_simulation_unittest.cc 135 now_ = absolute_time;
162 start_downtime_ < now_ && now_ < end_downtime_) {
279 TimeTicks now_; member in class:net::__anon9593::Server
  /external/chromium_org/chrome/browser/chromeos/
session_length_limiter_unittest.cc 73 base::TimeTicks now_; member in class:chromeos::__anon4475::MockTimeSingleThreadTaskRunner
131 : now_(base::TimeTicks::FromInternalValue(1000)) {
142 tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task));
155 return now_;
160 const base::TimeTicks latest = now_ + time_delta;
162 now_ = tasks_.top().first;
167 now_ = latest;
172 now_ = tasks_.top().first;
  /external/chromium_org/net/base/
backoff_entry_unittest.cc 20 now_(TimeTicks()) {
29 return now_;
33 now_ = now;
37 TimeTicks now_; member in class:__anon8856::TestBackoffEntry
  /external/chromium_org/cc/resources/
resource_update_controller_unittest.cc 343 void SetNow(base::TimeTicks time) { now_ = time; }
344 base::TimeTicks Now() const { return now_; }
351 return now_ + total_updates * update_textures_time_;
371 base::TimeTicks now_; member in class:cc::__anon3910::FakeResourceUpdateController
  /external/chromium_org/content/browser/renderer_host/p2p/
socket_host_udp_unittest.cc 31 FakeTiming() : now_(0.0) {}
32 virtual double TimerNow() OVERRIDE { return now_; }
33 void set_now(double now) { now_ = now; }
36 double now_; member in class:__anon7871::FakeTiming
  /external/chromium_org/chrome/browser/chromeos/system/
automatic_reboot_manager_unittest.cc 96 base::TimeTicks now_; member in class:chromeos::system::__anon4489::MockTimeSingleThreadTaskRunner
231 tasks_.push(std::pair<base::TimeTicks, base::Closure>(now_ + delay, task));
259 return now_;
264 const base::TimeTicks latest = now_ + delta;
269 uptime_ += tasks_.top().first - now_;
271 now_ = tasks_.top().first;
277 uptime_ += latest - now_;
279 now_ = latest;
287 uptime_ += tasks_.top().first - now_;
289 now_ = tasks_.top().first
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
rtpdataengine_unittest.cc 42 FakeTiming() : now_(0.0) {}
45 return now_;
49 now_ = now;
53 double now_; member in class:FakeTiming
  /external/chromium_org/chrome/browser/net/
chrome_network_data_saving_metrics_unittest.cc 104 base::Time::FromString(kLastUpdateTime, &now_);
116 return now_ + now_delta_;
236 base::Time now_; member in class:__anon5266::ChromeNetworkDailyDataSavingMetricsTest

Completed in 2851 milliseconds

1 2