Home
last modified time | relevance | path

Searched refs:le_connection_promise_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_test.cc192 log::assert_that(le_connection_promise_ == nullptr, "Promises promises ... Only one at a time"); in GetLeConnectionFuture()
193 le_connection_promise_ = std::make_unique<std::promise<void>>(); in GetLeConnectionFuture()
194 return le_connection_promise_->get_future(); in GetLeConnectionFuture()
234 std::unique_ptr<std::promise<void>> le_connection_promise_; member in bluetooth::hci::acl_manager::AclManagerNoCallbacksTest
386 if (le_connection_promise_ != nullptr) { in SetUp()
387 le_connection_promise_->set_value(); in SetUp()
388 le_connection_promise_.reset(); in SetUp()
548 if (le_connection_promise_ != nullptr) { in TEST_F()
549 le_connection_promise_->set_value(); in TEST_F()
550 le_connection_promise_.reset(); in TEST_F()
[all …]
Dacl_manager_unittest.cc148 if (le_connection_promise_ != nullptr) { in OnLeConnectSuccess()
149 std::promise<void>* prom = le_connection_promise_.release(); in OnLeConnectSuccess()
157 std::unique_ptr<std::promise<void>> le_connection_promise_; member in bluetooth::hci::acl_manager::__anond0d203480111::MockLeConnectionCallbacks
281 mock_le_connection_callbacks_.le_connection_promise_ = std::make_unique<std::promise<void>>(); in GetLeConnectionFuture()
282 return mock_le_connection_callbacks_.le_connection_promise_->get_future(); in GetLeConnectionFuture()