Home
last modified time | relevance | path

Searched refs:Alarm (Results 1 – 17 of 17) sorted by relevance

/system/bt/gd/os/linux_generic/
Dalarm.cc40 Alarm::Alarm(Handler* handler) : handler_(handler), fd_(TIMERFD_CREATE(ALARM_CLOCK, 0)) { in Alarm() function in bluetooth::os::Alarm
44 fd_, common::Bind(&Alarm::on_fire, common::Unretained(this)), Closure()); in Alarm()
47 Alarm::~Alarm() { in ~Alarm()
55 void Alarm::Schedule(OnceClosure task, std::chrono::milliseconds delay) { in Schedule()
65 void Alarm::Cancel() { in Cancel()
72 void Alarm::on_fire() { in on_fire()
Dalarm_unittest.cc35 alarm_ = new Alarm(handler_); in SetUp()
44 Alarm* alarm_;
76 …alarm_->Schedule(BindOnce(&Alarm::Cancel, common::Unretained(alarm_)), std::chrono::milliseconds(1… in TEST_F()
/system/bt/gd/os/
Dalarm.h34 class Alarm {
37 explicit Alarm(Handler* handler);
40 ~Alarm();
42 DISALLOW_COPY_AND_ASSIGN(Alarm);
Dalarm_benchmark.cc29 using ::bluetooth::os::Alarm;
40 alarm_ = std::make_unique<Alarm>(handler_.get()); in SetUp()
83 std::unique_ptr<Alarm> alarm_;
Dhandler.h95 friend class Alarm; variable
/system/bt/main/shim/
Dbtm.h226 os::Alarm scanning_timer_;
227 os::Alarm observing_timer_;
/system/bt/gd/storage/
Dstorage_module.cc40 using os::Alarm;
92 Alarm config_save_alarm_;
/system/bt/gd/hci/
Dhci_layer.cc40 using os::Alarm;
88 hci_timeout_alarm_ = new Alarm(module.GetHandler()); in impl()
219 Alarm* hci_timeout_alarm_{nullptr};
Dle_address_manager.h134 std::unique_ptr<os::Alarm> address_rotation_alarm_;
Dle_address_manager.cc66 address_rotation_alarm_ = std::make_unique<os::Alarm>(handler_); in SetPrivacyPolicyForInitiatorAddress()
109 address_rotation_alarm_ = std::make_unique<os::Alarm>(handler_); in SetPrivacyPolicyForInitiatorAddressForTest()
/system/bt/gd/l2cap/classic/internal/
Dsignalling_manager.h127 os::Alarm alarm_;
Dlink.h193 os::Alarm link_idle_disconnect_alarm_{l2cap_handler_};
/system/bt/gd/l2cap/le/internal/
Dlink.h148 os::Alarm link_idle_disconnect_alarm_{l2cap_handler_};
Dsignalling_manager.h160 os::Alarm alarm_;
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc95 os::Alarm retrans_timer_;
96 os::Alarm monitor_timer_;
/system/bt/gd/docs/architecture/
Dstyle_guide.md98 * os/: OS dependent classes such as Alarm, Thread, Handler
Darchitecture.md188 `Alarm`, and [socketfd](http://man7.org/linux/man-pages/man2/socket.2.html) for