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::__anon8d64eae50111::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::__anon91ca3e630111::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 | 65 alarm_ = alarm_new("osi_alarm_timer_test"); in SetUp() 71 alarm_free(alarm_); in TearDown() 75 alarm_t* alarm_ = nullptr; member in BM_OsiAlarmTimer 82 alarm_set(alarm_, milliseconds, &TimerFire, nullptr); in BENCHMARK_DEFINE_F() 160 alarm_ = alarm_new_periodic("osi_alarm_timer_test"); in SetUp() 171 alarm_free(alarm_); in TearDown() 175 alarm_t* alarm_ = nullptr; member in BM_OsiPeriodicAlarmTimer 184 alarm_set(alarm_, g_task_interval, &AlarmSleepAndCountDelayedTime, nullptr); in BENCHMARK_DEFINE_F() 186 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() 169 alarm_.Cancel(); in CancelAlarm() 260 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConnectionResponse() 266 alarm_.Cancel(); in OnConnectionResponse() 519 alarm_.Cancel(); in OnConfigurationResponse() 524 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConfigurationResponse() 530 alarm_.Cancel(); in OnConfigurationResponse() 553 alarm_.Cancel(); in OnConfigurationResponse() [all …]
|
D | signalling_manager.h | 132 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() 118 alarm_.Cancel(); in CancelAlarm() 127 alarm_.Cancel(); in OnCommandReject() 171 alarm_.Cancel(); in OnConnectionParameterUpdateResponse() 277 alarm_.Cancel(); in OnConnectionResponse() 333 alarm_.Cancel(); in OnDisconnectionResponse() 530 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 537 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 548 …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
|