Home
last modified time | relevance | path

Searched refs:RepeatingTimer (Results 1 – 7 of 7) sorted by relevance

/system/bt/common/
Drepeating_timer.cc29 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()
Drepeating_timer.h37 class RepeatingTimer final {
39 RepeatingTimer() : expected_time_next_task_us_(0) {} in RepeatingTimer() function
40 ~RepeatingTimer();
87 DISALLOW_COPY_AND_ASSIGN(RepeatingTimer);
Drepeating_timer_unittest.cc27 using bluetooth::common::RepeatingTimer;
100 timer_ = new RepeatingTimer(); in SetUp()
116 RepeatingTimer* timer_;
Dmessage_loop_thread.h179 friend class RepeatingTimer; // allow Timer to use DoInThreadDelayed() variable
/system/bt/common/benchmark/
Dtimer_performance_benchmark.cc32 using bluetooth::common::RepeatingTimer;
110 repeating_timer_ = new RepeatingTimer(); in SetUp()
128 RepeatingTimer* repeating_timer_;
214 repeating_timer_ = new RepeatingTimer(); in SetUp()
237 RepeatingTimer* repeating_timer_;
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc40 bluetooth::common::RepeatingTimer audio_timer;
/system/bt/btif/src/
Dbtif_a2dp_source.cc55 using bluetooth::common::RepeatingTimer;
216 RepeatingTimer media_alarm;