Home
last modified time | relevance | path

Searched refs:Alarm (Results 1 – 22 of 22) 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/gd/rust/common/src/
Dtime.rs9 pub struct Alarm { struct
13 impl Alarm { implementation
43 impl Default for Alarm { implementation
45 Alarm::new() in default()
84 use super::Alarm;
93 let mut alarm = Alarm::new(); in alarm_simple_case()
108 let mut alarm = Alarm::new(); in alarm_clear_ready_after_expired()
/system/bt/gd/hci/
Dhci_layer.cc45 using os::Alarm;
96 hci_timeout_alarm_ = new Alarm(module.GetHandler()); in impl()
203 hci_abort_alarm_ = new Alarm(module_.GetHandler()); in on_hci_timeout()
293 hci_abort_alarm_ = new Alarm(module_.GetHandler()); in handle_root_inflammation()
345 Alarm* hci_timeout_alarm_{nullptr};
346 Alarm* hci_abort_alarm_{nullptr};
Dle_address_manager.h138 std::unique_ptr<os::Alarm> address_rotation_alarm_;
Dle_address_manager.cc85 address_rotation_alarm_ = std::make_unique<os::Alarm>(handler_); in SetPrivacyPolicyForInitiatorAddress()
129 address_rotation_alarm_ = std::make_unique<os::Alarm>(handler_); in SetPrivacyPolicyForInitiatorAddressForTest()
Dle_advertising_manager.cc58 std::unique_ptr<os::Alarm> address_rotation_alarm;
309 advertising_sets_[id].address_rotation_alarm = std::make_unique<os::Alarm>(module_handler_); in create_extended_advertiser()
/system/bt/main/shim/
Dbtm.h192 os::Alarm scanning_timer_;
193 os::Alarm observing_timer_;
/system/bt/gd/storage/
Dstorage_module.cc40 using os::Alarm;
92 Alarm config_save_alarm_;
/system/bt/gd/rust/hci/src/
Dlib.rs15 use bt_common::time::Alarm;
176 let mut hci_timeout = Alarm::new(); in dispatch()
/system/bt/gd/l2cap/classic/internal/
Dsignalling_manager.h132 os::Alarm alarm_;
Dlink.h221 os::Alarm link_idle_disconnect_alarm_{l2cap_handler_};
/system/bt/gd/l2cap/le/internal/
Dlink.h164 os::Alarm link_idle_disconnect_alarm_{l2cap_handler_};
Dsignalling_manager.h172 os::Alarm alarm_;
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dstate_machine.rs1 use bt_common::time::Alarm;
100 let mut command_timeout = Alarm::new(); in mainloop()
/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
/system/bt/gd/hci/acl_manager/
Dle_impl.h702 std::map<AddressWithType, os::Alarm> create_connection_timeout_alarms_;