Searched refs:RepeatingTimer (Results 1 – 7 of 7) sorted by relevance
37 RepeatingTimer::~RepeatingTimer() { mock_function_count_map[__func__]++; } in ~RepeatingTimer()38 bool RepeatingTimer::IsScheduled() const { in IsScheduled()42 bool RepeatingTimer::SchedulePeriodic( in SchedulePeriodic()49 void RepeatingTimer::Cancel() { in Cancel()53 void RepeatingTimer::CancelAndWait() { mock_function_count_map[__func__]++; } in CancelAndWait()54 void RepeatingTimer::CancelClosure(std::promise<void> promise) { in CancelClosure()57 void RepeatingTimer::CancelHelper(std::promise<void> promise) { in CancelHelper()60 void RepeatingTimer::RunTask() { mock_function_count_map[__func__]++; } in RunTask()
29 RepeatingTimer::~RepeatingTimer() { in ~RepeatingTimer()37 bool RepeatingTimer::SchedulePeriodic( in SchedulePeriodic()57 base::Bind(&RepeatingTimer::RunTask, base::Unretained(this))); in SchedulePeriodic()77 void RepeatingTimer::Cancel() { in Cancel()83 void RepeatingTimer::CancelAndWait() { in CancelAndWait()91 void RepeatingTimer::CancelHelper(std::promise<void> promise) { in CancelHelper()103 FROM_HERE, base::BindOnce(&RepeatingTimer::CancelClosure, in CancelHelper()108 void RepeatingTimer::CancelClosure(std::promise<void> promise) { in CancelClosure()118 bool RepeatingTimer::IsScheduled() const { in IsScheduled()124 void RepeatingTimer::RunTask() { in RunTask()
37 class RepeatingTimer final {39 RepeatingTimer() : expected_time_next_task_us_(0) {} in RepeatingTimer() function40 ~RepeatingTimer();87 DISALLOW_COPY_AND_ASSIGN(RepeatingTimer);
27 using bluetooth::common::RepeatingTimer;100 timer_ = new RepeatingTimer(); in SetUp()116 RepeatingTimer* timer_;
32 using bluetooth::common::RepeatingTimer;109 repeating_timer_ = new RepeatingTimer(); in SetUp()127 RepeatingTimer* repeating_timer_;213 repeating_timer_ = new RepeatingTimer(); in SetUp()236 RepeatingTimer* repeating_timer_;
63 bluetooth::common::RepeatingTimer audio_timer;
58 using bluetooth::common::RepeatingTimer;219 RepeatingTimer media_alarm;