Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_unittest.cc123 connection_promise_.set_value(connections_.back()); in OnConnectSuccess()
138 std::promise<std::shared_ptr<ClassicAclConnection>> connection_promise_; member in bluetooth::hci::acl_manager::__anond0d203480111::MockConnectionCallback
275 …mock_connection_callbacks_.connection_promise_ = std::promise<std::shared_ptr<ClassicAclConnection… in GetConnectionFuture()
277 return mock_connection_callbacks_.connection_promise_.get_future(); in GetConnectionFuture()
Dacl_manager_test.cc152 if (connection_promise_ != nullptr) { in SetUp()
153 connection_promise_->set_value(); in SetUp()
154 connection_promise_.reset(); in SetUp()
186 log::assert_that(connection_promise_ == nullptr, "Promises promises ... Only one at a time"); in GetConnectionFuture()
187 connection_promise_ = std::make_unique<std::promise<void>>(); in GetConnectionFuture()
188 return connection_promise_->get_future(); in GetConnectionFuture()
230 std::unique_ptr<std::promise<void>> connection_promise_; member in bluetooth::hci::acl_manager::AclManagerNoCallbacksTest