Home
last modified time | relevance | path

Searched refs:RepeatingAlarm (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/gd/os/
Drepeating_alarm.h34 class RepeatingAlarm {
37 explicit RepeatingAlarm(Handler* handler);
39 RepeatingAlarm(const RepeatingAlarm&) = delete;
40 RepeatingAlarm& operator=(const RepeatingAlarm&) = delete;
43 ~RepeatingAlarm();
Dalarm_benchmark.cc31 using ::bluetooth::os::RepeatingAlarm;
41 repeating_alarm_ = std::make_unique<RepeatingAlarm>(handler_.get()); in SetUp()
83 std::unique_ptr<RepeatingAlarm> repeating_alarm_;
Dhandler.h71 friend class RepeatingAlarm; variable
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Drepeating_alarm.cc39 RepeatingAlarm::RepeatingAlarm(Handler* handler) in RepeatingAlarm() function in bluetooth::os::RepeatingAlarm
44 fd_, common::Bind(&RepeatingAlarm::on_fire, common::Unretained(this)), common::Closure()); in RepeatingAlarm()
47 RepeatingAlarm::~RepeatingAlarm() { in ~RepeatingAlarm()
55 void RepeatingAlarm::Schedule(Closure task, std::chrono::milliseconds period) { in Schedule()
66 void RepeatingAlarm::Cancel() { in Cancel()
73 void RepeatingAlarm::on_fire() { in on_fire()
Drepeating_alarm_unittest.cc38 alarm_ = new RepeatingAlarm(handler_); in SetUp()
78 RepeatingAlarm* alarm_;
111 [](RepeatingAlarm* alarm, std::promise<void>* promise) { in TEST_F()
/packages/modules/Bluetooth/system/gd/metrics/
Dcounter_metrics.h54 std::unique_ptr<os::RepeatingAlarm> alarm_;
Dcounter_metrics.cc33 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger.h351 std::unique_ptr<os::RepeatingAlarm> alarm_;
Dsnoop_logger.cc1358 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start()
/packages/modules/Bluetooth/system/gd/hci/
Ddistance_measurement_manager.cc172 std::unique_ptr<os::RepeatingAlarm> repeating_alarm;
378 rssi_trackers[address].repeating_alarm = std::make_unique<os::RepeatingAlarm>(handler_); in start_distance_measurement()