Searched refs:command_promise_ (Results 1 – 5 of 5) sorted by relevance
111 if (command_promise_ != nullptr) { in EnqueueCommand()112 std::promise<void>* prom = command_promise_.release(); in EnqueueCommand()124 if (command_promise_ != nullptr) { in EnqueueCommand()125 std::promise<void>* prom = command_promise_.release(); in EnqueueCommand()170 std::unique_ptr<std::promise<void>> command_promise_; member in bluetooth::hci::acl_manager::__anonc5d659a60111::TestLeAclConnectionInterface
126 if (command_promise_ != nullptr) { in EnqueueCommand()127 std::promise<void>* prom = command_promise_.release(); in EnqueueCommand()139 if (command_promise_ != nullptr) { in EnqueueCommand()140 std::promise<void>* prom = command_promise_.release(); in EnqueueCommand()179 std::unique_ptr<std::promise<void>> command_promise_; member in TestAclConnectionInterface
69 command_promise_.set_value(); in EnqueueCommand()83 command_promise_.set_value(); in EnqueueCommand()101 command_promise_ = {}; in GetCommand()102 command_future_ = command_promise_.get_future(); in GetCommand()
55 if (command_promise_ != nullptr) { in EnqueueCommand()56 std::promise<void>* prom = command_promise_.release(); in EnqueueCommand()67 if (command_promise_ != nullptr) { in EnqueueCommand()68 std::promise<void>* prom = command_promise_.release(); in EnqueueCommand()75 ASSERT_EQ(command_promise_, nullptr) << "Promises, Promises, ... Only one at a time."; in SetCommandFuture()76 command_promise_ = std::make_unique<std::promise<void>>(); in SetCommandFuture()77 command_future_ = std::make_unique<std::future<void>>(command_promise_->get_future()); in SetCommandFuture()94 command_promise_.reset(); in GetCommand()133 std::unique_ptr<std::promise<void>> command_promise_; member in bluetooth::hci::__anon68a456930111::TestLeScanningInterface
117 std::promise<void> command_promise_{}; // Set when at least one command is in the queue119 command_promise_.get_future(); // GetCommand() blocks until this is fulfilled