Home
last modified time | relevance | path

Searched refs:alarm_ (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/gd/os/linux_generic/
Drepeating_alarm_unittest.cc38 alarm_ = new RepeatingAlarm(handler_); in SetUp()
42 delete alarm_; in TearDown()
54 alarm_->Schedule( in VerifyMultipleDelayedTasks()
67 alarm_->Cancel(); in VerifyMultipleDelayedTasks()
87 RepeatingAlarm* alarm_; member in bluetooth::os::__anon482b86720111::RepeatingAlarmTest
97 alarm_->Cancel(); in TEST_F()
104 alarm_->Schedule( in TEST_F()
108 alarm_->Cancel(); in TEST_F()
113 alarm_->Schedule(should_not_happen_, std::chrono::milliseconds(10)); in TEST_F()
114 alarm_->Cancel(); in TEST_F()
[all …]
Dalarm_unittest.cc39 alarm_ = std::make_shared<Alarm>(handler_); in SetUp()
43 alarm_.reset(); in TearDown()
58 std::shared_ptr<Alarm> alarm_; member in bluetooth::os::__anon2ff704340111::AlarmTest
66 alarm_->Cancel(); in TEST_F()
73 alarm_->Schedule( in TEST_F()
81alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F()
82 alarm_->Cancel(); in TEST_F()
89 alarm_->Schedule( in TEST_F()
96 alarm_, in TEST_F()
101 ASSERT_EQ(alarm_.use_count(), 1); in TEST_F()
[all …]
Dalarm_timerfd_unittest.cc57 alarm_ = std::make_shared<Alarm>(handler_); in SetUp()
61 alarm_.reset(); in TearDown()
71 std::shared_ptr<Alarm> alarm_; member in bluetooth::os::AlarmOnTimerFdTest
79 alarm_->Cancel(); in TEST_F()
85 alarm_->Schedule(BindOnce(&std::promise<void>::set_value, std::move(promise)), kShortWait); in TEST_F()
92 alarm_->Schedule(BindOnce([]() { FAIL(); }), kForever); in TEST_F()
93 alarm_->Cancel(); in TEST_F()
100 alarm_->Schedule( in TEST_F()
107 alarm_, in TEST_F()
116 alarm_->Schedule(BindOnce([]() { FAIL(); }), kForever); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/metrics/
Dcounter_metrics.cc36 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start()
37 alarm_->Schedule( in Start()
48 alarm_->Cancel(); in Stop()
49 alarm_.reset(); in Stop()
Dcounter_metrics.h47 std::unique_ptr<os::RepeatingAlarm> alarm_; variable
/packages/modules/Bluetooth/system/gd/os/
Dalarm_benchmark.cc40 alarm_ = std::make_unique<Alarm>(handler_.get()); in SetUp()
51 alarm_ = nullptr; in TearDown()
83 std::unique_ptr<Alarm> alarm_; member in BM_ReactableAlarm
91 alarm_->Schedule( in BENCHMARK_DEFINE_F()
98 alarm_->Cancel(); in BENCHMARK_DEFINE_F()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dsignalling_manager.cc60 fixed_service_manager_(fixed_service_manager), alarm_(handler) { in ClassicSignallingManager()
71 alarm_.Cancel(); in ~ClassicSignallingManager()
87 alarm_.Cancel(); in OnCommandReject()
171 alarm_.Cancel(); in CancelAlarm()
269alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConnectionResponse()
275 alarm_.Cancel(); in OnConnectionResponse()
533 alarm_.Cancel(); in OnConfigurationResponse()
538alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConfigurationResponse()
544 alarm_.Cancel(); in OnConfigurationResponse()
567 alarm_.Cancel(); in OnConfigurationResponse()
[all …]
Dsignalling_manager.h132 os::Alarm alarm_; variable
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dsignalling_manager.cc44 …service_manager_(dynamic_service_manager), channel_allocator_(channel_allocator), alarm_(handler) { in LeSignallingManager()
122 alarm_.Cancel(); in CancelAlarm()
131 alarm_.Cancel(); in OnCommandReject()
175 alarm_.Cancel(); in OnConnectionParameterUpdateResponse()
281 alarm_.Cancel(); in OnConnectionResponse()
341 alarm_.Cancel(); in OnDisconnectionResponse()
538alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
545alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
556alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
Dsignalling_manager.h172 os::Alarm alarm_; variable
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger.cc1344 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start()
1345 alarm_->Schedule( in Start()
1366 alarm_->Cancel(); in Stop()
1367 alarm_.reset(); in Stop()
Dsnoop_logger.h348 std::unique_ptr<os::RepeatingAlarm> alarm_; variable