/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 | 32 QuicTime now_; member in class:net::MockClock
|
/external/chromium_org/cc/test/ |
test_now_source.cc | 26 : initial_(base::TimeTicks::FromInternalValue(10000)), now_() { 31 : initial_(initial), now_() { 36 : initial_(base::TimeTicks::FromInternalValue(initial)), now_() { 49 now_, 52 now_ = initial_; 56 return now_; 64 now_, 67 DCHECK(time >= now_); // Time should always go forward. 68 now_ = time; 76 now_, [all...] |
scheduler_test_common.h | 41 void SetNow(base::TimeTicks time) { now_ = time; } 50 base::TimeTicks now_; member in class:cc::FakeDelayBasedTimeSource
|
scheduler_test_common.cc | 17 base::TimeTicks FakeDelayBasedTimeSource::Now() const { return now_; }
|
test_now_source.h | 46 base::TimeTicks now_; member in class:cc::TestNowSource
|
/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/quic/ |
quic_unacked_packet_map_test.cc | 23 : now_(QuicTime::Zero().Add(QuicTime::Delta::FromMilliseconds(1000))) { 99 QuicTime now_; member in class:net::test::__anon14122::QuicUnackedPacketMapTest 105 unacked_packets_.SetSent(1, now_, kDefaultAckLength, false); 124 unacked_packets_.SetSent(i, now_, kDefaultAckLength, false); 134 unacked_packets_.SetSent(1, now_, kDefaultLength, true); 161 unacked_packets_.SetSent(1, now_, kDefaultLength, true); 163 unacked_packets_.SetSent(2, now_, kDefaultLength, true); 196 unacked_packets_.SetSent(1, now_, kDefaultLength, true); 198 unacked_packets_.SetSent(2, now_, kDefaultLength, true); 212 unacked_packets_.SetSent(3, now_, kDefaultLength, true) [all...] |
/external/chromium_org/ui/wm/core/ |
user_activity_detector_unittest.cc | 51 now_ = base::TimeTicks::Now(); 52 detector_->set_now_for_test(now_); 63 now_ += delta; 64 detector_->set_now_for_test(now_); 70 base::TimeTicks now_; member in class:wm::UserActivityDetectorTest 82 EXPECT_EQ(now_.ToInternalValue(), 94 EXPECT_EQ(now_.ToInternalValue(), 99 base::TimeTicks time_before_ignore = now_; 125 EXPECT_EQ(now_.ToInternalValue(), 135 EXPECT_EQ(now_.ToInternalValue() [all...] |
/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();
|
/external/chromium_org/remoting/host/ |
resizing_host_observer_unittest.cc | 96 now_(base::Time::Now()) { 102 return now_; 133 base::Time result = now_; 134 now_ += base::TimeDelta::FromSeconds(1); 140 base::Time now_; member in class:remoting::ResizingHostObserverTest 288 now_ += base::TimeDelta::FromMilliseconds(900); 291 now_ += base::TimeDelta::FromMilliseconds(99); 294 now_ += base::TimeDelta::FromMilliseconds(1);
|
/external/chromium_org/ash/system/chromeos/session/ |
logout_confirmation_controller_unittest.cc | 57 base::TimeTicks now_; member in class:ash::__anon6606::MockTimeSingleThreadTaskRunner 93 tasks_.push(std::make_pair(now_ + delay, task)); 106 return now_; 110 const base::TimeTicks latest = now_ + delta; 112 now_ = tasks_.top().first; 117 now_ = latest; 122 now_ = tasks_.top().first;
|
/external/chromium_org/base/debug/ |
trace_event_synthetic_delay_unittest.cc | 31 return now_; 42 void AdvanceTime(base::TimeDelta delta) { now_ += delta; } 63 base::TimeTicks now_; member in class:base::debug::TraceEventSyntheticDelayTest
|
/external/chromium_org/net/url_request/ |
url_request_throttler_unittest.cc | 179 TimeTicks now_; member in class:net::URLRequestThrottlerEntryTest 190 now_ = TimeTicks::Now(); 192 entry_->ResetToBlank(now_); 273 TimeAndBool(now_, false, __LINE__), 274 TimeAndBool(now_ - kFiveMs, false, __LINE__), 275 TimeAndBool(now_ + kFiveMs, false, __LINE__), 276 TimeAndBool(now_ - (lifetime - kFiveMs), false, __LINE__), 277 TimeAndBool(now_ - lifetime, true, __LINE__), 278 TimeAndBool(now_ - (lifetime + kFiveMs), true, __LINE__)}; 293 TimeDelta delay = entry_->GetExponentialBackoffReleaseTime() - now_; [all...] |
/external/chromium_org/components/domain_reliability/ |
test_util.cc | 108 : now_(base::Time::Now()), 117 base::Time MockTime::Now() { return now_; } 151 now_ += delta;
|
/external/chromium_org/components/network_time/ |
network_time_tracker_unittest.cc | 52 now_ = base::Time::NowFromSystemTime(); 59 return now_ + (ticks_now_ - base::TimeTicks()); 106 base::Time now_; member in class:network_time::NetworkTimeTrackerTest
|
/external/chromium_org/ash/wm/ |
video_detector_unittest.cc | 75 now_ = base::TimeTicks::Now(); 76 detector_->set_now_for_test(now_); 87 now_ += delta; 88 detector_->set_now_for_test(now_); 95 base::TimeTicks now_; member in class:ash::test::VideoDetectorTest
|
/external/chromium_org/cc/base/ |
delayed_unique_notifier_unittest.cc | 26 virtual base::TimeTicks Now() const OVERRIDE { return now_; } 28 void SetNow(base::TimeTicks now) { now_ = now; } 31 base::TimeTicks now_; member in class:cc::__anon7268::TestNotifier
|
/external/chromium_org/cc/resources/ |
resource_update_controller_unittest.cc | 350 void SetNow(base::TimeTicks time) { now_ = time; } 351 base::TimeTicks Now() const { return now_; } 358 return now_ + total_updates * update_textures_time_; 378 base::TimeTicks now_; member in class:cc::__anon7400::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:__anon11967::FakeTiming
|
/external/chromium_org/net/base/ |
backoff_entry_unittest.cc | 20 now_(TimeTicks()) { 29 return now_; 33 now_ = now; 37 TimeTicks now_; member in class:__anon13616::TestBackoffEntry
|
/external/chromium_org/chrome/browser/chromeos/ |
session_length_limiter_unittest.cc | 73 base::TimeTicks now_; member in class:chromeos::__anon8086::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/media/filters/ |
pipeline_integration_test_base.h | 40 DummyTickClock() : now_() {} 44 base::TimeTicks now_; member in class:media::DummyTickClock
|
/external/chromium_org/base/memory/ |
discardable_memory_manager_unittest.cc | 57 void SetNow(TimeTicks now) { now_ = now; } 61 virtual TimeTicks Now() const OVERRIDE { return now_; } 63 TimeTicks now_; member in class:base::__anon6959::TestDiscardableMemoryManagerImpl
|