Home
last modified time | relevance | path

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

12

/external/chromium_org/media/base/
Dtime_delta_interpolator.cc16 : tick_clock_(tick_clock), in TimeDeltaInterpolator()
20 DCHECK(tick_clock_); in TimeDeltaInterpolator()
28 reference_ = tick_clock_->NowTicks(); in StartInterpolating()
42 reference_ = tick_clock_->NowTicks(); in SetPlaybackRate()
53 reference_ = tick_clock_->NowTicks(); in SetBounds()
60 reference_ = tick_clock_->NowTicks(); in SetUpperBound()
68 int64 now_us = (tick_clock_->NowTicks() - reference_).InMicroseconds(); in GetInterpolatedTime()
Dwall_clock_time_source.cc13 : tick_clock_(new base::DefaultTickClock()), in WallClockTimeSource()
26 reference_wall_ticks_ = tick_clock_->NowTicks(); in StartTicking()
35 reference_wall_ticks_ = tick_clock_->NowTicks(); in StopTicking()
45 reference_wall_ticks_ = tick_clock_->NowTicks(); in SetPlaybackRate()
69 tick_clock_.swap(tick_clock); in SetTickClockForTesting()
77 base::TimeTicks now = tick_clock_->NowTicks(); in CurrentMediaTime_Locked()
Dwall_clock_time_source_unittest.cc13 WallClockTimeSourceTest() : tick_clock_(new base::SimpleTestTickClock()) { in WallClockTimeSourceTest()
15 scoped_ptr<base::TickClock>(tick_clock_)); in WallClockTimeSourceTest()
20 tick_clock_->Advance(base::TimeDelta::FromSeconds(seconds)); in AdvanceTimeInSeconds()
34 base::SimpleTestTickClock* tick_clock_; // Owned by |time_source_|. member in media::WallClockTimeSourceTest
Dtime_delta_interpolator.h63 base::TickClock* const tick_clock_;
Dwall_clock_time_source.h38 scoped_ptr<base::TickClock> tick_clock_; variable
/external/chromium_org/content/renderer/media/
Drender_media_log.cc17 tick_clock_(new base::DefaultTickClock()), in RenderMediaLog()
18 last_ipc_send_time_(tick_clock_->NowTicks()) { in RenderMediaLog()
41 base::TimeTicks curr_time = tick_clock_->NowTicks(); in AddEvent()
62 tick_clock_.swap(tick_clock); in SetTickClockForTesting()
63 last_ipc_send_time_ = tick_clock_->NowTicks(); in SetTickClockForTesting()
Drender_media_log_unittest.cc17 tick_clock_(new base::SimpleTestTickClock()) { in RenderMediaLogTest()
18 log_->SetTickClockForTesting(scoped_ptr<base::TickClock>(tick_clock_)); in RenderMediaLogTest()
27 void Advance(base::TimeDelta delta) { tick_clock_->Advance(delta); } in Advance()
47 base::SimpleTestTickClock* tick_clock_; // Owned by |log_|. member in content::RenderMediaLogTest
Drender_media_log.h39 scoped_ptr<base::TickClock> tick_clock_; variable
/external/chromium_org/ui/display/chromeos/x11/
Dnative_display_event_dispatcher_x11.cc23 tick_clock_(new base::DefaultTickClock) { in NativeDisplayEventDispatcherX11()
24 startup_time_ = tick_clock_->NowTicks(); in NativeDisplayEventDispatcherX11()
63 bool check_cache = (tick_clock_->NowTicks() - startup_time_) in DispatchEvent()
103 tick_clock_ = tick_clock.Pass(); in SetTickClockForTest()
104 startup_time_ = tick_clock_->NowTicks(); in SetTickClockForTest()
Dnative_display_event_dispatcher_x11.h45 scoped_ptr<base::TickClock> tick_clock_; variable
/external/chromium_org/media/filters/
Dvideo_frame_scheduler_impl.cc20 tick_clock_(new base::DefaultTickClock()) { in VideoFrameSchedulerImpl()
43 tick_clock_.swap(tick_clock); in SetTickClockForTesting()
55 pending_frames_.top().wall_ticks - tick_clock_->NowTicks(), in ResetTimerIfNecessary()
61 base::TimeTicks now = tick_clock_->NowTicks(); in OnTimerFired()
Dvideo_frame_scheduler_impl_unittest.cc25 tick_clock_(new base::SimpleTestTickClock()) { in VideoFrameSchedulerImplTest()
26 scheduler_.SetTickClockForTesting(scoped_ptr<base::TickClock>(tick_clock_)); in VideoFrameSchedulerImplTest()
52 tick_clock_->Advance(base::TimeDelta::FromMilliseconds(ms)); in AdvanceTime()
62 base::SimpleTestTickClock* tick_clock_; // Owned by |scheduler_|. member in media::VideoFrameSchedulerImplTest
Dvideo_frame_scheduler_impl.h50 scoped_ptr<base::TickClock> tick_clock_; variable
/external/chromium_org/google_apis/gcm/engine/
Dconnection_factory_impl_unittest.cc91 base::SimpleTestTickClock* tick_clock_; member in gcm::__anon1f752cb00111::TestBackoffEntry
96 tick_clock_(tick_clock) { in TestBackoffEntry()
102 return tick_clock_->NowTicks(); in ImplGetTimeNow()
135 base::SimpleTestTickClock* tick_clock() { return &tick_clock_; } in tick_clock()
139 base::SimpleTestTickClock tick_clock_; member in gcm::__anon1f752cb00111::TestConnectionFactoryImpl
171 tick_clock_.Advance(base::TimeDelta::FromMilliseconds(1)); in TestConnectionFactoryImpl()
186 NextRetryAttempt() - tick_clock_.NowTicks(); in ConnectImpl()
187 tick_clock_.Advance(time_till_retry); in ConnectImpl()
205 return scoped_ptr<net::BackoffEntry>(new TestBackoffEntry(&tick_clock_)); in CreateBackoffEntry()
221 return tick_clock_.NowTicks(); in NowTicks()
/external/chromium_org/components/network_time/
Dnetwork_time_tracker.cc40 : tick_clock_(tick_clock.Pass()), in NetworkTimeTracker()
83 base::TimeTicks now = tick_clock_->NowTicks(); in UpdateNetworkTime()
Dnetwork_time_tracker.h53 scoped_ptr<base::TickClock> tick_clock_;
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_controller.cc124 tick_clock_(new base::DefaultTickClock()), in MaximizeModeController()
487 base::TimeTicks now = tick_clock_->NowTicks(); in WasLidOpenedRecently()
495 DCHECK(tick_clock_); in SetTickClockForTest()
496 tick_clock_ = tick_clock.Pass(); in SetTickClockForTest()
Dmaximize_mode_controller.h216 scoped_ptr<base::TickClock> tick_clock_; variable
Dmaximize_mode_controller_unittest.cc130 maximize_mode_controller()->tick_clock_->NowTicks()); in OpenLid()
135 maximize_mode_controller()->tick_clock_->NowTicks()); in CloseLid()
/external/chromium_org/ui/events/test/
Devent_generator.cc69 tick_clock_(new base::DefaultTickClock()) { in EventGenerator()
80 tick_clock_(new base::DefaultTickClock()) { in EventGenerator()
90 tick_clock_(new base::DefaultTickClock()) { in EventGenerator()
100 tick_clock_(new base::DefaultTickClock()) { in EventGenerator()
487 tick_clock_ = tick_clock.Pass(); in SetTickClock()
494 tick_clock_->NowTicks().ToInternalValue()); in Now()
Devent_generator.h377 scoped_ptr<base::TickClock> tick_clock_; variable
/external/chromium_org/mojo/common/
Dhandle_watcher_unittest.cc134 test::SetTickClockForTest(&tick_clock_); in InstallTickClock()
137 base::SimpleTestTickClock tick_clock_; member in mojo::common::test::HandleWatcherTest
316 tick_clock_.Advance(base::TimeDelta::FromMicroseconds(501)); in TEST_P()
/external/chromium_org/media/cast/test/utility/
Dtap_proxy.cc85 &tick_clock_); in QueueManager()
114 base::DefaultTickClock tick_clock_; member in media::cast::test::QueueManager
Dudp_proxy.cc720 &tick_clock_); in Start()
722 &tick_clock_); in Start()
803 base::DefaultTickClock tick_clock_; member in media::cast::test::UDPProxyImpl
/external/chromium_org/ui/chromeos/
Dtouch_exploration_controller.h464 base::TickClock* tick_clock_; variable

12