Searched refs:tick_clock (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/timer/ |
D | timer.h | 92 Timer(bool retain_user_task, bool is_repeating, const TickClock* tick_clock); 104 const TickClock* tick_clock); 242 explicit OneShotTimer(const TickClock* tick_clock) in OneShotTimer() argument 243 : Timer(false, false, tick_clock) {} in OneShotTimer() 255 explicit RepeatingTimer(const TickClock* tick_clock) in RepeatingTimer() argument 256 : Timer(true, true, tick_clock) {} in RepeatingTimer() 265 const TickClock* tick_clock) in RepeatingTimer() argument 266 : Timer(posted_from, delay, std::move(user_task), true, tick_clock) {} in RepeatingTimer() 275 explicit RetainingOneShotTimer(const TickClock* tick_clock) in RetainingOneShotTimer() argument 276 : Timer(true, false, tick_clock) {} in RetainingOneShotTimer() [all …]
|
D | timer.cc | 67 const TickClock* tick_clock) in Timer() argument 71 tick_clock_(tick_clock), in Timer() 90 const TickClock* tick_clock) in Timer() argument 97 tick_clock_(tick_clock), in Timer()
|
/external/libchrome/base/task/sequence_manager/ |
D | lazy_now.cc | 14 LazyNow::LazyNow(const TickClock* tick_clock) in LazyNow() argument 15 : tick_clock_(tick_clock), now_() { in LazyNow() 16 DCHECK(tick_clock); in LazyNow()
|
D | lazy_now.h | 24 explicit LazyNow(const TickClock* tick_clock);
|
/external/libchrome/base/test/ |
D | scoped_task_environment_unittest.cc | 288 const base::TickClock* tick_clock = in TEST_F() local 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()
|
/external/libchrome/ |
D | Android.bp | 267 "base/time/tick_clock.cc",
|