/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | repeating_alarm_unittest.cc | 38 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 …]
|
D | alarm_unittest.cc | 39 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() 81 …alarm_->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 …]
|
D | alarm_timerfd_unittest.cc | 57 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/ |
D | counter_metrics.cc | 36 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start() 37 alarm_->Schedule( in Start() 48 alarm_->Cancel(); in Stop() 49 alarm_.reset(); in Stop()
|
D | counter_metrics.h | 47 std::unique_ptr<os::RepeatingAlarm> alarm_; variable
|
/packages/modules/Bluetooth/system/gd/os/ |
D | alarm_benchmark.cc | 40 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/ |
D | signalling_manager.cc | 60 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() 269 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConnectionResponse() 275 alarm_.Cancel(); in OnConnectionResponse() 533 alarm_.Cancel(); in OnConfigurationResponse() 538 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConfigurationResponse() 544 alarm_.Cancel(); in OnConfigurationResponse() 567 alarm_.Cancel(); in OnConfigurationResponse() [all …]
|
D | signalling_manager.h | 132 os::Alarm alarm_; variable
|
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/ |
D | signalling_manager.cc | 44 …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() 538 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 545 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 556 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
|
D | signalling_manager.h | 172 os::Alarm alarm_; variable
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger.cc | 1344 alarm_ = std::make_unique<os::RepeatingAlarm>(GetHandler()); in Start() 1345 alarm_->Schedule( in Start() 1366 alarm_->Cancel(); in Stop() 1367 alarm_.reset(); in Stop()
|
D | snoop_logger.h | 348 std::unique_ptr<os::RepeatingAlarm> alarm_; variable
|