/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::__anonce3dd2090111::AlarmTest 52 alarm_->Cancel(); in TEST_F() 61 alarm_->Schedule(BindOnce(&std::promise<void>::set_value, common::Unretained(&promise)), 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(BindOnce(&std::promise<void>::set_value, common::Unretained(&promise)), in TEST_F() [all …]
|
D | repeating_alarm_unittest.cc | 35 alarm_ = new RepeatingAlarm(handler_); in SetUp() 39 delete alarm_; in TearDown() 50 … alarm_->Schedule(common::Bind(&RepeatingAlarmTest::verify_delayed_tasks, common::Unretained(this), in VerifyMultipleDelayedTasks() 55 alarm_->Cancel(); in VerifyMultipleDelayedTasks() 70 RepeatingAlarm* alarm_; member in bluetooth::os::__anon293962870111::RepeatingAlarmTest 80 alarm_->Cancel(); in TEST_F() 88 alarm_->Schedule(common::Bind(&std::promise<void>::set_value, common::Unretained(&promise)), in TEST_F() 91 alarm_->Cancel(); in TEST_F() 98 alarm_->Schedule(should_not_happen_, std::chrono::milliseconds(1)); in TEST_F() 99 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 | 41 alarm_ = std::make_unique<Alarm>(handler_.get()); in SetUp() 52 alarm_ = nullptr; in TearDown() 84 std::unique_ptr<Alarm> alarm_; member in BM_ReactableAlarm 92 alarm_->Schedule( in BENCHMARK_DEFINE_F() 99 alarm_->Cancel(); in BENCHMARK_DEFINE_F()
|
/system/bt/gd/l2cap/classic/internal/ |
D | signalling_manager.cc | 42 fixed_service_manager_(fixed_service_manager), alarm_(handler) { in ClassicSignallingManager() 64 alarm_.Cancel(); in OnCommandReject() 115 alarm_.Cancel(); in CancelAlarm() 213 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConnectionResponse() 219 alarm_.Cancel(); in OnConnectionResponse() 363 …alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConfigurationResponse() 416 alarm_.Cancel(); in OnConfigurationResponse() 443 alarm_.Cancel(); in OnDisconnectionResponse() 473 alarm_.Cancel(); in OnEchoResponse() 543 alarm_.Cancel(); in OnInformationResponse() [all …]
|
D | signalling_manager.h | 119 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() 97 alarm_.Cancel(); in CancelAlarm() 106 alarm_.Cancel(); in OnCommandReject() 185 alarm_.Cancel(); in OnConnectionResponse() 238 alarm_.Cancel(); in OnDisconnectionResponse() 398 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command() 405 …alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
|
D | signalling_manager.h | 111 os::Alarm alarm_; variable
|