Searched refs:RepeatingAlarm (Results 1 – 5 of 5) sorted by relevance
39 RepeatingAlarm::RepeatingAlarm(Handler* handler) : handler_(handler), fd_(TIMERFD_CREATE(ALARM_CLOC… in RepeatingAlarm() function in bluetooth::os::RepeatingAlarm43 fd_, common::Bind(&RepeatingAlarm::on_fire, common::Unretained(this)), common::Closure()); in RepeatingAlarm()46 RepeatingAlarm::~RepeatingAlarm() { in ~RepeatingAlarm()54 void RepeatingAlarm::Schedule(Closure task, std::chrono::milliseconds period) { in Schedule()65 void RepeatingAlarm::Cancel() { in Cancel()72 void RepeatingAlarm::on_fire() { in on_fire()
35 alarm_ = new RepeatingAlarm(handler_); in SetUp()82 RepeatingAlarm* alarm_;117 …common::Bind(&RepeatingAlarm::Cancel, common::Unretained(this->alarm_)), std::chrono::milliseconds… in TEST_F()
34 class RepeatingAlarm {37 explicit RepeatingAlarm(Handler* handler);40 ~RepeatingAlarm();42 DISALLOW_COPY_AND_ASSIGN(RepeatingAlarm);
31 using ::bluetooth::os::RepeatingAlarm;41 repeating_alarm_ = std::make_unique<RepeatingAlarm>(handler_.get()); in SetUp()84 std::unique_ptr<RepeatingAlarm> repeating_alarm_;
97 friend class RepeatingAlarm; variable