Home
last modified time | relevance | path

Searched refs:MockClock (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/net/quic/test_tools/
Dmock_clock.cc9 MockClock::MockClock() : now_(QuicTime::Zero()) { in MockClock() function in net::MockClock
12 MockClock::~MockClock() { in ~MockClock()
15 void MockClock::AdvanceTime(QuicTime::Delta delta) { in AdvanceTime()
19 QuicTime MockClock::Now() const { in Now()
23 QuicTime MockClock::ApproximateNow() const { in ApproximateNow()
27 QuicWallTime MockClock::WallNow() const { in WallNow()
32 base::TimeTicks MockClock::NowInTicks() const { in NowInTicks()
Dmock_clock.h16 class MockClock : public QuicClock {
18 MockClock();
19 virtual ~MockClock();
34 DISALLOW_COPY_AND_ASSIGN(MockClock);
Dtest_task_runner.h18 class MockClock; variable
26 explicit TestTaskRunner(MockClock* clock);
44 MockClock* const clock_;
Dtest_task_runner.cc15 TestTaskRunner::TestTaskRunner(MockClock* clock) in TestTaskRunner()
Dquic_test_utils.h261 MockClock clock_;
/external/chromium_org/ash/system/chromeos/session/
Dlogout_confirmation_controller_unittest.cc67 class MockClock : public base::TickClock { class
69 explicit MockClock(scoped_refptr<MockTimeSingleThreadTaskRunner> task_runner);
70 virtual ~MockClock();
78 DISALLOW_COPY_AND_ASSIGN(MockClock);
138 MockClock::MockClock(scoped_refptr<MockTimeSingleThreadTaskRunner> task_runner) in MockClock() function in ash::__anon9f109c880111::MockClock
142 MockClock::~MockClock() { in ~MockClock()
145 base::TimeTicks MockClock::NowTicks() { in NowTicks()
176 scoped_ptr<base::TickClock>(new MockClock(runner_))); in LogoutConfirmationControllerTest()
/external/chromium_org/net/quic/congestion_control/
Dsend_algorithm_simulator.h37 MockClock* clock_,
99 MockClock* clock_;
Dfix_rate_test.cc43 MockClock clock_;
Dhybrid_slow_start_test.cc25 MockClock clock_;
Dleaky_bucket_test.cc19 MockClock clock_;
Dtime_loss_algorithm_test.cc49 MockClock clock_;
Dpacing_sender_test.cc102 MockClock clock_;
Dtcp_loss_algorithm_test.cc49 MockClock clock_;
Dcubic_test.cc30 MockClock clock_;
Dsend_algorithm_simulator.cc27 MockClock* clock, in SendAlgorithmSimulator()
Dtcp_cubic_sender_test.cc119 MockClock clock_;
/external/chromium_org/net/quic/crypto/
Dquic_crypto_server_config_test.cc221 MockClock clock; in TEST()
231 MockClock clock; in TEST()
247 MockClock clock; in TEST()
347 MockClock clock; in TEST()
441 MockClock clock_;
Dcrypto_server_test.cc295 MockClock clock_;
576 MockClock clock; in TEST()
594 MockClock clock; in TEST()
615 MockClock clock; in TEST()
/external/chromium_org/net/quic/
Dquic_time_test.cc75 MockClock clock_;
122 TEST_F(QuicTimeTest, MockClock) { in TEST_F() argument
Dquic_crypto_client_stream_test.cc134 reinterpret_cast<MockClock*>(const_cast<QuicClock*>(connection_->clock())) in TEST_F()
Dquic_client_session_test.cc106 MockClock clock_;
Dquic_connection_helper_test.cc41 MockClock clock_;
Dquic_network_transaction_unittest.cc109 clock_(new MockClock), in QuicNetworkTransactionTest()
309 MockClock* clock_; // Owned by QuicStreamFactory after CreateSession.
Dquic_stream_factory_test.cc91 clock_(new MockClock()), in QuicStreamFactoryTest()
184 MockClock* clock_; // Owned by factory_.
Dquic_http_stream_test.cc290 MockClock clock_;

12