Home
last modified time | relevance | path

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

/system/bt/test/mock/
Dmock_common_repeating_timer.cc37 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()
/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_;
/system/bt/common/benchmark/
Dtimer_performance_benchmark.cc32 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_;
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc63 bluetooth::common::RepeatingTimer audio_timer;
/system/bt/btif/src/
Dbtif_a2dp_source.cc58 using bluetooth::common::RepeatingTimer;
219 RepeatingTimer media_alarm;