Home
last modified time | relevance | path

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

/system/bt/gd/os/linux_generic/
Dalarm_unittest.cc35 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()
70alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F()
71 alarm_->Cancel(); in TEST_F()
76alarm_->Schedule(BindOnce(&Alarm::Cancel, common::Unretained(alarm_)), std::chrono::milliseconds(1… in TEST_F()
81alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F()
84 alarm_->Schedule( in TEST_F()
[all …]
Drepeating_alarm_unittest.cc35 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/
Dtimer_performance_benchmark.cc65 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/
DScopedDisableMalloc.h85 alarm_ = nullptr; in Enable()
90 alarm_ = std::make_unique<ScopedAlarm>(timeout_, [&]() { in Disable()
102 std::unique_ptr<ScopedAlarm> alarm_; variable
/system/bt/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()
/system/bt/gd/l2cap/classic/internal/
Dsignalling_manager.cc58 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()
260alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConnectionResponse()
266 alarm_.Cancel(); in OnConnectionResponse()
519 alarm_.Cancel(); in OnConfigurationResponse()
524alarm_.Schedule(common::BindOnce(&ClassicSignallingManager::on_command_timeout, common::Unretained… in OnConfigurationResponse()
530 alarm_.Cancel(); in OnConfigurationResponse()
553 alarm_.Cancel(); in OnConfigurationResponse()
[all …]
Dsignalling_manager.h132 os::Alarm alarm_; variable
/system/bt/gd/l2cap/le/internal/
Dsignalling_manager.cc42 …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()
530alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
537alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
548alarm_.Schedule(common::BindOnce(&LeSignallingManager::on_command_timeout, common::Unretained(this… in handle_send_next_command()
Dsignalling_manager.h172 os::Alarm alarm_; variable