Home
last modified time | relevance | path

Searched refs:time_domain_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dtime_domain_unittest.cc75 time_domain_ = WrapUnique(CreateTestTimeDomain()); in SetUp()
77 nullptr, time_domain_.get(), TaskQueue::Spec("test")); in SetUp()
89 std::unique_ptr<TestTimeDomain> time_domain_; member in base::sequence_manager::TimeDomainTest
95 TimeTicks delayed_runtime = time_domain_->Now() + delay; in TEST_F()
96 EXPECT_CALL(*time_domain_.get(), SetNextDelayedDoWork(_, delayed_runtime)); in TEST_F()
97 TimeTicks now = time_domain_->Now(); in TEST_F()
102 EXPECT_EQ(delayed_runtime, time_domain_->NextScheduledRunTime()); in TEST_F()
104 EXPECT_EQ(task_queue_.get(), time_domain_->NextScheduledTaskQueue()); in TEST_F()
105 Mock::VerifyAndClearExpectations(time_domain_.get()); in TEST_F()
107 EXPECT_CALL(*time_domain_.get(), SetNextDelayedDoWork(_, TimeTicks::Max())) in TEST_F()
[all …]
Dsequence_manager_perftest.cc71 manager_->UnregisterTimeDomain(time_domain_.get()); in TearDown()
83 time_domain_.reset(new PerfTestTimeDomain()); in Initialize()
84 manager_->RegisterTimeDomain(time_domain_.get()); in Initialize()
88 TaskQueue::Spec("test").SetTimeDomain(time_domain_.get()))); in Initialize()
201 std::unique_ptr<TimeDomain> time_domain_; member in base::sequence_manager::SequenceManagerPerfTest
Dwork_queue_unittest.cc37 time_domain_.reset(new RealTimeDomain()); in SetUp()
38 task_queue_ = std::make_unique<TaskQueueImpl>(nullptr, time_domain_.get(), in SetUp()
76 std::unique_ptr<RealTimeDomain> time_domain_; member in base::sequence_manager::internal::WorkQueueTest
Dtask_queue_selector_unittest.cc149 time_domain_ = std::make_unique<MockTimeDomain>(TimeTicks() + in SetUp()
153 std::make_unique<TaskQueueImpl>(nullptr, time_domain_.get(), in SetUp()
177 return std::make_unique<TaskQueueImpl>(nullptr, time_domain_.get(), in NewTaskQueueWithBlockReporting()
184 std::unique_ptr<TimeDomain> time_domain_; member in base::sequence_manager::internal::task_queue_selector_unittest::TaskQueueSelectorTest