Searched refs:connection_promise_ (Results 1 – 2 of 2) sorted by relevance
123 connection_promise_.set_value(connections_.back()); in OnConnectSuccess()138 std::promise<std::shared_ptr<ClassicAclConnection>> connection_promise_; member in bluetooth::hci::acl_manager::__anond0d203480111::MockConnectionCallback275 …mock_connection_callbacks_.connection_promise_ = std::promise<std::shared_ptr<ClassicAclConnection… in GetConnectionFuture()277 return mock_connection_callbacks_.connection_promise_.get_future(); in GetConnectionFuture()
152 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