Home
last modified time | relevance | path

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

/external/libchrome/base/task/sequence_manager/test/
Dmock_time_domain.cc11 : now_ticks_(initial_now_ticks) {} in MockTimeDomain()
16 return LazyNow(now_ticks_); in CreateLazyNow()
20 return now_ticks_; in Now()
24 now_ticks_ = now_ticks; in SetNowTicks()
Dmock_time_domain.h30 TimeTicks now_ticks_;
/external/libchrome/base/test/
Dsimple_test_tick_clock.cc17 return now_ticks_; in NowTicks()
23 now_ticks_ += delta; in Advance()
28 now_ticks_ = ticks; in SetNowTicks()
Dtest_mock_time_task_runner.cc208 now_ticks_(start_ticks), in TestMockTimeTaskRunner()
275 return now_ticks_; in NowTicks()
344 : tasks_.top().GetTimeToRun() - now_ticks_; in NextPendingTaskDelay()
358 tasks_.push(TestOrderedPendingTask(from_here, std::move(task), now_ticks_, in PostDelayedTask()
418 if (later_ticks <= now_ticks_) in ForwardClocksUntilTickTime()
421 now_ += later_ticks - now_ticks_; in ForwardClocksUntilTickTime()
422 now_ticks_ = later_ticks; in ForwardClocksUntilTickTime()
472 auto_fast_forward_by = tasks_.top().GetTimeToRun() - now_ticks_; in Run()
Dsimple_test_tick_clock.h36 TimeTicks now_ticks_; variable
Dtest_mock_time_task_runner.h271 TimeTicks now_ticks_; variable
/external/libchrome/base/time/
Dtime_unittest.cc892 now_ticks_ += TimeDelta::FromSeconds(1); in Now()
893 return now_ticks_; in Now()
896 static TimeTicks now_ticks_; member in base::__anon32d1aa880111::TimeTicksOverride
900 TimeTicks TimeTicksOverride::now_ticks_; member in base::__anon32d1aa880111::TimeTicksOverride
903 TimeTicksOverride::now_ticks_ = TimeTicks::Min(); in TEST()
939 now_ticks_ += TimeDelta::FromSeconds(1); in Now()
940 return now_ticks_; in Now()
943 static ThreadTicks now_ticks_; member in base::__anon32d1aa880111::ThreadTicksOverride
947 ThreadTicks ThreadTicksOverride::now_ticks_; member in base::__anon32d1aa880111::ThreadTicksOverride
956 ThreadTicksOverride::now_ticks_ = ThreadTicks::Min(); in TEST()