/external/libchrome/base/test/ |
D | test_mock_time_task_runner.cc | 30 TimeTicks NowTicks() const override { return task_runner_->NowTicks(); } in NowTicks() function in base::__anon3fe6fc2d0111::LegacyMockTickClock 227 const TimeTicks original_now_ticks = NowTicks(); in FastForwardBy() 233 ForwardClocksUntilTickTime(NowTicks() + delta); in AdvanceMockTickClock() 273 TimeTicks TestMockTimeTaskRunner::NowTicks() const { in NowTicks() function in base::TestMockTimeTaskRunner 397 const TimeTicks original_now_ticks = NowTicks(); in ProcessAllTasksNoLaterThan() 489 TimeTicks TestMockTimeTaskRunner::MockClock::NowTicks() const { in NowTicks() function in base::TestMockTimeTaskRunner::MockClock 490 return task_runner_->NowTicks(); in NowTicks()
|
D | scoped_task_environment_unittest.cc | 290 base::TimeTicks tick_clock_ref = tick_clock->NowTicks(); in TEST_F() 294 EXPECT_EQ(kShortTaskDelay, tick_clock->NowTicks() - tick_clock_ref); in TEST_F() 298 EXPECT_EQ(kLongTaskDelay, tick_clock->NowTicks() - tick_clock_ref); in TEST_F() 303 EXPECT_EQ(kLongTaskDelay * 2, tick_clock->NowTicks() - tick_clock_ref); in TEST_F()
|
D | test_mock_time_task_runner_unittest.cc | 268 TimeTicks start_time = task_runner->NowTicks(); in TEST() 275 EXPECT_EQ(start_time, task_runner->NowTicks()); in TEST() 280 TimeTicks start_time = task_runner->NowTicks(); in TEST() 286 EXPECT_EQ(start_time + TimeDelta::FromSeconds(3), task_runner->NowTicks()); in TEST()
|
D | test_mock_time_task_runner.h | 162 TimeTicks NowTicks() const; 219 TimeTicks NowTicks() const override;
|
D | simple_test_tick_clock.h | 24 TimeTicks NowTicks() const override;
|
D | simple_test_tick_clock.cc | 15 TimeTicks SimpleTestTickClock::NowTicks() const { in NowTicks() function in base::SimpleTestTickClock
|
/external/libchrome/base/timer/ |
D | mock_timer.cc | 41 clock_.Advance(std::max(TimeDelta(), desired_run_time() - clock_.NowTicks())); in Fire() 60 clock_.Advance(std::max(TimeDelta(), desired_run_time() - clock_.NowTicks())); in Fire() 79 clock_.Advance(std::max(TimeDelta(), desired_run_time() - clock_.NowTicks())); in Fire()
|
D | timer.cc | 190 return tick_clock_ ? tick_clock_->NowTicks() : TimeTicks::Now(); in Now()
|
/external/libchrome/base/task/sequence_manager/ |
D | sequence_manager_impl_unittest.cc | 99 start_time_ = GetTickClock()->NowTicks(); in SetUp() 170 start_time_ = mock_clock_.NowTicks(); in SetUpWithMessageLoop() 178 start_time_ = mock_clock_.NowTicks(); in SetUpWithMessagePump() 231 TimeTicks NowTicks() const override { in NowTicks() function in base::sequence_manager::internal::sequence_manager_impl_unittest::TestCountUsesTimeSource 851 run_times->push_back(clock->NowTicks()); in RecordTimeTask() 858 run_times->emplace_back(task_queue, clock->NowTicks()); in RecordTimeAndQueueTask() 877 runners_[0]->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P() 902 runners_[0]->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P() 934 runners_[0]->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P() 974 queue1->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P() [all …]
|
D | lazy_now.cc | 30 now_ = tick_clock_->NowTicks(); in Now()
|
D | real_time_domain.cc | 22 return sequence_manager()->NowTicks(); in Now()
|
D | sequence_manager.h | 79 virtual TimeTicks NowTicks() const = 0;
|
D | sequence_manager_impl.cc | 581 TimeTicks now = NowTicks(); in AsValueWithSelectorResult() 679 TimeTicks SequenceManagerImpl::NowTicks() const { in NowTicks() function in base::sequence_manager::internal::SequenceManagerImpl 680 return controller_->GetClock()->NowTicks(); in NowTicks()
|
D | thread_controller_with_message_pump_impl.cc | 75 DCHECK_LT(time_source_->NowTicks(), run_time); in SetNextDelayedDoWork()
|
D | sequence_manager_impl.h | 97 TimeTicks NowTicks() const override;
|
/external/libchrome/base/time/ |
D | tick_clock.h | 35 virtual TimeTicks NowTicks() const = 0;
|
D | default_tick_clock.cc | 13 TimeTicks DefaultTickClock::NowTicks() const { in NowTicks() function in base::DefaultTickClock
|
D | default_tick_clock.h | 19 TimeTicks NowTicks() const override;
|