Home
last modified time | relevance | path

Searched refs:tick_clock (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/timer/
Dtimer.h92 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 …]
Dtimer.cc67 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/
Dlazy_now.cc14 LazyNow::LazyNow(const TickClock* tick_clock) in LazyNow() argument
15 : tick_clock_(tick_clock), now_() { in LazyNow()
16 DCHECK(tick_clock); in LazyNow()
Dlazy_now.h24 explicit LazyNow(const TickClock* tick_clock);
/external/libchrome/base/test/
Dscoped_task_environment_unittest.cc288 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/
DAndroid.bp267 "base/time/tick_clock.cc",