Home
last modified time | relevance | path

Searched refs:time_source_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/media/base/
Dwall_clock_time_source_unittest.cc14 time_source_.SetTickClockForTesting( in WallClockTimeSourceTest()
24 return time_source_.CurrentMediaTime().InSeconds(); in CurrentMediaTimeInSeconds()
28 return time_source_.SetMediaTime(base::TimeDelta::FromSeconds(seconds)); in SetMediaTimeInSeconds()
31 WallClockTimeSource time_source_; member in media::WallClockTimeSourceTest
50 time_source_.StartTicking(); in TEST_F()
64 time_source_.StartTicking(); in TEST_F()
66 time_source_.SetPlaybackRate(0.5); in TEST_F()
71 time_source_.SetPlaybackRate(2); in TEST_F()
78 time_source_.StartTicking(); in TEST_F()
84 time_source_.StopTicking(); in TEST_F()
/external/chromium_org/media/filters/
Drenderer_impl_unittest.cc117 .WillOnce(Return(&time_source_)); in InitializeAndExpect()
179 EXPECT_CALL(time_source_, SetMediaTime(start_time)); in Play()
180 EXPECT_CALL(time_source_, StartTicking()); in Play()
199 EXPECT_CALL(time_source_, StopTicking()); in Flush()
221 EXPECT_CALL(time_source_, SetPlaybackRate(playback_rate)); in SetPlaybackRate()
258 StrictMock<MockTimeSource> time_source_; member in media::RendererImplTest
336 EXPECT_CALL(time_source_, StopTicking()); in TEST_F()
359 EXPECT_CALL(time_source_, StopTicking()); in TEST_F()
385 EXPECT_CALL(time_source_, StopTicking()); in TEST_F()
413 EXPECT_CALL(time_source_, StopTicking()); in TEST_F()
Drenderer_impl.cc31 time_source_(NULL), in RendererImpl()
102 time_source_->SetMediaTime(time); in StartPlayingFrom()
118 time_source_->SetPlaybackRate(playback_rate); in SetPlaybackRate()
132 return time_source_->CurrentMediaTime(); in GetMediaTime()
180 return time_source_->CurrentMediaTimeForSyncingVideo(); in GetMediaTimeForSyncingVideo()
267 time_source_ = audio_renderer_->GetTimeSource(); in OnVideoRendererInitializeDone()
270 time_source_ = wall_clock_time_source_.get(); in OnVideoRendererInitializeDone()
274 DCHECK(time_source_); in OnVideoRendererInitializeDone()
416 time_source_->StopTicking(); in PausePlayback()
427 time_source_->StartTicking(); in StartPlayback()
Drenderer_impl.h137 TimeSource* time_source_; variable
/external/chromium_org/cc/scheduler/
Dscheduler.cc23 : scheduler_(scheduler), time_source_(time_source) { in SyntheticBeginFrameSource()
24 time_source_->SetClient(this); in SyntheticBeginFrameSource()
33 time_source_->SetTimebaseAndInterval(timebase, interval); in CommitVSyncParameters()
41 time_source_->SetActive(needs_begin_frame); in SetNeedsBeginFrame()
49 return time_source_->Active(); in IsActive()
54 CreateSyntheticBeginFrameArgs(time_source_->LastTickTime())); in OnTimerTick()
60 time_source_->AsValueInto(state); in AsValueInto()
66 base::TimeTicks deadline = time_source_->NextTickTime(); in CreateSyntheticBeginFrameArgs()
Dscheduler.h164 scoped_refptr<DelayBasedTimeSource> time_source_; variable
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl.cc144 time_source_->SetClient(NULL); in ~LayerTreeHostImplTimeSourceAdapter()
145 time_source_->SetActive(false); in ~LayerTreeHostImplTimeSourceAdapter()
184 if (active != time_source_->Active()) in SetActive()
185 time_source_->SetActive(active); in SetActive()
188 bool Active() const { return time_source_->Active(); } in Active()
195 time_source_(time_source) { in LayerTreeHostImplTimeSourceAdapter()
196 time_source_->SetClient(this); in LayerTreeHostImplTimeSourceAdapter()
200 scoped_refptr<DelayBasedTimeSource> time_source_; member in cc::LayerTreeHostImplTimeSourceAdapter