Searched refs:alarm_ (Results 1 – 9 of 9) sorted by relevance
/system/bt/gd/os/linux_generic/ |
D | alarm_unittest.cc | 35 alarm_ = new Alarm(handler_); in SetUp() 39 delete alarm_; in TearDown() 44 Alarm* alarm_; member in bluetooth::os::__anone9ebacde0111::AlarmTest 52 alarm_->Cancel(); in TEST_F() 61 alarm_->Schedule( in TEST_F() 70 …alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F() 71 alarm_->Cancel(); in TEST_F() 76 …alarm_->Schedule(BindOnce(&Alarm::Cancel, common::Unretained(alarm_)), std::chrono::milliseconds(1… in TEST_F() 81 …alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F() 84 alarm_->Schedule( in TEST_F() [all …]
|
D | repeating_alarm_unittest.cc | 35 alarm_ = new RepeatingAlarm(handler_); in SetUp() 39 delete alarm_; in TearDown() 50 alarm_->Schedule( in VerifyMultipleDelayedTasks() 62 alarm_->Cancel(); in VerifyMultipleDelayedTasks() 82 RepeatingAlarm* alarm_; member in bluetooth::os::__anon69a28b9c0111::RepeatingAlarmTest 92 alarm_->Cancel(); in TEST_F() 100 alarm_->Schedule( in TEST_F() 103 alarm_->Cancel(); in TEST_F() 110 alarm_->Schedule(should_not_happen_, std::chrono::milliseconds(10)); in TEST_F() 111 alarm_->Cancel(); in TEST_F() [all …]
|
/system/bt/common/benchmark/ |
D | timer_performance_benchmark.cc | 66 alarm_ = alarm_new("osi_alarm_timer_test"); in SetUp() 72 alarm_free(alarm_); in TearDown() 76 alarm_t* alarm_ = nullptr; member in BM_OsiAlarmTimer 83 alarm_set(alarm_, milliseconds, &TimerFire, nullptr); in BENCHMARK_DEFINE_F() 161 alarm_ = alarm_new_periodic("osi_alarm_timer_test"); in SetUp() 172 alarm_free(alarm_); in TearDown() 176 alarm_t* alarm_ = nullptr; member in BM_OsiPeriodicAlarmTimer 185 alarm_set(alarm_, g_task_interval, &AlarmSleepAndCountDelayedTime, nullptr); in BENCHMARK_DEFINE_F() 187 alarm_cancel(alarm_); in BENCHMARK_DEFINE_F()
|
/system/memory/libmemunreachable/ |
D | ScopedDisableMalloc.h | 85 alarm_ = nullptr; in Enable() 90 alarm_ = std::make_unique<ScopedAlarm>(timeout_, [&]() { in Disable() 102 std::unique_ptr<ScopedAlarm> alarm_; variable
|
/system/bt/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()
|
/system/bt/gd/l2cap/classic/internal/ |
D | signalling_manager.cc | 58 fixed_service_manager_(fixed_service_manager), alarm_(handler) { in ClassicSignallingManager() 69 alarm_.Cancel(); in ~ClassicSignallingManager() 85 alarm_.Cancel(); in OnCommandReject() 157 alarm_.Cancel(); in CancelAlarm() 248 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConnectionResponse() 254 alarm_.Cancel(); in OnConnectionResponse() 509 alarm_.Cancel(); in OnConfigurationResponse() 514 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConfigurationResponse() 520 alarm_.Cancel(); in OnConfigurationResponse() 545 alarm_.Cancel(); in OnConfigurationResponse() [all …]
|
D | signalling_manager.h | 127 os::Alarm alarm_; variable
|
/system/bt/gd/l2cap/le/internal/ |
D | signalling_manager.cc | 42 …service_manager_(dynamic_service_manager), channel_allocator_(channel_allocator), alarm_(handler) { in LeSignallingManager() 114 alarm_.Cancel(); in CancelAlarm() 123 alarm_.Cancel(); in OnCommandReject() 163 alarm_.Cancel(); in OnConnectionParameterUpdateResponse() 275 alarm_.Cancel(); in OnConnectionResponse() 329 alarm_.Cancel(); in OnDisconnectionResponse() 492 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 499 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 507 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
|
D | signalling_manager.h | 160 os::Alarm alarm_; variable
|