Home
last modified time | relevance | path

Searched refs:now_ticks_ (Results 1 – 20 of 20) 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/cronet/base/test/
Dtest_mock_time_task_runner.cc175 now_ticks_(start_ticks), in TestMockTimeTaskRunner()
253 return now_ticks_; in NowTicks()
311 : tasks_.top().GetTimeToRun() - now_ticks_; in NextPendingTaskDelay()
329 tasks_.push(TestOrderedPendingTask(from_here, std::move(task), now_ticks_, in PostDelayedTask()
344 delayed_run_time.is_null() ? TimeDelta() : delayed_run_time - now_ticks_); in PostDelayedTaskAt()
401 if (later_ticks <= now_ticks_) in ForwardClocksUntilTickTime()
404 now_ += later_ticks - now_ticks_; in ForwardClocksUntilTickTime()
405 now_ticks_ = later_ticks; in ForwardClocksUntilTickTime()
439 TimeTicks run_until = now_ticks_ + timeout; in Run()
440 while (!quit_run_loop_ && now_ticks_ < run_until) { in Run()
[all …]
Dsimple_test_tick_clock.cc17 return now_ticks_; in NowTicks()
23 now_ticks_ += delta; in Advance()
28 now_ticks_ = ticks; in SetNowTicks()
Dtask_environment.cc216 now_ticks_ += delta; in AdvanceClock()
253 return now_ticks_; in NowTicks()
314 now_ticks_ = std::max(now_ticks_, *next_task_time); in FastForwardToNextTaskOrCap()
344 now_ticks_ = std::max(now_ticks_, fast_forward_cap); in FastForwardToNextTaskOrCap()
366 TimeTicks now_ticks_ GUARDED_BY(now_ticks_lock_){ in GUARDED_BY()
Dsimple_test_tick_clock.h36 TimeTicks now_ticks_; variable
Dtest_mock_time_task_runner.h307 TimeTicks now_ticks_; variable
/external/cronet/base/task/sequence_manager/test/
Dmock_time_domain.cc13 : now_ticks_(initial_now_ticks) {} in MockTimeDomain()
18 return now_ticks_; in NowTicks()
22 now_ticks_ = now_ticks; in SetNowTicks()
Dmock_time_domain.h35 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/cronet/base/allocator/partition_allocator/starscan/
Dpcscan_scheduling_unittest.cc104 void AddTicksToNow(base::TimeDelta ticks) { now_ticks_ += ticks; } in AddTicksToNow()
107 static base::TimeTicks Now() { return now_ticks_; } in Now()
110 now_ticks_ = base::TimeTicks::Now(); in InitializeTimeAndReturnTimeTicksNow()
118 static base::TimeTicks now_ticks_; member in partition_alloc::internal::__anond31267110211::ScopedTimeTicksOverride
124 base::TimeTicks ScopedTimeTicksOverride::now_ticks_; member in partition_alloc::internal::__anond31267110211::ScopedTimeTicksOverride
/external/cronet/net/url_request/
Durl_request_throttler_test_support.cc13 TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {} in TestTickClock()
18 return now_ticks_; in NowTicks()
Durl_request_throttler_test_support.h25 void set_now(base::TimeTicks now) { now_ticks_ = now; } in set_now()
28 base::TimeTicks now_ticks_;
/external/cronet/net/base/
Dbackoff_entry_unittest.cc26 TimeTicks NowTicks() const override { return now_ticks_; } in NowTicks()
27 void set_now(TimeTicks now) { now_ticks_ = now; } in set_now()
30 TimeTicks now_ticks_; member in net::__anon66ad9d200111::TestTickClock
Dbackoff_entry_serializer_unittest.cc44 TimeTicks NowTicks() const override { return now_ticks_; } in NowTicks()
45 void set_now(TimeTicks now) { now_ticks_ = now; } in set_now()
48 TimeTicks now_ticks_; member in net::__anon9e0e39d90111::TestTickClock
/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::__anon43f537440111::TimeTicksOverride
900 TimeTicks TimeTicksOverride::now_ticks_; member in base::__anon43f537440111::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::__anon43f537440111::ThreadTicksOverride
947 ThreadTicks ThreadTicksOverride::now_ticks_; member in base::__anon43f537440111::ThreadTicksOverride
956 ThreadTicksOverride::now_ticks_ = ThreadTicks::Min(); in TEST()
/external/cronet/base/time/
Dtime_unittest.cc1373 now_ticks_ += Seconds(1); in Now()
1374 return now_ticks_; in Now()
1377 static TimeTicks now_ticks_; member in base::__anona4b1495a0111::TimeTicksOverride
1381 TimeTicks TimeTicksOverride::now_ticks_; member in base::__anona4b1495a0111::TimeTicksOverride
1384 TimeTicksOverride::now_ticks_ = TimeTicks::Min(); in TEST()
1420 now_ticks_ += Seconds(1); in Now()
1421 return now_ticks_; in Now()
1424 static ThreadTicks now_ticks_; member in base::__anona4b1495a0111::ThreadTicksOverride
1428 ThreadTicks ThreadTicksOverride::now_ticks_; member in base::__anona4b1495a0111::ThreadTicksOverride
1437 ThreadTicksOverride::now_ticks_ = ThreadTicks::Min(); in TEST()