/external/libchrome/base/task/sequence_manager/test/ |
D | mock_time_domain.cc | 11 : 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()
|
D | mock_time_domain.h | 30 TimeTicks now_ticks_;
|
/external/cronet/base/test/ |
D | test_mock_time_task_runner.cc | 175 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 …]
|
D | simple_test_tick_clock.cc | 17 return now_ticks_; in NowTicks() 23 now_ticks_ += delta; in Advance() 28 now_ticks_ = ticks; in SetNowTicks()
|
D | task_environment.cc | 216 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()
|
D | simple_test_tick_clock.h | 36 TimeTicks now_ticks_; variable
|
D | test_mock_time_task_runner.h | 307 TimeTicks now_ticks_; variable
|
/external/cronet/base/task/sequence_manager/test/ |
D | mock_time_domain.cc | 13 : now_ticks_(initial_now_ticks) {} in MockTimeDomain() 18 return now_ticks_; in NowTicks() 22 now_ticks_ = now_ticks; in SetNowTicks()
|
D | mock_time_domain.h | 35 TimeTicks now_ticks_;
|
/external/libchrome/base/test/ |
D | simple_test_tick_clock.cc | 17 return now_ticks_; in NowTicks() 23 now_ticks_ += delta; in Advance() 28 now_ticks_ = ticks; in SetNowTicks()
|
D | test_mock_time_task_runner.cc | 208 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()
|
D | simple_test_tick_clock.h | 36 TimeTicks now_ticks_; variable
|
D | test_mock_time_task_runner.h | 271 TimeTicks now_ticks_; variable
|
/external/cronet/base/allocator/partition_allocator/starscan/ |
D | pcscan_scheduling_unittest.cc | 104 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/ |
D | url_request_throttler_test_support.cc | 13 TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {} in TestTickClock() 18 return now_ticks_; in NowTicks()
|
D | url_request_throttler_test_support.h | 25 void set_now(base::TimeTicks now) { now_ticks_ = now; } in set_now() 28 base::TimeTicks now_ticks_;
|
/external/cronet/net/base/ |
D | backoff_entry_unittest.cc | 26 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
|
D | backoff_entry_serializer_unittest.cc | 44 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/ |
D | time_unittest.cc | 892 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/ |
D | time_unittest.cc | 1373 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()
|