clock_ 19 ash/system/chromeos/session/logout_confirmation_controller.cc : clock_(new base::DefaultTickClock), clock_ 53 ash/system/chromeos/session/logout_confirmation_controller.cc logout_time_ - clock_->NowTicks(), clock_ 59 ash/system/chromeos/session/logout_confirmation_controller.cc clock_ = clock.Pass(); clock_ 36 ash/system/chromeos/session/logout_confirmation_controller.h base::TickClock* clock() const { return clock_.get(); } clock_ 57 ash/system/chromeos/session/logout_confirmation_controller.h scoped_ptr<base::TickClock> clock_; clock_ 56 base/debug/trace_event_synthetic_delay.cc clock_ = clock; clock_ 74 base/debug/trace_event_synthetic_delay.cc clock_ = clock; clock_ 87 base/debug/trace_event_synthetic_delay.cc base::TimeTicks start_time = clock_->Now(); clock_ 104 base/debug/trace_event_synthetic_delay.cc base::TimeTicks start_time = clock_->Now(); clock_ 144 base/debug/trace_event_synthetic_delay.cc while (clock_->Now() < end_time) { clock_ 133 base/debug/trace_event_synthetic_delay.h TraceEventSyntheticDelayClock* clock_; clock_ 68 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc clock_->Now().ToInternalValue()); clock_ 111 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc const base::Time now = clock_->Now(); clock_ 65 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h base::Clock* clock_; clock_ 52 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc base::SimpleTestClock clock_; clock_ 83 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc limiter_ = new SAMLOfflineSigninLimiter(profile_.get(), &clock_); clock_ 89 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc SAMLOfflineSigninLimiterFactory::SetClockForTesting(&clock_); clock_ 92 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); clock_ 104 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 148 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 192 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 236 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 265 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 294 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 297 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. clock_ 327 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 336 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); clock_ 348 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 357 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time gaia_signin_time = clock_.Now(); clock_ 358 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); clock_ 376 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. clock_ 401 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 410 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); clock_ 422 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 431 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time gaia_signin_time = clock_.Now(); clock_ 432 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromHours(1)); clock_ 471 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 489 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 513 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 534 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 537 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. clock_ 548 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_EQ(clock_.Now(), last_gaia_signin_time); clock_ 559 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Now().ToInternalValue()); clock_ 562 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const base::Time gaia_signin_time = clock_.Now(); clock_ 563 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc clock_.Advance(base::TimeDelta::FromDays(28)); // 4 weeks. clock_ 152 chrome/browser/chromeos/system/automatic_reboot_manager.cc : clock_(clock.Pass()), clock_ 237 chrome/browser/chromeos/system/automatic_reboot_manager.cc update_reboot_needed_time_ = clock_->NowTicks(); clock_ 291 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta offset = clock_->NowTicks() - base::TimeTicks::Now(); clock_ 356 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeTicks now = clock_->NowTicks(); clock_ 140 chrome/browser/chromeos/system/automatic_reboot_manager.h scoped_ptr<base::TickClock> clock_; clock_ 102 chrome/browser/extensions/api/alarms/alarm_manager.cc clock_(new base::DefaultClock()), clock_ 216 chrome/browser/extensions/api/alarms/alarm_manager.cc clock_.reset(clock); clock_ 326 chrome/browser/extensions/api/alarms/alarm_manager.cc std::max(base::TimeDelta::FromSeconds(0), time - clock_->Now()), clock_ 376 chrome/browser/extensions/api/alarms/alarm_manager.cc last_poll_time_ = clock_->Now(); clock_ 218 chrome/browser/extensions/api/alarms/alarm_manager.h scoped_ptr<base::Clock> clock_; clock_ 92 chrome/browser/extensions/api/alarms/alarms_api.cc : clock_(new base::DefaultClock()), owns_clock_(true) {} clock_ 95 chrome/browser/extensions/api/alarms/alarms_api.cc : clock_(clock), owns_clock_(false) {} clock_ 99 chrome/browser/extensions/api/alarms/alarms_api.cc delete clock_; clock_ 122 chrome/browser/extensions/api/alarms/alarms_api.cc clock_->Now()); clock_ 35 chrome/browser/extensions/api/alarms/alarms_api.h base::Clock* const clock_; clock_ 16 chrome/browser/media/audio_stream_monitor.cc clock_(&default_tick_clock_), clock_ 59 chrome/browser/media/audio_stream_monitor.cc last_blurt_time_ = clock_->NowTicks(); clock_ 70 chrome/browser/media/audio_stream_monitor.cc const base::TimeTicks now = clock_->NowTicks(); clock_ 86 chrome/browser/media/audio_stream_monitor.h base::TickClock* const clock_; clock_ 44 chrome/browser/media/audio_stream_monitor_unittest.cc clock_.Advance(base::TimeDelta::FromSeconds(1000000)); clock_ 55 chrome/browser/media/audio_stream_monitor_unittest.cc const_cast<base::TickClock*&>(audio_stream_monitor()->clock_) = &clock_; clock_ 62 chrome/browser/media/audio_stream_monitor_unittest.cc base::TimeTicks GetTestClockTime() { return clock_.NowTicks(); } clock_ 64 chrome/browser/media/audio_stream_monitor_unittest.cc void AdvanceClock(const base::TimeDelta& delta) { clock_.Advance(delta); } clock_ 135 chrome/browser/media/audio_stream_monitor_unittest.cc base::SimpleTestTickClock clock_; clock_ 85 chrome/browser/media/cast_transport_host_filter.cc &clock_, clock_ 76 chrome/browser/media/cast_transport_host_filter.h base::DefaultTickClock clock_; clock_ 268 chrome/browser/performance_monitor/database.cc clock_->GetTime(), METRIC_NUMBER_OF_METRICS, std::string()); clock_ 437 chrome/browser/performance_monitor/database.cc clock_ = scoped_ptr<Clock>(new SystemClock()); clock_ 576 chrome/browser/performance_monitor/database.cc base::Time current_time = clock_->GetTime(); clock_ 584 chrome/browser/performance_monitor/database.cc end_time = key_builder_->CreateActiveIntervalKey(clock_->GetTime()); clock_ 142 chrome/browser/performance_monitor/database.h return GetEvents(type, base::Time(), clock_->GetTime()); clock_ 146 chrome/browser/performance_monitor/database.h return GetEvents(EVENT_UNDEFINED, base::Time(), clock_->GetTime()); clock_ 152 chrome/browser/performance_monitor/database.h return GetEventTypes(base::Time(), clock_->GetTime()); clock_ 208 chrome/browser/performance_monitor/database.h clock_->GetTime()); clock_ 214 chrome/browser/performance_monitor/database.h base::Time(), clock_->GetTime()); clock_ 224 chrome/browser/performance_monitor/database.h metric_type, base::Time(), clock_->GetTime()); clock_ 235 chrome/browser/performance_monitor/database.h clock_ = clock.Pass(); clock_ 297 chrome/browser/performance_monitor/database.h scoped_ptr<Clock> clock_; clock_ 42 chrome/browser/performance_monitor/database_unittest.cc database_->key_builder_->CreateMetricKey(database_->clock_->GetTime(), clock_ 102 chrome/browser/performance_monitor/database_unittest.cc clock_ = new TestingClock(); clock_ 106 chrome/browser/performance_monitor/database_unittest.cc db_->set_clock(scoped_ptr<Database::Clock>(clock_)); clock_ 123 chrome/browser/performance_monitor/database_unittest.cc Database::Clock* clock_; clock_ 133 chrome/browser/performance_monitor/database_unittest.cc EVENT_EXTENSION_INSTALL, clock_->GetTime(), "a", "extension 1", clock_ 137 chrome/browser/performance_monitor/database_unittest.cc EVENT_EXTENSION_INSTALL, clock_->GetTime(), "b", "extension 2", clock_ 141 chrome/browser/performance_monitor/database_unittest.cc EVENT_EXTENSION_UNINSTALL, clock_->GetTime(), "a", "extension 1", clock_ 145 chrome/browser/performance_monitor/database_unittest.cc EVENT_EXTENSION_UNINSTALL, clock_->GetTime(), "b", "extension 2", clock_ 154 chrome/browser/performance_monitor/database_unittest.cc clock_ = new TestingClock(); clock_ 158 chrome/browser/performance_monitor/database_unittest.cc db_->set_clock(scoped_ptr<Database::Clock>(clock_)); clock_ 169 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 50.5)); clock_ 171 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 13.1)); clock_ 174 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime(), clock_ 178 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime(), clock_ 183 chrome/browser/performance_monitor/database_unittest.cc Database::Clock* clock_; clock_ 294 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_PRIVATE_MEMORY_USAGE, clock_->GetTime(), 99.0)); clock_ 300 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime(), clock_ 314 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock_->GetTime(); clock_ 316 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime(), EVENT_RENDERER_CRASH, "http://www.google.com/"); clock_ 318 chrome/browser/performance_monitor/database_unittest.cc Database::EventVector events = db_->GetEvents(start_time, clock_->GetTime()); clock_ 336 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime(), EVENT_EXTENSION_INSTALL)); clock_ 350 chrome/browser/performance_monitor/database_unittest.cc events = db_->GetEvents(EVENT_EXTENSION_DISABLE, clock_->GetTime(), clock_ 351 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime()); clock_ 356 chrome/browser/performance_monitor/database_unittest.cc base::Time start_time = clock_->GetTime(); clock_ 358 chrome/browser/performance_monitor/database_unittest.cc util::CreateExtensionEvent(EVENT_EXTENSION_INSTALL, clock_->GetTime(), clock_ 363 chrome/browser/performance_monitor/database_unittest.cc util::CreateExtensionEvent(EVENT_EXTENSION_UNINSTALL, clock_->GetTime(), clock_ 367 chrome/browser/performance_monitor/database_unittest.cc base::Time end_time = clock_->GetTime(); clock_ 383 chrome/browser/performance_monitor/database_unittest.cc db_->GetActiveMetrics(base::Time(), clock_->GetTime()); clock_ 426 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); clock_ 429 chrome/browser/performance_monitor/database_unittest.cc base::Time before = clock_->GetTime(); clock_ 431 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 18.0)); clock_ 433 chrome/browser/performance_monitor/database_unittest.cc before, clock_->GetTime()); clock_ 444 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime(), clock_ 445 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime()); clock_ 451 chrome/browser/performance_monitor/database_unittest.cc METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); clock_ 460 chrome/browser/performance_monitor/database_unittest.cc METRIC_CPU_USAGE, clock_->GetTime(), clock_->GetTime()); clock_ 462 chrome/browser/performance_monitor/database_unittest.cc base::Time before = clock_->GetTime(); clock_ 464 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 18.0)); clock_ 466 chrome/browser/performance_monitor/database_unittest.cc clock_->GetTime()); clock_ 475 chrome/browser/performance_monitor/database_unittest.cc Metric invalid_metric(METRIC_CPU_USAGE, clock_->GetTime(), -5.0); clock_ 481 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); clock_ 489 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); clock_ 498 chrome/browser/performance_monitor/database_unittest.cc activity_, METRIC_CPU_USAGE, base::Time(), clock_->GetTime()); clock_ 507 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 3.4)); clock_ 509 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 21.0)); clock_ 519 chrome/browser/performance_monitor/database_unittest.cc base::Time start = clock_->GetTime(); clock_ 521 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 3.0)); clock_ 523 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 9.0)); clock_ 524 chrome/browser/performance_monitor/database_unittest.cc base::Time end = clock_->GetTime(); clock_ 526 chrome/browser/performance_monitor/database_unittest.cc Metric(METRIC_CPU_USAGE, clock_->GetTime(), 21.0)); clock_ 41 chrome/browser/policy/cloud/cloud_policy_invalidator.cc clock_(clock.Pass()), clock_ 314 chrome/browser/policy/cloud/cloud_policy_invalidator.cc invalidations_enabled_time_ = clock_->Now(); clock_ 369 chrome/browser/policy/cloud/cloud_policy_invalidator.cc base::TimeDelta elapsed = clock_->Now() - invalidations_enabled_time_; clock_ 150 chrome/browser/policy/cloud/cloud_policy_invalidator.h scoped_ptr<base::Clock> clock_; clock_ 177 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc base::SimpleTestClock* clock_; clock_ 211 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc clock_(new base::SimpleTestClock()), clock_ 237 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::Clock>(clock_))); clock_ 393 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc clock_->Advance(delta); clock_ 43 chrome/renderer/safe_browsing/phishing_classifier.cc clock_(clock), clock_ 60 chrome/renderer/safe_browsing/phishing_classifier.cc new PhishingDOMFeatureExtractor(render_view_, clock_.get())); clock_ 66 chrome/renderer/safe_browsing/phishing_classifier.cc clock_.get())); clock_ 131 chrome/renderer/safe_browsing/phishing_classifier.h scoped_ptr<FeatureExtractorClock> clock_; clock_ 97 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc clock_ = new MockFeatureExtractorClock; clock_ 103 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc clock_)); clock_ 199 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc MockFeatureExtractorClock* clock_; // Owned by classifier_. clock_ 225 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc EXPECT_CALL(*clock_, Now()) clock_ 105 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc clock_(clock), clock_ 129 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc page_feature_state_.reset(new PageFeatureState(clock_->Now())); clock_ 150 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeTicks current_chunk_start_time = clock_->Now(); clock_ 171 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc clock_->Now() - current_chunk_start_time); clock_ 195 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc base::TimeTicks now = clock_->Now(); clock_ 365 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc clock_->Now() - page_feature_state_->start_time); clock_ 130 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h FeatureExtractorClock* clock_; clock_ 86 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc content::RenderView::FromRoutingID(kRenderViewRoutingId), &clock_)); clock_ 183 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc MockFeatureExtractorClock clock_; clock_ 191 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); clock_ 246 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); clock_ 298 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); clock_ 341 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); clock_ 416 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()) clock_ 453 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc ::testing::Mock::VerifyAndClearExpectations(&clock_); clock_ 459 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()) clock_ 489 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc EXPECT_CALL(clock_, Now()) clock_ 104 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc clock_(clock), clock_ 130 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc state_.reset(new ExtractionState(*page_text_, clock_->Now())); clock_ 146 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeTicks current_chunk_start_time = clock_->Now(); clock_ 178 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc base::TimeTicks now = clock_->Now(); clock_ 295 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc clock_->Now() - state_->start_time); clock_ 146 chrome/renderer/safe_browsing/phishing_term_feature_extractor.h FeatureExtractorClock* clock_; clock_ 77 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc &clock_)); clock_ 119 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc MockFeatureExtractorClock clock_; clock_ 128 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); clock_ 220 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()) clock_ 253 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc ::testing::Mock::VerifyAndClearExpectations(&clock_); clock_ 259 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()) clock_ 285 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()) clock_ 308 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc EXPECT_CALL(clock_, Now()).WillRepeatedly(Return(base::TimeTicks::Now())); clock_ 34 components/policy/core/common/cloud/rate_limiter.cc const base::TimeTicks now = clock_->NowTicks(); clock_ 50 components/policy/core/common/cloud/rate_limiter.h scoped_ptr<base::TickClock> clock_; clock_ 20 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_(new base::SimpleTestTickClock()), clock_ 29 components/policy/core/common/cloud/rate_limiter_unittest.cc scoped_ptr<base::TickClock>(clock_).Pass()) {} clock_ 38 components/policy/core/common/cloud/rate_limiter_unittest.cc base::SimpleTestTickClock* clock_; clock_ 54 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(small_delta_); clock_ 60 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(small_delta_); clock_ 66 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(duration_); clock_ 81 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(delta); clock_ 95 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(small_delta_); clock_ 109 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(small_delta_); clock_ 152 google_apis/gcm/engine/mcs_client.cc clock_(clock), clock_ 227 google_apis/gcm/engine/mcs_client.cc if (HasTTLExpired(*iter->second, clock_)) { clock_ 412 google_apis/gcm/engine/mcs_client.cc !HasTTLExpired(*packet->protobuf, clock_)) { clock_ 463 google_apis/gcm/engine/mcs_client.cc if (HasTTLExpired(*packet->protobuf, clock_)) { clock_ 494 google_apis/gcm/engine/mcs_client.cc int queued = (clock_->Now().ToInternalValue() / clock_ 534 google_apis/gcm/engine/mcs_client.cc response->set_sent(clock_->Now().ToInternalValue() / clock_ 197 google_apis/gcm/engine/mcs_client.h base::Clock* const clock_; clock_ 92 google_apis/gcm/engine/mcs_client_unittest.cc base::SimpleTestClock* clock() { return &clock_; } clock_ 121 google_apis/gcm/engine/mcs_client_unittest.cc base::SimpleTestClock clock_; clock_ 153 google_apis/gcm/engine/mcs_client_unittest.cc clock_.Advance(base::TimeDelta::FromSeconds(1)); clock_ 161 google_apis/gcm/engine/mcs_client_unittest.cc mcs_client_.reset(new TestMCSClient(&clock_, clock_ 162 google_apis/gcm/gcm_client_impl.cc clock_(internals_builder_->BuildClock()), clock_ 249 google_apis/gcm/gcm_client_impl.cc clock_.get(), clock_ 333 google_apis/gcm/gcm_client_impl.cc base::Time last_checkin_time = clock_->Now(); clock_ 345 google_apis/gcm/gcm_client_impl.cc base::TimeDelta::FromSeconds(kDefaultCheckinInterval) - clock_->Now(); clock_ 525 google_apis/gcm/gcm_client_impl.cc stanza.set_sent(clock_->Now().ToInternalValue() / clock_ 228 google_apis/gcm/gcm_client_impl.h scoped_ptr<base::Clock> clock_; clock_ 252 google_apis/gcm/gcm_client_impl_unittest.cc return reinterpret_cast<base::SimpleTestClock*>(gcm_client_->clock_.get()); clock_ 216 google_apis/gcm/tools/mcs_probe.cc base::DefaultClock clock_; clock_ 306 google_apis/gcm/tools/mcs_probe.cc &clock_, clock_ 58 media/base/android/media_source_player.cc clock_(&default_tick_clock_), clock_ 70 media/base/android/media_source_player.cc clock_.SetMaxTime(base::TimeDelta()); clock_ 119 media/base/android/media_source_player.cc clock_.SetTime(seek_time, seek_time); clock_ 204 media/base/android/media_source_player.cc return clock_.Elapsed(); clock_ 311 media/base/android/media_source_player.cc clock_.SetDuration(duration_); clock_ 377 media/base/android/media_source_player.cc clock_.SetDuration(duration_); clock_ 446 media/base/android/media_source_player.cc clock_.SetTime(seek_time, seek_time); clock_ 483 media/base/android/media_source_player.cc clock_.SetMaxTime(new_max_time); clock_ 646 media/base/android/media_source_player.cc clock_.Pause(); clock_ 757 media/base/android/media_source_player.cc clock_.Pause(); clock_ 980 media/base/android/media_source_player.cc if (!clock_.IsPlaying()) clock_ 981 media/base/android/media_source_player.cc clock_.Play(); clock_ 219 media/base/android/media_source_player.h Clock clock_; clock_ 15 media/base/clock.cc Clock::Clock(base::TickClock* clock) : clock_(clock) { clock_ 16 media/base/clock.cc DCHECK(clock_); clock_ 123 media/base/clock.cc reference_ = clock_->NowTicks(); clock_ 127 media/base/clock.cc return ClampToValidTimeRange(ElapsedViaProvidedTime(clock_->NowTicks())); clock_ 100 media/base/clock.h base::TickClock* const clock_; clock_ 33 media/base/clock_unittest.cc ClockTest() : clock_(&test_tick_clock_) { clock_ 41 media/base/clock_unittest.cc clock_.SetDuration(kDuration); clock_ 42 media/base/clock_unittest.cc EXPECT_EQ(kDuration, clock_.Duration()); clock_ 50 media/base/clock_unittest.cc Clock clock_; clock_ 56 media/base/clock_unittest.cc EXPECT_EQ(kExpected, clock_.Elapsed()); clock_ 63 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 65 media/base/clock_unittest.cc EXPECT_EQ(kTimeToAdvance, clock_.Elapsed()); clock_ 72 media/base/clock_unittest.cc clock_.SetPlaybackRate(2.0f); clock_ 73 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 75 media/base/clock_unittest.cc EXPECT_EQ(2 * kTimeToAdvance, clock_.Elapsed()); clock_ 82 media/base/clock_unittest.cc clock_.SetPlaybackRate(0.5f); clock_ 83 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 85 media/base/clock_unittest.cc EXPECT_EQ(kTimeToAdvance / 2, clock_.Elapsed()); clock_ 97 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 100 media/base/clock_unittest.cc clock_.SetPlaybackRate(0.0f); clock_ 102 media/base/clock_unittest.cc clock_.SetPlaybackRate(1.0f); clock_ 105 media/base/clock_unittest.cc EXPECT_EQ(kExpected, clock_.Elapsed()); clock_ 118 media/base/clock_unittest.cc clock_.SetPlaybackRate(0.5f); clock_ 119 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 122 media/base/clock_unittest.cc clock_.SetPlaybackRate(1.0f); clock_ 125 media/base/clock_unittest.cc clock_.SetPlaybackRate(2.0f); clock_ 127 media/base/clock_unittest.cc EXPECT_EQ(kExpected, clock_.Elapsed()); clock_ 138 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 142 media/base/clock_unittest.cc EXPECT_EQ(kExpectedFirstPause, clock_.Pause()); clock_ 143 media/base/clock_unittest.cc EXPECT_EQ(kExpectedFirstPause, clock_.Elapsed()); clock_ 145 media/base/clock_unittest.cc EXPECT_EQ(kExpectedFirstPause, clock_.Elapsed()); clock_ 148 media/base/clock_unittest.cc EXPECT_EQ(kExpectedFirstPause, clock_.Play()); clock_ 150 media/base/clock_unittest.cc EXPECT_EQ(kExpectedSecondPause, clock_.Pause()); clock_ 151 media/base/clock_unittest.cc EXPECT_EQ(kExpectedSecondPause, clock_.Elapsed()); clock_ 158 media/base/clock_unittest.cc clock_.SetTime(kFirstTime, clock_.Duration()); clock_ 159 media/base/clock_unittest.cc EXPECT_EQ(kFirstTime, clock_.Elapsed()); clock_ 160 media/base/clock_unittest.cc clock_.SetTime(kSecondTime, clock_.Duration()); clock_ 161 media/base/clock_unittest.cc EXPECT_EQ(kSecondTime, clock_.Elapsed()); clock_ 172 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 175 media/base/clock_unittest.cc clock_.SetTime(kUpdatedTime, clock_.Duration()); clock_ 177 media/base/clock_unittest.cc EXPECT_EQ(kExpected, clock_.Elapsed()); clock_ 187 media/base/clock_unittest.cc clock_.SetTime(kTimeOverDuration, kTimeOverDuration); clock_ 188 media/base/clock_unittest.cc EXPECT_EQ(kDuration, clock_.Elapsed()); clock_ 199 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 201 media/base/clock_unittest.cc EXPECT_EQ(kDuration, clock_.Elapsed()); clock_ 204 media/base/clock_unittest.cc clock_.SetTime(kTimeOverDuration, kTimeOverDuration); clock_ 205 media/base/clock_unittest.cc EXPECT_EQ(kDuration, clock_.Elapsed()); clock_ 213 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 214 media/base/clock_unittest.cc clock_.SetMaxTime(kMaxTime); clock_ 216 media/base/clock_unittest.cc EXPECT_EQ(kTimeInterval, clock_.Elapsed()); clock_ 219 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime, clock_.Elapsed()); clock_ 222 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime, clock_.Elapsed()); clock_ 231 media/base/clock_unittest.cc EXPECT_EQ(kZero, clock_.Play()); clock_ 232 media/base/clock_unittest.cc clock_.SetMaxTime(clock_.Duration()); clock_ 234 media/base/clock_unittest.cc EXPECT_EQ(kTimeInterval, clock_.Elapsed()); clock_ 236 media/base/clock_unittest.cc clock_.SetMaxTime(kMaxTime1); clock_ 238 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime1, clock_.Elapsed()); clock_ 241 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime1, clock_.Elapsed()); clock_ 243 media/base/clock_unittest.cc clock_.SetMaxTime(kMaxTime2); clock_ 244 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime1, clock_.Elapsed()); clock_ 247 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime1 + kTimeInterval, clock_.Elapsed()); clock_ 250 media/base/clock_unittest.cc EXPECT_EQ(kMaxTime2, clock_.Elapsed()); clock_ 45 media/base/pipeline.cc clock_(new Clock(&default_tick_clock_)), clock_ 159 media/base/pipeline.cc return clock_->Elapsed(); clock_ 169 media/base/pipeline.cc if (clock_->Duration() == TimeDelta() || total_bytes_ == 0) clock_ 175 media/base/pipeline.cc end = std::min(end, clock_->Duration()); clock_ 184 media/base/pipeline.cc return clock_->Duration(); clock_ 205 media/base/pipeline.cc clock_.reset(clock); clock_ 335 media/base/pipeline.cc if (waiting_for_clock_update_ && time < clock_->Elapsed()) clock_ 343 media/base/pipeline.cc clock_->SetTime(time, max_time); clock_ 360 media/base/pipeline.cc clock_->SetMaxTime(max_time); clock_ 371 media/base/pipeline.cc clock_->SetDuration(duration); clock_ 394 media/base/pipeline.cc double time_offset_in_ms = clock_->Duration().InMilliseconds() * clock_ 400 media/base/pipeline.cc TimeDelta epsilon = clock_->Duration() / 100; clock_ 403 media/base/pipeline.cc if (time_offset + epsilon > clock_->Duration()) clock_ 404 media/base/pipeline.cc return clock_->Duration(); clock_ 460 media/base/pipeline.cc clock_->SetTime(demuxer_->GetStartTime(), demuxer_->GetStartTime()); clock_ 489 media/base/pipeline.cc clock_->SetMaxTime(clock_->Duration()); clock_ 788 media/base/pipeline.cc clock_->SetPlaybackRate(playback_rate); clock_ 836 media/base/pipeline.cc if (clock_->IsPlaying()) clock_ 837 media/base/pipeline.cc clock_->Pause(); clock_ 838 media/base/pipeline.cc clock_->SetTime(seek_timestamp, seek_timestamp); clock_ 856 media/base/pipeline.cc clock_->SetMaxTime(clock_->Duration()); clock_ 901 media/base/pipeline.cc clock_->EndOfStream(); clock_ 918 media/base/pipeline.cc clock_->SetMaxTime(clock_->Duration()); clock_ 992 media/base/pipeline.cc clock_->Play(); clock_ 375 media/base/pipeline.h scoped_ptr<Clock> clock_; clock_ 32 media/cast/cast_environment.cc clock_(clock.Pass()), clock_ 57 media/cast/cast_environment.h base::TickClock* Clock() const { return clock_.get(); } clock_ 86 media/cast/cast_environment.h scoped_ptr<base::TickClock> clock_; clock_ 28 media/cast/congestion_control/congestion_control.cc : clock_(clock), clock_ 43 media/cast/congestion_control/congestion_control.cc base::TimeTicks now = clock_->NowTicks(); clock_ 89 media/cast/congestion_control/congestion_control.cc base::TimeTicks now = clock_->NowTicks(); clock_ 34 media/cast/congestion_control/congestion_control.h base::TickClock* const clock_; // Not owned by this class. clock_ 19 media/cast/framer/cast_message_builder.cc : clock_(clock), clock_ 39 media/cast/framer/cast_message_builder.cc last_update_time_ = clock_->NowTicks(); clock_ 50 media/cast/framer/cast_message_builder.cc last_update_time_ = clock_->NowTicks(); clock_ 98 media/cast/framer/cast_message_builder.cc last_update_time_ = clock_->NowTicks(); clock_ 133 media/cast/framer/cast_message_builder.cc last_update_time_ = clock_->NowTicks(); clock_ 138 media/cast/framer/cast_message_builder.cc base::TimeTicks now = clock_->NowTicks(); clock_ 152 media/cast/framer/cast_message_builder.cc base::TimeTicks now = clock_->NowTicks(); clock_ 43 media/cast/framer/cast_message_builder.h base::TickClock* const clock_; // Not owned by this class. clock_ 16 media/cast/rtp_receiver/receiver_stats.cc : clock_(clock), clock_ 100 media/cast/rtp_receiver/receiver_stats.cc base::TimeTicks now = clock_->NowTicks(); clock_ 28 media/cast/rtp_receiver/receiver_stats.h base::TickClock* const clock_; // Not owned by this class. clock_ 17 media/cast/test/fake_single_thread_task_runner.cc : clock_(clock) {} clock_ 28 media/cast/test/fake_single_thread_task_runner.cc clock_->NowTicks(), clock_ 48 media/cast/test/fake_single_thread_task_runner.cc if (clock_->NowTicks() < task.GetTimeToRun()) clock_ 44 media/cast/test/fake_single_thread_task_runner.h base::SimpleTestTickClock* const clock_; clock_ 236 media/cast/test/sender.cc clock_(clock), clock_ 270 media/cast/test/sender.cc clock_->NowTicks()); clock_ 275 media/cast/test/sender.cc start_time_ = clock_->NowTicks(); clock_ 276 media/cast/test/sender.cc base::TimeDelta time_diff = clock_->NowTicks() - start_time_; clock_ 290 media/cast/test/sender.cc base::TimeTicks now = clock_->NowTicks(); clock_ 312 media/cast/test/sender.cc send_time_ = clock_->NowTicks(); clock_ 326 media/cast/test/sender.cc base::TickClock* const clock_; // Not owned by this class. clock_ 43 media/cast/transport/cast_transport_sender_impl.cc : clock_(clock), clock_ 79 media/cast/transport/cast_transport_sender_impl.cc config, clock_, &logging_, transport_task_runner_, &pacer_)); clock_ 90 media/cast/transport/cast_transport_sender_impl.cc config, clock_, &logging_, transport_task_runner_, &pacer_)); clock_ 87 media/cast/transport/cast_transport_sender_impl.h base::TickClock* clock_; // Not owned by this class. clock_ 40 media/cast/transport/pacing/paced_sender.cc : clock_(clock), clock_ 116 media/cast/transport/pacing/paced_sender.cc time_last_process_ - clock_->NowTicks() + clock_ 129 media/cast/transport/pacing/paced_sender.cc time_last_process_ = clock_->NowTicks(); clock_ 217 media/cast/transport/pacing/paced_sender.cc logging_->InsertSinglePacketEvent(clock_->NowTicks(), event, packet); clock_ 87 media/cast/transport/pacing/paced_sender.h base::TickClock* const clock_; // Not owned by this class. clock_ 42 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc : clock_(clock) { clock_ 101 media/cast/transport/rtp_sender/packet_storage/packet_storage.cc base::TimeTicks now = clock_->NowTicks(); clock_ 47 media/cast/transport/rtp_sender/packet_storage/packet_storage.h base::TickClock* const clock_; // Not owned by this class. clock_ 40 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc clock_(clock), clock_ 153 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.cc clock_->NowTicks(), clock_ 94 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h base::TickClock* const clock_; // Not owned by this class. clock_ 26 media/cast/transport/rtp_sender/rtp_sender.cc : clock_(clock), clock_ 39 media/cast/transport/rtp_sender/rtp_sender.cc storage_.reset(new PacketStorage(clock_, config.base.rtp_config.history_ms)); clock_ 46 media/cast/transport/rtp_sender/rtp_sender.cc new RtpPacketizer(transport_, storage_.get(), config_, clock_, logging_)); clock_ 50 media/cast/transport/rtp_sender/rtp_sender.cc storage_.reset(new PacketStorage(clock_, config.base.rtp_config.history_ms)); clock_ 57 media/cast/transport/rtp_sender/rtp_sender.cc new RtpPacketizer(transport_, storage_.get(), config_, clock_, logging_)); clock_ 74 media/cast/transport/rtp_sender/rtp_sender.h base::TickClock* clock_; // Not owned by this class. clock_ 54 net/quic/congestion_control/cubic.cc : clock_(clock), clock_ 109 net/quic/congestion_control/cubic.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 51 net/quic/congestion_control/cubic.h const QuicClock* clock_; clock_ 26 net/quic/congestion_control/cubic_test.cc cubic_(&clock_, &stats_) { clock_ 30 net/quic/congestion_control/cubic_test.cc MockClock clock_; clock_ 41 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(one_ms_); clock_ 52 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 64 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 80 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(one_ms_); clock_ 90 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 107 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 126 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(one_ms_); clock_ 143 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(one_ms_); clock_ 157 net/quic/congestion_control/cubic_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 32 net/quic/congestion_control/fix_rate_test.cc : sender_(new FixRateSender(&clock_)), clock_ 34 net/quic/congestion_control/fix_rate_test.cc start_(clock_.Now()) { clock_ 36 net/quic/congestion_control/fix_rate_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(2)); clock_ 38 net/quic/congestion_control/fix_rate_test.cc MockClock clock_; clock_ 58 net/quic/congestion_control/fix_rate_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 60 net/quic/congestion_control/fix_rate_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 63 net/quic/congestion_control/fix_rate_test.cc sender_->OnPacketSent(clock_.Now(), 1, kDefaultMaxPacketSize, clock_ 65 net/quic/congestion_control/fix_rate_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 67 net/quic/congestion_control/fix_rate_test.cc sender_->OnPacketSent(clock_.Now(), 2, kDefaultMaxPacketSize, clock_ 69 net/quic/congestion_control/fix_rate_test.cc sender_->OnPacketSent(clock_.Now(), 3, 600, clock_ 72 net/quic/congestion_control/fix_rate_test.cc sender_->TimeUntilSend(clock_.Now(), HAS_RETRANSMITTABLE_DATA)); clock_ 73 net/quic/congestion_control/fix_rate_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(2)); clock_ 75 net/quic/congestion_control/fix_rate_test.cc sender_->TimeUntilSend(clock_.Now(), HAS_RETRANSMITTABLE_DATA)); clock_ 76 net/quic/congestion_control/fix_rate_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(8)); clock_ 80 net/quic/congestion_control/fix_rate_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 91 net/quic/congestion_control/fix_rate_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 95 net/quic/congestion_control/fix_rate_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 97 net/quic/congestion_control/fix_rate_test.cc sender_->OnPacketSent(clock_.Now(), sequence_number++, packet_size, clock_ 99 net/quic/congestion_control/fix_rate_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 101 net/quic/congestion_control/fix_rate_test.cc sender_->OnPacketSent(clock_.Now(), sequence_number++, packet_size, clock_ 104 net/quic/congestion_control/fix_rate_test.cc sender_->TimeUntilSend(clock_.Now(), HAS_RETRANSMITTABLE_DATA); clock_ 105 net/quic/congestion_control/fix_rate_test.cc clock_.AdvanceTime(advance_time); clock_ 26 net/quic/congestion_control/hybrid_slow_start.cc : clock_(clock), clock_ 84 net/quic/congestion_control/hybrid_slow_start.cc round_start_ = last_time_ = clock_->ApproximateNow(); clock_ 102 net/quic/congestion_control/hybrid_slow_start.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 63 net/quic/congestion_control/hybrid_slow_start.h const QuicClock* clock_; clock_ 21 net/quic/congestion_control/hybrid_slow_start_test.cc slowStart_.reset(new HybridSlowStart(&clock_)); clock_ 25 net/quic/congestion_control/hybrid_slow_start_test.cc MockClock clock_; clock_ 63 net/quic/congestion_control/hybrid_slow_start_test.cc clock_.AdvanceTime(one_ms_); clock_ 72 net/quic/congestion_control/hybrid_slow_start_test.cc clock_.AdvanceTime(one_ms_); clock_ 76 net/quic/congestion_control/hybrid_slow_start_test.cc clock_.AdvanceTime(one_ms_); clock_ 28 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc : clock_(clock), clock_ 40 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc epoch_ = clock_->ApproximateNow(); clock_ 93 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc epoch_ = clock_->ApproximateNow(); clock_ 107 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 151 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc epoch_ = clock_->ApproximateNow(); clock_ 45 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.h const QuicClock* clock_; clock_ 23 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc bitrate_ramp_up_(&clock_) { clock_ 26 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(one_ms_); clock_ 30 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc MockClock clock_; clock_ 48 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 53 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 59 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 64 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 70 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 75 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 81 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 85 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 92 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 96 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 119 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 126 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 134 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 141 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 149 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 155 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 174 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 179 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 185 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 190 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 196 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 201 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 207 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 211 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 218 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 222 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 243 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 248 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 254 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 259 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 265 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 270 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 276 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 280 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 287 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 291 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 309 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 314 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 321 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 325 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 344 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 349 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 359 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 364 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 382 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 387 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 397 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 402 net/quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc clock_.AdvanceTime(hundred_ms_); clock_ 16 net/quic/congestion_control/inter_arrival_receiver_test.cc MockClock clock_; clock_ 20 net/quic/congestion_control/inter_arrival_receiver_test.cc QuicTime start = clock_.ApproximateNow(); clock_ 22 net/quic/congestion_control/inter_arrival_receiver_test.cc clock_.AdvanceTime(received_delta); clock_ 23 net/quic/congestion_control/inter_arrival_receiver_test.cc QuicTime receive_timestamp = clock_.ApproximateNow(); clock_ 29 net/quic/congestion_control/inter_arrival_receiver_test.cc clock_.AdvanceTime(received_delta); clock_ 30 net/quic/congestion_control/inter_arrival_receiver_test.cc receive_timestamp = clock_.ApproximateNow(); clock_ 33 net/quic/congestion_control/inter_arrival_receiver_test.cc clock_.AdvanceTime(received_delta); clock_ 34 net/quic/congestion_control/inter_arrival_receiver_test.cc receive_timestamp = clock_.ApproximateNow(); clock_ 33 net/quic/congestion_control/inter_arrival_sender.cc : clock_(clock), clock_ 500 net/quic/congestion_control/inter_arrival_sender.cc QuicTime now = clock_->ApproximateNow(); clock_ 93 net/quic/congestion_control/inter_arrival_sender.h const QuicClock* clock_; clock_ 23 net/quic/congestion_control/inter_arrival_state_machine.cc : clock_(clock), clock_ 43 net/quic/congestion_control/inter_arrival_state_machine.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 81 net/quic/congestion_control/inter_arrival_state_machine.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 132 net/quic/congestion_control/inter_arrival_state_machine.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 148 net/quic/congestion_control/inter_arrival_state_machine.cc QuicTime current_time = clock_->ApproximateNow(); clock_ 74 net/quic/congestion_control/inter_arrival_state_machine.h const QuicClock* clock_; clock_ 21 net/quic/congestion_control/inter_arrival_state_machine_test.cc state_machine_.reset(new InterArrivalStateMachine(&clock_)); clock_ 24 net/quic/congestion_control/inter_arrival_state_machine_test.cc MockClock clock_; clock_ 33 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 40 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 47 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 53 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 65 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 72 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 78 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 85 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 92 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 98 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 104 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 111 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 118 net/quic/congestion_control/inter_arrival_state_machine_test.cc clock_.AdvanceTime(rtt); clock_ 19 net/quic/congestion_control/leaky_bucket_test.cc MockClock clock_; clock_ 25 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); clock_ 26 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->Add(clock_.Now(), 2000); clock_ 27 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(2000u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 29 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->TimeRemaining(clock_.Now())); clock_ 30 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 31 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(1000u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 33 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->TimeRemaining(clock_.Now())); clock_ 34 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 35 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(0u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 36 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_TRUE(leaky_bucket_->TimeRemaining(clock_.Now()).IsZero()); clock_ 37 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 38 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(0u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 39 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_TRUE(leaky_bucket_->TimeRemaining(clock_.Now()).IsZero()); clock_ 40 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->Add(clock_.Now(), 2000); clock_ 41 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(11)); clock_ 42 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(0u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 43 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_TRUE(leaky_bucket_->TimeRemaining(clock_.Now()).IsZero()); clock_ 44 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->Add(clock_.Now(), 2000); clock_ 45 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 46 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->Add(clock_.Now(), 2000); clock_ 47 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 48 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(2000u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 50 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->TimeRemaining(clock_.Now())); clock_ 51 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(10)); clock_ 52 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(0u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 53 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_TRUE(leaky_bucket_->TimeRemaining(clock_.Now()).IsZero()); clock_ 58 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); clock_ 59 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->Add(clock_.Now(), 2000); clock_ 60 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(2000u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 62 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->TimeRemaining(clock_.Now())); clock_ 63 net/quic/congestion_control/leaky_bucket_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 64 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(1000u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 66 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->TimeRemaining(clock_.Now())); clock_ 68 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->SetDrainingRate(clock_.Now(), draining_rate); clock_ 69 net/quic/congestion_control/leaky_bucket_test.cc EXPECT_EQ(1000u, leaky_bucket_->BytesPending(clock_.Now())); clock_ 71 net/quic/congestion_control/leaky_bucket_test.cc leaky_bucket_->TimeRemaining(clock_.Now())); clock_ 28 net/quic/congestion_control/paced_sender_test.cc MockClock clock_; clock_ 33 net/quic/congestion_control/paced_sender_test.cc paced_sender_->UpdateBandwidthEstimate(clock_.Now(), clock_ 35 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 36 net/quic/congestion_control/paced_sender_test.cc paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize); clock_ 37 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 38 net/quic/congestion_control/paced_sender_test.cc paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize); clock_ 41 net/quic/congestion_control/paced_sender_test.cc clock_.Now(), zero_time_).ToMicroseconds()); clock_ 42 net/quic/congestion_control/paced_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(24)); clock_ 43 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 47 net/quic/congestion_control/paced_sender_test.cc paced_sender_->UpdateBandwidthEstimate(clock_.Now(), clock_ 49 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 50 net/quic/congestion_control/paced_sender_test.cc paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize); clock_ 51 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 52 net/quic/congestion_control/paced_sender_test.cc paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize); clock_ 55 net/quic/congestion_control/paced_sender_test.cc clock_.Now(), zero_time_).ToMicroseconds()); clock_ 56 net/quic/congestion_control/paced_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(24)); clock_ 57 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 63 net/quic/congestion_control/paced_sender_test.cc paced_sender_->UpdateBandwidthEstimate(clock_.Now(), bandwidth_estimate); clock_ 64 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 66 net/quic/congestion_control/paced_sender_test.cc paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize); clock_ 68 net/quic/congestion_control/paced_sender_test.cc clock_.Now(), zero_time_).IsZero()); clock_ 70 net/quic/congestion_control/paced_sender_test.cc paced_sender_->OnPacketSent(clock_.Now(), kDefaultMaxPacketSize); clock_ 72 net/quic/congestion_control/paced_sender_test.cc clock_.Now(), zero_time_).ToMicroseconds()); clock_ 73 net/quic/congestion_control/paced_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMicroseconds(20400)); clock_ 74 net/quic/congestion_control/paced_sender_test.cc EXPECT_TRUE(paced_sender_->TimeUntilSend(clock_.Now(), zero_time_).IsZero()); clock_ 30 net/quic/congestion_control/pacing_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(9)); clock_ 38 net/quic/congestion_control/pacing_sender_test.cc EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(), clock_ 43 net/quic/congestion_control/pacing_sender_test.cc pacing_sender_->TimeUntilSend(clock_.Now(), clock_ 48 net/quic/congestion_control/pacing_sender_test.cc OnPacketSent(clock_.Now(), sequence_number_, kMaxPacketSize, clock_ 50 net/quic/congestion_control/pacing_sender_test.cc pacing_sender_->OnPacketSent(clock_.Now(), sequence_number_++, clock_ 58 net/quic/congestion_control/pacing_sender_test.cc EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(), clock_ 63 net/quic/congestion_control/pacing_sender_test.cc pacing_sender_->TimeUntilSend(clock_.Now(), clock_ 68 net/quic/congestion_control/pacing_sender_test.cc OnPacketSent(clock_.Now(), sequence_number_, kMaxPacketSize, clock_ 70 net/quic/congestion_control/pacing_sender_test.cc pacing_sender_->OnPacketSent(clock_.Now(), sequence_number_++, clock_ 78 net/quic/congestion_control/pacing_sender_test.cc EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(), clock_ 84 net/quic/congestion_control/pacing_sender_test.cc clock_.Now(), HAS_RETRANSMITTABLE_DATA).ToMicroseconds()); clock_ 89 net/quic/congestion_control/pacing_sender_test.cc MockClock clock_; clock_ 96 net/quic/congestion_control/pacing_sender_test.cc EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(), clock_ 100 net/quic/congestion_control/pacing_sender_test.cc pacing_sender_->TimeUntilSend(clock_.Now(), clock_ 105 net/quic/congestion_control/pacing_sender_test.cc EXPECT_CALL(*mock_sender_, TimeUntilSend(clock_.Now(), clock_ 109 net/quic/congestion_control/pacing_sender_test.cc pacing_sender_->TimeUntilSend(clock_.Now(), clock_ 139 net/quic/congestion_control/pacing_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(2)); clock_ 146 net/quic/congestion_control/pacing_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(4)); clock_ 157 net/quic/congestion_control/pacing_sender_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); clock_ 50 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_(new TcpCubicSenderPeer(&clock_, true, clock_ 61 net/quic/congestion_control/tcp_cubic_sender_test.cc clock_.Now(), HAS_RETRANSMITTABLE_DATA).IsZero(); clock_ 63 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketSent(clock_.Now(), sequence_number_++, kDefaultTCPMSS, clock_ 67 net/quic/congestion_control/tcp_cubic_sender_test.cc clock_.Now(), HAS_RETRANSMITTABLE_DATA).IsZero(); clock_ 84 net/quic/congestion_control/tcp_cubic_sender_test.cc clock_.AdvanceTime(one_ms_); // 1 millisecond. clock_ 91 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(acked_sequence_number_, clock_.Now()); clock_ 96 net/quic/congestion_control/tcp_cubic_sender_test.cc MockClock clock_; clock_ 109 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 113 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 116 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 123 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 128 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_FALSE(sender_->TimeUntilSend(clock_.Now(), clock_ 136 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 140 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 142 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 164 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 168 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 170 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 202 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 206 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 208 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 222 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(acked_sequence_number_ + 1, clock_.Now()); clock_ 226 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 265 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 269 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 291 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 305 net/quic/congestion_control/tcp_cubic_sender_test.cc clock_.Now(), HAS_RETRANSMITTABLE_DATA).IsZero()); clock_ 334 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 338 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 446 net/quic/congestion_control/tcp_cubic_sender_test.cc new TcpCubicSenderPeer(&clock_, false, kMaxCongestionWindowTCP)); clock_ 450 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 454 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 456 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 473 net/quic/congestion_control/tcp_cubic_sender_test.cc new TcpCubicSenderPeer(&clock_, true, kMaxCongestionWindowTCP)); clock_ 477 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 481 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 483 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 490 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(acked_sequence_number_ + 1, clock_.Now()); clock_ 509 net/quic/congestion_control/tcp_cubic_sender_test.cc new TcpCubicSenderPeer(&clock_, false, kMaxCongestionWindowTCP)); clock_ 513 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 517 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 519 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 525 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(acked_sequence_number_ + 1, clock_.Now()); clock_ 541 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(acked_sequence_number_ + 1, clock_.Now()); clock_ 544 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(acked_sequence_number_ + 3, clock_.Now()); clock_ 546 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(sequence_number_ - 1, clock_.Now()); clock_ 550 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketLost(sequence_number_, clock_.Now()); clock_ 560 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketSent(clock_.Now(), sequence_number_++, bytes_in_packet, clock_ 566 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnPacketSent(clock_.Now(), sequence_number_++, bytes_in_packet, clock_ 586 net/quic/congestion_control/tcp_cubic_sender_test.cc EXPECT_TRUE(sender_->TimeUntilSend(clock_.Now(), clock_ 590 net/quic/congestion_control/tcp_cubic_sender_test.cc sender_->OnIncomingQuicCongestionFeedbackFrame(feedback, clock_.Now()); clock_ 30 net/quic/congestion_control/tcp_loss_algorithm_test.cc unacked_packets_.SetSent(sequence_number, clock_.Now(), 1000, true); clock_ 38 net/quic/congestion_control/tcp_loss_algorithm_test.cc unacked_packets_, clock_.Now(), largest_observed, rtt_stats_); clock_ 48 net/quic/congestion_control/tcp_loss_algorithm_test.cc MockClock clock_; clock_ 120 net/quic/congestion_control/tcp_loss_algorithm_test.cc EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt().Multiply(1.25)), clock_ 123 net/quic/congestion_control/tcp_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.latest_rtt().Multiply(1.25)); clock_ 135 net/quic/congestion_control/tcp_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); clock_ 150 net/quic/congestion_control/tcp_loss_algorithm_test.cc EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt()), clock_ 153 net/quic/congestion_control/tcp_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt()); clock_ 156 net/quic/congestion_control/tcp_loss_algorithm_test.cc EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt().Multiply(0.25)), clock_ 158 net/quic/congestion_control/tcp_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); clock_ 30 net/quic/congestion_control/time_loss_algorithm_test.cc unacked_packets_.SetSent(sequence_number, clock_.Now(), 1000, true); clock_ 38 net/quic/congestion_control/time_loss_algorithm_test.cc unacked_packets_, clock_.Now(), largest_observed, rtt_stats_); clock_ 48 net/quic/congestion_control/time_loss_algorithm_test.cc MockClock clock_; clock_ 63 net/quic/congestion_control/time_loss_algorithm_test.cc loss_algorithm_.GetLossTimeout().Subtract(clock_.Now())); clock_ 71 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.1)); clock_ 81 net/quic/congestion_control/time_loss_algorithm_test.cc loss_algorithm_.GetLossTimeout().Subtract(clock_.Now())); clock_ 84 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); clock_ 95 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.1)); clock_ 104 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); clock_ 106 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt()); clock_ 118 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt()); clock_ 129 net/quic/congestion_control/time_loss_algorithm_test.cc loss_algorithm_.GetLossTimeout().Subtract(clock_.Now())); clock_ 130 net/quic/congestion_control/time_loss_algorithm_test.cc clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); clock_ 53 net/quic/crypto/crypto_server_test.cc config_.AddDefaultConfig(rand_, &clock_, clock_ 160 net/quic/crypto/crypto_server_test.cc config_.ValidateClientHello(message, client_address_, &clock_, cb); clock_ 174 net/quic/crypto/crypto_server_test.cc message, client_address_, &clock_, clock_ 186 net/quic/crypto/crypto_server_test.cc kInitialFlowControlWindowForTest, &clock_, rand_, ¶ms_, &out_, clock_ 217 net/quic/crypto/crypto_server_test.cc clock_.WallNow(), rand_, clock_ 225 net/quic/crypto/crypto_server_test.cc MockClock clock_; clock_ 470 net/quic/crypto/crypto_server_test.cc static_cast<uint32>(clock_.WallNow().ToUNIXSeconds()), clock_ 247 net/quic/crypto/quic_crypto_server_config_test.cc clock_.AdvanceTime(QuicTime::Delta::FromSeconds(1000)); clock_ 300 net/quic/crypto/quic_crypto_server_config_test.cc QuicCryptoServerConfig::GenerateConfig(rand_, &clock_, options)); clock_ 311 net/quic/crypto/quic_crypto_server_config_test.cc config_.SetConfigs(protobufs, clock_.WallNow())); clock_ 317 net/quic/crypto/quic_crypto_server_config_test.cc MockClock clock_; clock_ 105 net/quic/quic_client_session_test.cc MockClock clock_; clock_ 177 net/quic/quic_connection.cc clock_(helper->GetClock()), clock_ 199 net/quic/quic_connection.cc creation_time_(clock_->ApproximateNow()), clock_ 200 net/quic/quic_connection.cc time_of_last_received_packet_(clock_->ApproximateNow()), clock_ 201 net/quic/quic_connection.cc time_of_last_sent_new_packet_(clock_->ApproximateNow()), clock_ 204 net/quic/quic_connection.cc is_server, clock_, &stats_, clock_ 226 net/quic/quic_connection.cc timeout_alarm_->Set(clock_->ApproximateNow().Add(idle_network_timeout_)); clock_ 822 net/quic/quic_connection.cc ack_alarm_->Set(clock_->ApproximateNow().Add(delayed_ack_time)); clock_ 846 net/quic/quic_connection.cc &(outgoing_ack->received_info), clock_->ApproximateNow()); clock_ 1092 net/quic/quic_connection.cc resume_writes_alarm_->Set(clock_->ApproximateNow()); clock_ 1109 net/quic/quic_connection.cc time_of_last_received_packet_ = clock_->Now(); clock_ 1217 net/quic/quic_connection.cc QuicTime now = clock_->Now(); clock_ 1402 net/quic/quic_connection.cc QuicTime now = clock_->Now(); clock_ 1755 net/quic/quic_connection.cc QuicTime now = clock_->ApproximateNow(); clock_ 1798 net/quic/quic_connection.cc timeout_alarm_->Set(clock_->ApproximateNow().Add(timeout)); clock_ 347 net/quic/quic_connection.h const QuicClock* clock() const { return clock_; } clock_ 596 net/quic/quic_connection.h const QuicClock* clock_; clock_ 26 net/quic/quic_connection_helper.cc clock_(clock), clock_ 46 net/quic/quic_connection_helper.cc int64 delay_us = deadline().Subtract(clock_->Now()).ToMicroseconds(); clock_ 73 net/quic/quic_connection_helper.cc if (clock_->Now() < deadline()) { clock_ 81 net/quic/quic_connection_helper.cc const QuicClock* clock_; clock_ 99 net/quic/quic_connection_helper.cc clock_(clock), clock_ 107 net/quic/quic_connection_helper.cc return clock_; clock_ 115 net/quic/quic_connection_helper.cc return new QuicChromeAlarm(clock_, task_runner_, delegate); clock_ 47 net/quic/quic_connection_helper.h const QuicClock* clock_; clock_ 35 net/quic/quic_connection_helper_test.cc : runner_(new TestTaskRunner(&clock_)), clock_ 36 net/quic/quic_connection_helper_test.cc helper_(runner_.get(), &clock_, &random_generator_) { clock_ 41 net/quic/quic_connection_helper_test.cc MockClock clock_; clock_ 46 net/quic/quic_connection_helper_test.cc EXPECT_EQ(&clock_, helper_.GetClock()); clock_ 58 net/quic/quic_connection_helper_test.cc alarm->Set(clock_.Now().Add(delta)); clock_ 66 net/quic/quic_connection_helper_test.cc EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now()); clock_ 75 net/quic/quic_connection_helper_test.cc alarm->Set(clock_.Now().Add(delta)); clock_ 84 net/quic/quic_connection_helper_test.cc EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now()); clock_ 93 net/quic/quic_connection_helper_test.cc alarm->Set(clock_.Now().Add(delta)); clock_ 96 net/quic/quic_connection_helper_test.cc alarm->Set(clock_.Now().Add(new_delta)); clock_ 104 net/quic/quic_connection_helper_test.cc EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now()); clock_ 111 net/quic/quic_connection_helper_test.cc EXPECT_EQ(QuicTime::Zero().Add(new_delta), clock_.Now()); clock_ 120 net/quic/quic_connection_helper_test.cc alarm->Set(clock_.Now().Add(delta)); clock_ 123 net/quic/quic_connection_helper_test.cc alarm->Set(clock_.Now().Add(new_delta)); clock_ 130 net/quic/quic_connection_helper_test.cc EXPECT_EQ(QuicTime::Zero().Add(new_delta), clock_.Now()); clock_ 140 net/quic/quic_connection_helper_test.cc EXPECT_EQ(QuicTime::Zero().Add(delta), clock_.Now()); clock_ 249 net/quic/quic_connection_test.cc : clock_(clock), clock_ 251 net/quic/quic_connection_test.cc clock_->AdvanceTime(QuicTime::Delta::FromSeconds(1)); clock_ 256 net/quic/quic_connection_test.cc return clock_; clock_ 268 net/quic/quic_connection_test.cc MockClock* clock_; clock_ 549 net/quic/quic_connection_test.cc helper_(new TestConnectionHelper(&clock_, &random_generator_)), clock_ 919 net/quic/quic_connection_test.cc MockClock clock_; clock_ 1493 net/quic/quic_connection_test.cc clock_.AdvanceTime(retransmission_time); clock_ 1525 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 1547 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); clock_ 1566 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime().Subtract( clock_ 1580 net/quic/quic_connection_test.cc clock_.ApproximateNow().Add(QuicTime::Delta::FromSeconds(1))); clock_ 1613 net/quic/quic_connection_test.cc clock_.ApproximateNow().Add(QuicTime::Delta::FromSeconds(1))); clock_ 1639 net/quic/quic_connection_test.cc clock_.ApproximateNow().Add(QuicTime::Delta::FromSeconds(1))); clock_ 1670 net/quic/quic_connection_test.cc clock_.ApproximateNow().Add(QuicTime::Delta::FromSeconds(1))); clock_ 1923 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 1931 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMicroseconds( clock_ 1977 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 2001 net/quic/quic_connection_test.cc connection_.GetResumeWritesAlarm()->Set(clock_.ApproximateNow()); clock_ 2002 net/quic/quic_connection_test.cc connection_.GetSendAlarm()->Set(clock_.ApproximateNow()); clock_ 2202 net/quic/quic_connection_test.cc QuicTime default_retransmission_time = clock_.ApproximateNow().Add( clock_ 2211 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 2221 net/quic/quic_connection_test.cc QuicTime default_retransmission_time = clock_.ApproximateNow().Add( clock_ 2246 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 2299 net/quic/quic_connection_test.cc QuicTime default_retransmission_time = clock_.ApproximateNow().Add( clock_ 2305 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 2366 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromSeconds(10)); clock_ 2378 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromSeconds(20)); clock_ 2402 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromSeconds(10)); clock_ 2465 net/quic/quic_connection_test.cc EXPECT_EQ(clock_.Now().Add(DefaultRetransmissionTime()), clock_ 2470 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 2476 net/quic/quic_connection_test.cc EXPECT_GT(retransmission_alarm->deadline(), clock_.Now()); clock_ 2479 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime().Multiply(2)); clock_ 2483 net/quic/quic_connection_test.cc EXPECT_LT(retransmission_alarm->deadline(), clock_.ApproximateNow()); clock_ 2570 net/quic/quic_connection_test.cc QuicTime default_timeout = clock_.ApproximateNow().Add( clock_ 2575 net/quic/quic_connection_test.cc clock_.AdvanceTime( clock_ 2591 net/quic/quic_connection_test.cc QuicTime default_timeout = clock_.ApproximateNow().Add( clock_ 2596 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 2604 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMicroseconds( clock_ 2606 net/quic/quic_connection_test.cc EXPECT_EQ(default_timeout, clock_.ApproximateNow()); clock_ 2616 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); clock_ 2618 net/quic/quic_connection_test.cc clock_.ApproximateNow()); clock_ 2675 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMicroseconds(1)); clock_ 2688 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(501)); clock_ 2706 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMicroseconds(1)); clock_ 2827 net/quic/quic_connection_test.cc QuicTime ack_time = clock_.ApproximateNow().Add(DefaultDelayedAckTime()); clock_ 2850 net/quic/quic_connection_test.cc QuicTime ack_time = clock_.ApproximateNow(); clock_ 3421 net/quic/quic_connection_test.cc clock_.AdvanceTime(QuicTime::Delta::FromSeconds(10)); clock_ 3715 net/quic/quic_connection_test.cc QuicTime default_retransmission_time = clock_.ApproximateNow().Add( clock_ 3724 net/quic/quic_connection_test.cc clock_.AdvanceTime(DefaultRetransmissionTime()); clock_ 181 net/quic/quic_http_stream_test.cc runner_ = new TestTaskRunner(&clock_); clock_ 195 net/quic/quic_http_stream_test.cc helper_.reset(new QuicConnectionHelper(runner_.get(), &clock_, clock_ 219 net/quic/quic_http_stream_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(20)); clock_ 284 net/quic/quic_http_stream_test.cc MockClock clock_; clock_ 112 net/quic/quic_network_transaction_unittest.cc clock_(new MockClock), clock_ 122 net/quic/quic_network_transaction_unittest.cc clock_->AdvanceTime(QuicTime::Delta::FromMilliseconds(20)); clock_ 206 net/quic/quic_network_transaction_unittest.cc params_.quic_clock = clock_; clock_ 301 net/quic/quic_network_transaction_unittest.cc MockClock* clock_; // Owned by QuicStreamFactory after CreateSession. clock_ 61 net/quic/quic_sent_packet_manager.cc clock_(clock), clock_ 410 net/quic/quic_sent_packet_manager.cc InvokeLossDetection(clock_->Now()); clock_ 645 net/quic/quic_sent_packet_manager.cc return clock_->ApproximateNow().Add(GetCryptoRetransmissionDelay()); clock_ 655 net/quic/quic_sent_packet_manager.cc return QuicTime::Max(clock_->ApproximateNow(), tlp_time); clock_ 663 net/quic/quic_sent_packet_manager.cc QuicTime min_timeout = clock_->ApproximateNow().Add( clock_ 267 net/quic/quic_sent_packet_manager.h const QuicClock* clock_; clock_ 25 net/quic/quic_sent_packet_manager_test.cc : manager_(true, &clock_, &stats_, kFixRate, kNack), clock_ 31 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1000)); clock_ 95 net/quic/quic_sent_packet_manager_test.cc clock_.Now(), clock_ 129 net/quic/quic_sent_packet_manager_test.cc manager_.OnPacketSent(sequence_number, clock_.Now(), clock_ 141 net/quic/quic_sent_packet_manager_test.cc manager_.OnPacketSent(sequence_number, clock_.ApproximateNow(), clock_ 151 net/quic/quic_sent_packet_manager_test.cc manager_.OnPacketSent(sequence_number, clock_.ApproximateNow(), clock_ 161 net/quic/quic_sent_packet_manager_test.cc manager_.OnPacketSent(sequence_number, clock_.Now(), clock_ 178 net/quic/quic_sent_packet_manager_test.cc clock_.ApproximateNow(), 1000, clock_ 184 net/quic/quic_sent_packet_manager_test.cc MockClock clock_; clock_ 223 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 243 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 258 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(rtt); clock_ 265 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 282 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(rtt); clock_ 289 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 305 net/quic/quic_sent_packet_manager_test.cc manager_.OnPacketSent(2, clock_.ApproximateNow(), 1000, clock_ 308 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(rtt); clock_ 315 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 320 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(rtt); clock_ 327 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 332 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 339 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 366 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 383 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(rtt); clock_ 390 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 405 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 417 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 437 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 452 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 476 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 503 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 519 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 580 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 638 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 650 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 676 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 705 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 713 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 720 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(20)); clock_ 729 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 741 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(expected_rtt); clock_ 750 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 761 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(expected_rtt); clock_ 769 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 780 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(expected_rtt); clock_ 788 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 817 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 825 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 853 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1000)); clock_ 901 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 963 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 1048 net/quic/quic_sent_packet_manager_test.cc EXPECT_EQ(clock_.Now().Add(QuicTime::Delta::FromMilliseconds(10)), clock_ 1056 net/quic/quic_sent_packet_manager_test.cc QuicTime expected_time = clock_.Now().Add(srtt.Multiply(1.5)); clock_ 1060 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(srtt.Multiply(1.5)); clock_ 1066 net/quic/quic_sent_packet_manager_test.cc expected_time = clock_.Now().Add(srtt.Multiply(2).Multiply(1.5)); clock_ 1078 net/quic/quic_sent_packet_manager_test.cc EXPECT_EQ(clock_.Now().Add(QuicTime::Delta::FromMilliseconds(10)), clock_ 1086 net/quic/quic_sent_packet_manager_test.cc QuicTime expected_time = clock_.Now().Add(expected_tlp_delay); clock_ 1090 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(expected_tlp_delay); clock_ 1095 net/quic/quic_sent_packet_manager_test.cc expected_time = clock_.Now().Add(expected_tlp_delay); clock_ 1109 net/quic/quic_sent_packet_manager_test.cc QuicTime expected_time = clock_.Now().Add(expected_rto_delay); clock_ 1114 net/quic/quic_sent_packet_manager_test.cc clock_.AdvanceTime(expected_rto_delay); clock_ 1121 net/quic/quic_sent_packet_manager_test.cc expected_time = clock_.Now().Add(expected_rto_delay).Add(expected_rto_delay); clock_ 1129 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.ApproximateNow()); clock_ 1131 net/quic/quic_sent_packet_manager_test.cc expected_time = clock_.Now().Add(expected_rto_delay); clock_ 1196 net/quic/quic_sent_packet_manager_test.cc manager_.OnIncomingAck(received_info, clock_.Now()); clock_ 1198 net/quic/quic_sent_packet_manager_test.cc QuicTime timeout(clock_.Now().Add(QuicTime::Delta::FromMilliseconds(10))); clock_ 398 net/quic/quic_stream_factory.cc clock_(clock), clock_ 745 net/quic/quic_stream_factory.cc clock_.get(), random_generator_)); clock_ 806 net/quic/quic_stream_factory.cc clock_->WallNow())) clock_ 229 net/quic/quic_stream_factory.h scoped_ptr<QuicClock> clock_; clock_ 90 net/quic/quic_stream_factory_test.cc clock_(new MockClock()), clock_ 96 net/quic/quic_stream_factory_test.cc &random_generator_, clock_, kDefaultMaxPacketSize, clock_ 181 net/quic/quic_stream_factory_test.cc MockClock* clock_; // Owned by factory_. clock_ 75 net/quic/quic_time_test.cc MockClock clock_; clock_ 123 net/quic/quic_time_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); clock_ 125 net/quic/quic_time_test.cc QuicTime now = clock_.ApproximateNow(); clock_ 130 net/quic/quic_time_test.cc clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); clock_ 131 net/quic/quic_time_test.cc now = clock_.ApproximateNow(); clock_ 253 net/quic/test_tools/quic_test_utils.cc return &clock_; clock_ 265 net/quic/test_tools/quic_test_utils.cc clock_.AdvanceTime(delta); clock_ 282 net/quic/test_tools/quic_test_utils.h MockClock clock_; clock_ 16 net/quic/test_tools/test_task_runner.cc : clock_(clock) { clock_ 27 net/quic/test_tools/test_task_runner.cc PostedTask(from_here, task, clock_->NowInTicks(), delay, clock_ 45 net/quic/test_tools/test_task_runner.cc clock_->AdvanceTime(QuicTime::Delta::FromMicroseconds( clock_ 46 net/quic/test_tools/test_task_runner.cc (next->GetTimeToRun() - clock_->NowInTicks()).InMicroseconds())); clock_ 44 net/quic/test_tools/test_task_runner.h MockClock* const clock_; clock_ 67 net/tools/quic/quic_epoll_connection_helper.cc clock_(epoll_server), clock_ 75 net/tools/quic/quic_epoll_connection_helper.cc return &clock_; clock_ 50 net/tools/quic/quic_epoll_connection_helper.h const QuicEpollClock clock_; clock_ 94 net/tools/quic/quic_time_wait_list_manager.cc clock_(epoll_server_), clock_ 121 net/tools/quic/quic_time_wait_list_manager.cc ConnectionIdData data(num_packets, version, clock_.ApproximateNow(), clock_ 247 net/tools/quic/quic_time_wait_list_manager.cc QuicTime now = clock_.ApproximateNow(); clock_ 266 net/tools/quic/quic_time_wait_list_manager.cc QuicTime now = clock_.ApproximateNow(); clock_ 160 net/tools/quic/quic_time_wait_list_manager.h QuicEpollClock clock_; clock_ 50 net/tools/quic/test_tools/packet_dropping_test_writer.cc : clock_(NULL), clock_ 69 net/tools/quic/test_tools/packet_dropping_test_writer.cc clock_ = helper->GetClock(); clock_ 98 net/tools/quic/test_tools/packet_dropping_test_writer.cc write_unblocked_alarm_->Set(clock_->ApproximateNow()); clock_ 111 net/tools/quic/test_tools/packet_dropping_test_writer.cc QuicTime send_time = clock_->ApproximateNow().Add(fake_packet_delay_); clock_ 187 net/tools/quic/test_tools/packet_dropping_test_writer.cc if (next_send_time > clock_->Now()) { clock_ 73 net/tools/quic/test_tools/packet_dropping_test_writer.h DCHECK(clock_); clock_ 80 net/tools/quic/test_tools/packet_dropping_test_writer.h DCHECK(clock_); clock_ 89 net/tools/quic/test_tools/packet_dropping_test_writer.h DCHECK(clock_); clock_ 100 net/tools/quic/test_tools/packet_dropping_test_writer.h DCHECK(clock_); clock_ 133 net/tools/quic/test_tools/packet_dropping_test_writer.h const QuicClock* clock_;