/external/chromium_org/cc/test/ |
scheduler_test_common.cc | 23 : DelayBasedTimeSource(interval, task_runner), now_src_(now_src) { 27 return now_src_->Now(); 47 now_src_(now_src), 59 return now_src_->Now();
|
ordered_simple_task_runner.cc | 80 now_src_(TestNowSource::Create(0)), 88 now_src_(now_src), 102 from_here, task, now_src_->Now(), delay, base::TestPendingTask::NESTABLE); 116 now_src_->Now(), 145 base::TimeDelta delay = NextTaskTime() - now_src_->Now(); 186 modifiable_conditions.push_back(NowBefore(now_src_->Now())); 235 if (!advance_now_ && now_src_->Now() < time) 236 now_src_->SetNow(time); 243 if (!result && advance_now_ && now_src_->Now() < time) { 244 now_src_->SetNow(time) [all...] |
ordered_simple_task_runner_unittest.cc | 59 : now_src_(TestNowSource::Create(base::TimeTicks())) { 60 task_runner_ = new OrderedSimpleTaskRunner(now_src_, true); 66 scoped_refptr<TestNowSource> now_src_; member in class:cc::OrderedSimpleTaskRunnerTest 119 now_src_->Now().ToInternalValue() / 279 now_src_->SetNow(base::TimeTicks::FromInternalValue(5000)); 282 now_src_->SetNow(base::TimeTicks::FromInternalValue(25000)); 306 EXPECT_EQ(run_at, now_src_->Now()); 310 EXPECT_EQ(run_at, now_src_->Now()); 314 EXPECT_EQ(run_at, now_src_->Now()); 329 EXPECT_EQ(run_at, now_src_->Now()) [all...] |
scheduler_test_common.h | 73 scoped_refptr<TestNowSource> now_src_; member in class:cc::TestDelayBasedTimeSource 119 scoped_refptr<TestNowSource> now_src_; member in class:cc::TestScheduler
|
ordered_simple_task_runner.h | 141 scoped_refptr<TestNowSource> now_src_; member in class:cc::OrderedSimpleTaskRunner
|
/external/chromium_org/cc/scheduler/ |
scheduler_unittest.cc | 53 now_src_(TestNowSource::Create()) { 67 scheduler_ = TestScheduler::Create(now_src_, this, settings, 0); 93 scheduler_->BeginFrame(CreateBeginFrameArgsForTesting(now_src_)); 101 TestNowSource* now_src() { return now_src_.get(); } 236 scoped_refptr<TestNowSource> now_src_; member in class:cc::__anon7418::FakeSchedulerClient [all...] |