Home
last modified time | relevance | path

Searched refs:command_promise_ (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_acl_connection_test.cc111 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
Dclassic_acl_connection_test.cc126 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
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_fake.cc69 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()
Dle_periodic_sync_manager_test.cc55 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
Dhci_layer_fake.h117 std::promise<void> command_promise_{}; // Set when at least one command is in the queue
119 command_promise_.get_future(); // GetCommand() blocks until this is fulfilled