HomeSort by relevance Sort by last modified time
    Searched defs:clock_ (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/chromium_org/media/cast/logging/
logging_raw.h 72 base::TickClock* const clock_; // Not owned by this class. member in class:media::cast::LoggingRaw::base
logging_stats.h 66 base::TickClock* const clock_; // Not owned by this class. member in class:media::cast::LoggingStats::base
  /external/chromium_org/media/cast/test/
fake_task_runner.h 38 base::SimpleTestTickClock* const clock_; member in class:media::cast::test::FakeTaskRunner::base
  /external/chromium_org/net/quic/congestion_control/
inter_arrival_state_machine_test.cc 21 state_machine_.reset(new InterArrivalStateMachine(&clock_));
24 MockClock clock_; member in class:net::test::InterArrivalStateMachineTest
33 clock_.AdvanceTime(rtt);
40 clock_.AdvanceTime(rtt);
47 clock_.AdvanceTime(rtt);
53 clock_.AdvanceTime(rtt);
65 clock_.AdvanceTime(rtt);
72 clock_.AdvanceTime(rtt);
78 clock_.AdvanceTime(rtt);
85 clock_.AdvanceTime(rtt)
    [all...]
leaky_bucket_test.cc 19 MockClock clock_; member in class:net::test::LeakyBucketTest
25 leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate);
26 leaky_bucket_->Add(clock_.Now(), 2000);
27 EXPECT_EQ(2000u, leaky_bucket_->BytesPending(clock_.Now()));
29 leaky_bucket_->TimeRemaining(clock_.Now()));
30 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5));
31 EXPECT_EQ(1000u, leaky_bucket_->BytesPending(clock_.Now()));
33 leaky_bucket_->TimeRemaining(clock_.Now()));
34 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5));
35 EXPECT_EQ(0u, leaky_bucket_->BytesPending(clock_.Now()))
    [all...]
