Searched refs:MockClock (Results 1 – 25 of 27) sorted by relevance
12
9 MockClock::MockClock() : now_(QuicTime::Zero()) { in MockClock() function in net::MockClock12 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()
16 class MockClock : public QuicClock {18 MockClock();19 virtual ~MockClock();34 DISALLOW_COPY_AND_ASSIGN(MockClock);
18 class MockClock; variable26 explicit TestTaskRunner(MockClock* clock);44 MockClock* const clock_;
15 TestTaskRunner::TestTaskRunner(MockClock* clock) in TestTaskRunner()
261 MockClock clock_;
67 class MockClock : public base::TickClock { class69 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::MockClock142 MockClock::~MockClock() { in ~MockClock()145 base::TimeTicks MockClock::NowTicks() { in NowTicks()176 scoped_ptr<base::TickClock>(new MockClock(runner_))); in LogoutConfirmationControllerTest()
37 MockClock* clock_,99 MockClock* clock_;
43 MockClock clock_;
25 MockClock clock_;
19 MockClock clock_;
49 MockClock clock_;
102 MockClock clock_;
30 MockClock clock_;
27 MockClock* clock, in SendAlgorithmSimulator()
119 MockClock clock_;
221 MockClock clock; in TEST()231 MockClock clock; in TEST()247 MockClock clock; in TEST()347 MockClock clock; in TEST()441 MockClock clock_;
295 MockClock clock_;576 MockClock clock; in TEST()594 MockClock clock; in TEST()615 MockClock clock; in TEST()
75 MockClock clock_;122 TEST_F(QuicTimeTest, MockClock) { in TEST_F() argument
134 reinterpret_cast<MockClock*>(const_cast<QuicClock*>(connection_->clock())) in TEST_F()
106 MockClock clock_;
41 MockClock clock_;
109 clock_(new MockClock), in QuicNetworkTransactionTest()309 MockClock* clock_; // Owned by QuicStreamFactory after CreateSession.
91 clock_(new MockClock()), in QuicStreamFactoryTest()184 MockClock* clock_; // Owned by factory_.
290 MockClock clock_;