testing_clock_ 98 chrome/browser/chromeos/power/peripheral_battery_observer.cc : testing_clock_(NULL), testing_clock_ 152 chrome/browser/chromeos/power/peripheral_battery_observer.cc battery.last_notification_timestamp = testing_clock_ ? testing_clock_ 153 chrome/browser/chromeos/power/peripheral_battery_observer.cc testing_clock_->NowTicks() : base::TimeTicks::Now(); testing_clock_ 163 chrome/browser/chromeos/power/peripheral_battery_observer.cc battery->last_notification_timestamp = testing_clock_ ? testing_clock_ 164 chrome/browser/chromeos/power/peripheral_battery_observer.cc testing_clock_->NowTicks() : base::TimeTicks::Now(); testing_clock_ 204 chrome/browser/chromeos/power/peripheral_battery_observer.cc base::TimeTicks now = testing_clock_ ? testing_clock_->NowTicks() : testing_clock_ 33 chrome/browser/chromeos/power/peripheral_battery_observer.h testing_clock_ = clock; testing_clock_ 90 chrome/browser/chromeos/power/peripheral_battery_observer.h base::SimpleTestTickClock* testing_clock_; testing_clock_ 39 chrome/browser/extensions/activity_log/activity_log_policy.cc testing_clock_.reset(clock.release()); testing_clock_ 43 chrome/browser/extensions/activity_log/activity_log_policy.cc if (testing_clock_) testing_clock_ 44 chrome/browser/extensions/activity_log/activity_log_policy.cc return testing_clock_->Now(); testing_clock_ 144 chrome/browser/extensions/activity_log/activity_log_policy.h scoped_ptr<base::Clock> testing_clock_; testing_clock_ 69 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 70 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance( testing_clock_ 72 media/cast/audio_receiver/audio_receiver_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 75 media/cast/audio_receiver/audio_receiver_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 108 media/cast/audio_receiver/audio_receiver_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 136 media/cast/audio_receiver/audio_receiver_unittest.cc fake_audio_client_.SetNextExpectedResult(0, testing_clock_->NowTicks()); testing_clock_ 167 media/cast/audio_receiver/audio_receiver_unittest.cc fake_audio_client_.SetNextExpectedResult(0, testing_clock_->NowTicks()); testing_clock_ 176 media/cast/audio_receiver/audio_receiver_unittest.cc ConvertTimeTicksToNtp(testing_clock_->NowTicks(), &ntp_high, &ntp_low); testing_clock_ 180 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); testing_clock_ 198 media/cast/audio_receiver/audio_receiver_unittest.cc 2, testing_clock_->NowTicks() + base::TimeDelta::FromMilliseconds(100)); testing_clock_ 212 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(100)); testing_clock_ 221 media/cast/audio_receiver/audio_receiver_unittest.cc fake_audio_client_.SetNextExpectedResult(3, testing_clock_->NowTicks()); testing_clock_ 228 media/cast/audio_receiver/audio_receiver_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(100)); testing_clock_ 89 media/cast/audio_sender/audio_encoder_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 90 media/cast/audio_sender/audio_encoder_unittest.cc testing_clock_->Advance( testing_clock_ 95 media/cast/audio_sender/audio_encoder_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 97 media/cast/audio_sender/audio_encoder_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 111 media/cast/audio_sender/audio_encoder_unittest.cc receiver_->SetRecordedTimeLowerBound(testing_clock_->NowTicks()); testing_clock_ 115 media/cast/audio_sender/audio_encoder_unittest.cc receiver_->SetRecordedTimeUpperBound(testing_clock_->NowTicks() + testing_clock_ 119 media/cast/audio_sender/audio_encoder_unittest.cc testing_clock_->NowTicks()); testing_clock_ 122 media/cast/audio_sender/audio_encoder_unittest.cc testing_clock_->Advance(duration); testing_clock_ 154 media/cast/audio_sender/audio_encoder_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 55 media/cast/audio_sender/audio_sender_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 56 media/cast/audio_sender/audio_sender_unittest.cc testing_clock_->Advance( testing_clock_ 58 media/cast/audio_sender/audio_sender_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 60 media/cast/audio_sender/audio_sender_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 78 media/cast/audio_sender/audio_sender_unittest.cc testing_clock_, testing_clock_ 97 media/cast/audio_sender/audio_sender_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 137 media/cast/audio_sender/audio_sender_unittest.cc testing_clock_->Advance(max_rtcp_timeout); testing_clock_ 25 media/cast/congestion_control/congestion_control_unittest.cc : congestion_control_(&testing_clock_, testing_clock_ 30 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance( testing_clock_ 46 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(ack_rate); testing_clock_ 54 media/cast/congestion_control/congestion_control_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 71 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(ack_rate); testing_clock_ 76 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(ack_rate); testing_clock_ 92 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(ack_rate); testing_clock_ 98 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(ack_rate); testing_clock_ 112 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(ack_rate); testing_clock_ 124 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 127 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 133 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 135 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 140 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 142 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 148 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(300)); testing_clock_ 155 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); testing_clock_ 158 media/cast/congestion_control/congestion_control_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); testing_clock_ 85 media/cast/framer/cast_message_builder_unittest.cc : cast_msg_builder_(new CastMessageBuilder(&testing_clock_, testing_clock_ 93 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 124 media/cast/framer/cast_message_builder_unittest.cc cast_msg_builder_.reset(new CastMessageBuilder(&testing_clock_, testing_clock_ 136 media/cast/framer/cast_message_builder_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 154 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 166 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 169 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 182 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 198 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 206 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 223 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 230 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 238 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 245 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 251 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 258 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 272 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 281 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 290 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 307 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 321 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 325 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 334 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 346 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 350 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 359 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 367 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 385 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 401 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 411 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 426 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 435 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 444 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 447 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 458 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 473 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 481 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 493 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 505 media/cast/framer/cast_message_builder_unittest.cc testing_clock_.Advance( testing_clock_ 17 media/cast/framer/framer_unittest.cc framer_(&testing_clock_, &mock_rtp_payload_feedback_, 0, true, 0) { testing_clock_ 37 media/cast/framer/framer_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 34 media/cast/logging/encoding_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 35 media/cast/logging/encoding_event_subscriber_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 37 media/cast/logging/encoding_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 63 media/cast/logging/encoding_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 76 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 100 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 123 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 154 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 186 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 216 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 248 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); testing_clock_ 253 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); testing_clock_ 254 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); testing_clock_ 259 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); testing_clock_ 260 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now3(testing_clock_->NowTicks()); testing_clock_ 301 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 336 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); testing_clock_ 348 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); testing_clock_ 349 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); testing_clock_ 385 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); testing_clock_ 398 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); testing_clock_ 399 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); testing_clock_ 440 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now1(testing_clock_->NowTicks()); testing_clock_ 454 media/cast/logging/encoding_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(20)); testing_clock_ 455 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now2(testing_clock_->NowTicks()); testing_clock_ 506 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 541 media/cast/logging/encoding_event_subscriber_unittest.cc base::TimeTicks now(testing_clock_->NowTicks()); testing_clock_ 31 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance( testing_clock_ 41 media/cast/logging/logging_impl_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 48 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); testing_clock_ 49 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 54 media/cast/logging/logging_impl_unittest.cc now = testing_clock_.NowTicks(); testing_clock_ 57 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance( testing_clock_ 76 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); testing_clock_ 77 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 85 media/cast/logging/logging_impl_unittest.cc logging_.InsertFrameEventWithSize(testing_clock_.NowTicks(), testing_clock_ 88 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); testing_clock_ 91 media/cast/logging/logging_impl_unittest.cc time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 105 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); testing_clock_ 106 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 113 media/cast/logging/logging_impl_unittest.cc testing_clock_.NowTicks(), kAudioFrameCaptured, rtp_timestamp, frame_id, testing_clock_ 115 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); testing_clock_ 118 media/cast/logging/logging_impl_unittest.cc time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 128 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); testing_clock_ 129 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 134 media/cast/logging/logging_impl_unittest.cc logging_.InsertFrameEvent(testing_clock_.NowTicks(), kAudioFrameCaptured, testing_clock_ 138 media/cast/logging/logging_impl_unittest.cc logging_.InsertFrameEventWithSize(testing_clock_.NowTicks(), testing_clock_ 142 media/cast/logging/logging_impl_unittest.cc logging_.InsertFrameEvent(testing_clock_.NowTicks(), kVideoFrameDecoded, testing_clock_ 146 media/cast/logging/logging_impl_unittest.cc testing_clock_.NowTicks(), kVideoRenderDelay, rtp_timestamp, frame_id, testing_clock_ 151 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); testing_clock_ 154 media/cast/logging/logging_impl_unittest.cc time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 168 media/cast/logging/logging_impl_unittest.cc base::TimeTicks start_time = testing_clock_.NowTicks(); testing_clock_ 170 media/cast/logging/logging_impl_unittest.cc base::TimeDelta time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 179 media/cast/logging/logging_impl_unittest.cc latest_time = testing_clock_.NowTicks(); testing_clock_ 189 media/cast/logging/logging_impl_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kFrameIntervalMs)); testing_clock_ 192 media/cast/logging/logging_impl_unittest.cc time_interval = testing_clock_.NowTicks() - start_time; testing_clock_ 221 media/cast/logging/logging_impl_unittest.cc logging_.InsertGenericEvent(testing_clock_.NowTicks(), kRttMs, value); testing_clock_ 225 media/cast/logging/logging_impl_unittest.cc logging_.InsertGenericEvent(testing_clock_.NowTicks(), kPacketLoss, testing_clock_ 233 media/cast/logging/logging_impl_unittest.cc logging_.InsertGenericEvent(testing_clock_.NowTicks(), kJitterMs, value); testing_clock_ 276 media/cast/logging/logging_impl_unittest.cc logging_.InsertFrameEvent(testing_clock_.NowTicks(), kAudioFrameCaptured, testing_clock_ 21 media/cast/logging/simple_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 22 media/cast/logging/simple_event_subscriber_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 24 media/cast/logging/simple_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 35 media/cast/logging/simple_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 44 media/cast/logging/simple_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioFrameEncoded, /*rtp_timestamp*/ 100u, testing_clock_ 47 media/cast/logging/simple_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioPlayoutDelay, /*rtp_timestamp*/ 100u, testing_clock_ 50 media/cast/logging/simple_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioFrameDecoded, /*rtp_timestamp*/ 200u, testing_clock_ 55 media/cast/logging/simple_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioPacketReceived, /*rtp_timestamp*/ 200u, testing_clock_ 58 media/cast/logging/simple_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameDecoded, /*rtp_timestamp*/ 200u, testing_clock_ 61 media/cast/logging/simple_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameDecoded, /*rtp_timestamp*/ 300u, testing_clock_ 65 media/cast/logging/simple_event_subscriber_unittest.cc cast_environment_->Logging()->InsertGenericEvent(testing_clock_->NowTicks(), testing_clock_ 21 media/cast/logging/stats_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 22 media/cast/logging/stats_event_subscriber_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 24 media/cast/logging/stats_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 40 media/cast/logging/stats_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 55 media/cast/logging/stats_event_subscriber_unittest.cc now = testing_clock_->NowTicks(); testing_clock_ 58 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); testing_clock_ 62 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); testing_clock_ 70 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); testing_clock_ 106 media/cast/logging/stats_event_subscriber_unittest.cc base::TimeTicks first_event_time = testing_clock_->NowTicks(); testing_clock_ 109 media/cast/logging/stats_event_subscriber_unittest.cc now = testing_clock_->NowTicks(); testing_clock_ 117 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(30)); testing_clock_ 140 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->NowTicks(), kRttMs, value); testing_clock_ 161 media/cast/logging/stats_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameReceived, 0, 0); testing_clock_ 28 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 29 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 31 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 55 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoRenderDelay, /*rtp_timestamp*/ 100u, testing_clock_ 58 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameDecoded, /*rtp_timestamp*/ 200u, testing_clock_ 61 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoPacketReceived, testing_clock_ 67 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioPlayoutDelay, /*rtp_timestamp*/ 300u, testing_clock_ 70 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioFrameDecoded, /*rtp_timestamp*/ 400u, testing_clock_ 73 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioPacketReceived, testing_clock_ 79 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameReceived, /*rtp_timestamp*/ 100u, testing_clock_ 82 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kAudioFrameReceived, /*rtp_timestamp*/ 100u, testing_clock_ 84 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc cast_environment_->Logging()->InsertGenericEvent(testing_clock_->NowTicks(), testing_clock_ 88 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 117 media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameDecoded, testing_clock_ 159 media/cast/rtcp/rtcp_receiver_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 160 media/cast/rtcp/rtcp_receiver_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 162 media/cast/rtcp/rtcp_receiver_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 207 media/cast/rtcp/rtcp_receiver_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 76 media/cast/rtcp/rtcp_sender_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 77 media/cast/rtcp/rtcp_sender_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 79 media/cast/rtcp/rtcp_sender_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 88 media/cast/rtcp/rtcp_sender_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 51 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance( testing_clock_ 54 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(kAddedDelay)); testing_clock_ 67 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock_; testing_clock_ 88 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance( testing_clock_ 91 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(kAddedDelay)); testing_clock_ 110 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock_; testing_clock_ 146 media/cast/rtcp/rtcp_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 147 media/cast/rtcp/rtcp_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 149 media/cast/rtcp/rtcp_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 153 media/cast/rtcp/rtcp_unittest.cc sender_to_receiver_(testing_clock_), testing_clock_ 154 media/cast/rtcp/rtcp_unittest.cc receiver_to_sender_(cast_environment_, testing_clock_), testing_clock_ 156 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance( testing_clock_ 161 media/cast/rtcp/rtcp_unittest.cc testing_clock_, testing_clock_ 182 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(1)); testing_clock_ 187 media/cast/rtcp/rtcp_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 218 media/cast/rtcp/rtcp_unittest.cc testing_clock_->Advance(delta); testing_clock_ 219 media/cast/rtcp/rtcp_unittest.cc EXPECT_EQ(testing_clock_->NowTicks(), rtcp.TimeToSendNextRtcpReport()); testing_clock_ 27 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 28 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 30 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 42 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 49 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), testing_clock_ 51 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), testing_clock_ 54 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameSentToEncoder, 100u, 1u); testing_clock_ 55 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), testing_clock_ 57 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), testing_clock_ 60 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameSentToEncoder, 300u, 3u); testing_clock_ 81 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc cast_environment_->Logging()->InsertFrameEvent(testing_clock_->NowTicks(), testing_clock_ 96 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameCaptured, i * 10, i); testing_clock_ 108 media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc testing_clock_->NowTicks(), kVideoFrameCaptured, i * 10, i); testing_clock_ 23 media/cast/rtp_receiver/receiver_stats_unittest.cc : stats_(&testing_clock_), testing_clock_ 29 media/cast/rtp_receiver/receiver_stats_unittest.cc testing_clock_.Advance( testing_clock_ 31 media/cast/rtp_receiver/receiver_stats_unittest.cc start_time_ = testing_clock_.NowTicks(); testing_clock_ 55 media/cast/rtp_receiver/receiver_stats_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 81 media/cast/rtp_receiver/receiver_stats_unittest.cc testing_clock_.Advance(delta_increments_); testing_clock_ 102 media/cast/rtp_receiver/receiver_stats_unittest.cc testing_clock_.Advance(delta_increments_); testing_clock_ 126 media/cast/rtp_receiver/receiver_stats_unittest.cc testing_clock_.Advance(delta_increments_); testing_clock_ 145 media/cast/rtp_receiver/receiver_stats_unittest.cc testing_clock_.Advance(delta_increments_); testing_clock_ 167 media/cast/rtp_receiver/receiver_stats_unittest.cc testing_clock_.Advance(delta_increments_ + additional_delta); testing_clock_ 74 media/cast/test/encode_decode_test.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 75 media/cast/test/encode_decode_test.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 79 media/cast/test/encode_decode_test.cc scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 84 media/cast/test/encode_decode_test.cc testing_clock_->Advance( testing_clock_ 116 media/cast/test/encode_decode_test.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 38 media/cast/transport/cast_transport_sender_impl_unittest.cc testing_clock_.Advance( testing_clock_ 40 media/cast/transport/cast_transport_sender_impl_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(&testing_clock_); testing_clock_ 48 media/cast/transport/cast_transport_sender_impl_unittest.cc &testing_clock_, testing_clock_ 61 media/cast/transport/cast_transport_sender_impl_unittest.cc &testing_clock_, testing_clock_ 82 media/cast/transport/cast_transport_sender_impl_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 58 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance( testing_clock_ 60 media/cast/transport/pacing/paced_sender_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(&testing_clock_); testing_clock_ 62 media/cast/transport/pacing/paced_sender_unittest.cc &testing_clock_, &logging_, &mock_transport_, task_runner_)); testing_clock_ 96 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(10)); testing_clock_ 108 media/cast/transport/pacing/paced_sender_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 138 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 143 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 148 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 194 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 202 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 208 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 218 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 223 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout); testing_clock_ 283 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 286 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(6)); testing_clock_ 290 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(4)); testing_clock_ 294 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 298 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 301 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(3)); testing_clock_ 308 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(7)); testing_clock_ 315 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 320 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 324 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 327 media/cast/transport/pacing/paced_sender_unittest.cc testing_clock_.Advance(timeout_10ms); testing_clock_ 62 media/cast/transport/rtcp/rtcp_builder_unittest.cc : task_runner_(new test::FakeSingleThreadTaskRunner(&testing_clock_)), testing_clock_ 63 media/cast/transport/rtcp/rtcp_builder_unittest.cc cast_environment_(new CastEnvironment(&testing_clock_, task_runner_, testing_clock_ 69 media/cast/transport/rtcp/rtcp_builder_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 27 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc PacketStorageTest() : packet_storage_(&testing_clock_, kMaxDeltaStoredMs) { testing_clock_ 28 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc testing_clock_.Advance( testing_clock_ 32 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 45 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc testing_clock_.Advance(kDeltaBetweenFrames); testing_clock_ 98 media/cast/transport/rtp_sender/packet_storage/packet_storage_unittest.cc testing_clock_.Advance(kDeltaBetweenFrames); testing_clock_ 103 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc : task_runner_(new test::FakeSingleThreadTaskRunner(&testing_clock_)), testing_clock_ 105 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc packet_storage_(&testing_clock_, kMaxPacketStorageTimeMs) { testing_clock_ 113 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc &testing_clock_, &logging_, transport_.get(), task_runner_)); testing_clock_ 116 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc pacer_.get(), &packet_storage_, config_, &testing_clock_, &logging_)); testing_clock_ 122 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc GetVideoRtpTimestamp(testing_clock_.NowTicks()); testing_clock_ 132 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); testing_clock_ 137 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc base::SimpleTestTickClock testing_clock_; testing_clock_ 183 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc testing_clock_.Advance(base::TimeDelta::FromMilliseconds(kTimestampMs)); testing_clock_ 185 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer_unittest.cc testing_clock_.NowTicks()); testing_clock_ 49 media/cast/video_receiver/video_decoder_unittest.cc : testing_clock_(new base::SimpleTestTickClock()), testing_clock_ 50 media/cast/video_receiver/video_decoder_unittest.cc task_runner_(new test::FakeSingleThreadTaskRunner(testing_clock_)), testing_clock_ 52 media/cast/video_receiver/video_decoder_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_), testing_clock_ 61 media/cast/video_receiver/video_decoder_unittest.cc testing_clock_->Advance( testing_clock_ 69 media/cast/video_receiver/video_decoder_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 67 media/cast/video_receiver/video_receiver_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 68 media/cast/video_receiver/video_receiver_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 70 media/cast/video_receiver/video_receiver_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 76 media/cast/video_receiver/video_receiver_unittest.cc testing_clock_->Advance( testing_clock_ 99 media/cast/video_receiver/video_receiver_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 106 media/cast/video_sender/external_video_encoder_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 107 media/cast/video_sender/external_video_encoder_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 109 media/cast/video_sender/external_video_encoder_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 127 media/cast/video_sender/external_video_encoder_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 91 media/cast/video_sender/video_encoder_impl_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 92 media/cast/video_sender/video_encoder_impl_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 94 media/cast/video_sender/video_encoder_impl_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 110 media/cast/video_sender/video_encoder_impl_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment. testing_clock_ 102 media/cast/video_sender/video_sender_unittest.cc testing_clock_ = new base::SimpleTestTickClock(); testing_clock_ 103 media/cast/video_sender/video_sender_unittest.cc testing_clock_->Advance( testing_clock_ 105 media/cast/video_sender/video_sender_unittest.cc task_runner_ = new test::FakeSingleThreadTaskRunner(testing_clock_); testing_clock_ 107 media/cast/video_sender/video_sender_unittest.cc new CastEnvironment(scoped_ptr<base::TickClock>(testing_clock_).Pass(), testing_clock_ 115 media/cast/video_sender/video_sender_unittest.cc testing_clock_, testing_clock_ 191 media/cast/video_sender/video_sender_unittest.cc testing_clock_->Advance(base::TimeDelta::FromMilliseconds(1)); testing_clock_ 200 media/cast/video_sender/video_sender_unittest.cc base::SimpleTestTickClock* testing_clock_; // Owned by CastEnvironment.