paced_sender_test.cc 28 MockClock clock_; member in class:net::test::PacedSenderTest
33 paced_sender_->UpdateBandwidthEstimate(clock_.Now(),
35 EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero());
36 paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize);
37 EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero());
38 paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize);
41 clock_.Now(), zero_time_).ToMicroseconds());
42 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(24));
43 EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero());
47 paced_sender_->UpdateBandwidthEstimate(clock_.Now()
    [all...]
cubic.h 52 const QuicClock* clock_; member in class:net::Cubic
hybrid_slow_start.h 50 const QuicClock* clock_; member in class:net::HybridSlowStart
hybrid_slow_start_test.cc 21 slowStart_.reset(new HybridSlowStart(&clock_));
25 MockClock clock_; member in class:net::test::HybridSlowStartTest
63 clock_.AdvanceTime(one_ms_);
72 clock_.AdvanceTime(one_ms_);
76 clock_.AdvanceTime(one_ms_);
inter_arrival_bitrate_ramp_up.h 45 const QuicClock* clock_; member in class:net::InterArrivalBitrateRampUp
inter_arrival_bitrate_ramp_up_test.cc 19 bitrate_ramp_up_(&clock_) {
22 clock_.AdvanceTime(one_ms_);
26 MockClock clock_; member in class:net::test::InterArrivalBitrateRampUpTest
44 clock_.AdvanceTime(hundred_ms_);
49 clock_.AdvanceTime(hundred_ms_);
55 clock_.AdvanceTime(hundred_ms_);
60 clock_.AdvanceTime(hundred_ms_);
66 clock_.AdvanceTime(hundred_ms_);
71 clock_.AdvanceTime(hundred_ms_);
77 clock_.AdvanceTime(hundred_ms_)
    [all...]
inter_arrival_receiver_test.cc 16 MockClock clock_; member in class:net::test::InterArrivalReceiverTest
20 QuicTime start = clock_.ApproximateNow();
22 clock_.AdvanceTime(received_delta);
23 QuicTime receive_timestamp = clock_.ApproximateNow();
29 clock_.AdvanceTime(received_delta);
30 receive_timestamp = clock_.ApproximateNow();
33 clock_.AdvanceTime(received_delta);
34 receive_timestamp = clock_.ApproximateNow();
pacing_sender_test.cc 30 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(9));
38 EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(),
45 pacing_sender_->TimeUntilSend(clock_.Now(), NOT_RETRANSMISSION,
51 OnPacketSent(clock_.Now(), sequence_number_, kMaxPacketSize,
53 pacing_sender_->OnPacketSent(clock_.Now(), sequence_number_++,
61 EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(),
68 pacing_sender_->TimeUntilSend(clock_.Now(), NOT_RETRANSMISSION,
74 OnPacketSent(clock_.Now(), sequence_number_, kMaxPacketSize,
76 pacing_sender_->OnPacketSent(clock_.Now(), sequence_number_++,
84 EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now()
98 MockClock clock_; member in class:net::test::PacingSenderTest
    [all...]
  /external/chromium_org/net/quic/
quic_connection_helper.h 47 const QuicClock* clock_; member in class:net::QuicConnectionHelper
quic_connection_helper.cc 26 clock_(clock),
46 int64 delay_us = deadline().Subtract(clock_->Now()).ToMicroseconds();
73 if (clock_->Now() < deadline()) {
81 const QuicClock* clock_; member in class:net::__anon9291::QuicChromeAlarm
99 clock_(clock),
107 return clock_;
115 return new QuicChromeAlarm(clock_, task_runner_, delegate);
quic_connection_helper_test.cc 35 : runner_(new TestTaskRunner(&clock_)),
36 helper_(runner_.get(), &clock_, &random_generator_) {
41 MockClock clock_; member in class:net::test::__anon9292::QuicConnectionHelperTest
46 EXPECT_EQ(&clock_, helper_.GetClock());
58 alarm->Set(clock_.Now().Add(delta));
66 EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now());
75 alarm->Set(clock_.Now().Add(delta));
84 EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now());
93 alarm->Set(clock_.Now().Add(delta));
96 alarm->Set(clock_.Now().Add(new_delta))
    [all...]
quic_time_test.cc 60 MockClock clock_; member in class:net::test::QuicTimeTest
99 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
101 QuicTime now = clock_.ApproximateNow();
106 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
107 now = clock_.ApproximateNow();
  /external/chromium_org/net/quic/test_tools/
test_task_runner.h 44 MockClock* const clock_; member in class:net::test::TestTaskRunner
  /external/chromium_org/net/tools/quic/
quic_epoll_connection_helper.h 50 const QuicEpollClock clock_; member in class:net::tools::QuicEpollConnectionHelper
  /external/chromium_org/components/policy/core/common/cloud/
rate_limiter.h 50 scoped_ptr<base::TickClock> clock_; member in class:policy::RateLimiter
rate_limiter_unittest.cc 20 clock_(new base::SimpleTestTickClock()),
29 scoped_ptr<base::TickClock>(clock_).Pass()) {}
38 base::SimpleTestTickClock* clock_; member in class:policy::RateLimiterTest
54 clock_->Advance(small_delta_);
60 clock_->Advance(small_delta_);
66 clock_->Advance(duration_);
81 clock_->Advance(delta);
95 clock_->Advance(small_delta_);
109 clock_->Advance(small_delta_);
  /external/chromium_org/media/base/
clock.h 100 base::TickClock* const clock_; member in class:media::Clock::base
  /external/chromium_org/media/cast/congestion_control/
congestion_control.h 35 base::TickClock* const clock_; // Not owned by this class. member in class:media::cast::CongestionControl::base
  /external/chromium_org/media/cast/net/rtp_sender/packet_storage/
packet_storage.h 45 base::TickClock* const clock_; // Not owned by this class. member in class:media::cast::PacketStorage::base
  /external/chromium_org/media/cast/rtp_receiver/
receiver_stats.h 27 base::TickClock* const clock_; // Not owned by this class. member in class:media::cast::ReceiverStats::base

Completed in 985 milliseconds

1 2 3