Lines Matching refs:promise
67 std::promise<void> connection_closed_promise_;
100 connected_promise_ = std::promise<void>(); in SetConnectionFuture()
109 register_promise_ = std::promise<void>(); in SetRegistrationFuture()
117 …nFail(l2cap::classic::DynamicChannelManager::ConnectionResult result, std::promise<void> promise) { in SetConnectionOnFail() argument
119 promise.set_value(); in SetConnectionOnFail()
122 …d SetConnectionOnOpen(std::unique_ptr<l2cap::DynamicChannel> channel, std::promise<void> promise) { in SetConnectionOnOpen() argument
124 promise.set_value(); in SetConnectionOnOpen()
135 std::promise<void> connected_promise_;
138 std::promise<void> register_promise_;
197 std::promise<uint16_t> promise; in CreateConnection() local
198 auto future = promise.get_future(); in CreateConnection()
204 std::move(promise)); in CreateConnection()
241 std::promise<void> connection_complete_promise_;
330 std::promise<void> on_fail_promise; in TEST_F()
363 std::promise<void> on_fail_promise; in TEST_F()
382 std::promise<uint16_t> registration_promise; in TEST_F()
407 std::promise<uint16_t> promise; in TEST_F() local
408 auto future = promise.get_future(); in TEST_F()
415 std::move(promise)); in TEST_F()
432 std::promise<uint16_t> promise; in TEST_F() local
433 auto future = promise.get_future(); in TEST_F()
441 std::move(promise)); in TEST_F()