/packages/modules/Bluetooth/system/test/headless/ |
D | bt_stack_info.cc | 31 std::promise<pid_t> promise; in BtStackInfo() local 34 [](std::promise<pid_t> promise) { in BtStackInfo() 42 std::promise<pid_t> promise; in BtStackInfo() local 45 [](std::promise<pid_t> promise) { promise.set_value(getpid()); }, in BtStackInfo()
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | alarm_timerfd_unittest.cc | 83 auto promise = std::make_unique<std::promise<void>>(); in TEST_F() local 90 auto promise = std::make_unique<std::promise<void>>(); in TEST_F() local 98 auto promise = std::promise<void>(); in TEST_F() local 102 [](std::shared_ptr<Alarm> alarm, std::promise<void> promise) { in TEST_F() 114 auto promise = std::make_unique<std::promise<void>>(); in TEST_F() local 122 auto promise = std::make_unique<std::promise<void>>(); in TEST_F() local 145 auto promise = std::make_unique<std::promise<void>>(); in TEST_F() local 149 [](std::shared_ptr<Alarm> alarm2, std::unique_ptr<std::promise<void>> promise) { in TEST_F()
|
D | alarm_unittest.cc | 70 std::promise<void> promise; in TEST_F() local 87 std::promise<void> promise; in TEST_F() local 91 [](std::shared_ptr<Alarm> alarm, std::promise<void> promise) { in TEST_F() 106 std::promise<void> promise; in TEST_F() local 136 auto promise = std::make_unique<std::promise<void>>(); in TEST_F() local 144 std::unique_ptr<std::promise<void>> promise2) { in TEST_F()
|
D | repeating_alarm_unittest.cc | 50 std::promise<void> promise; in VerifyMultipleDelayedTasks() local 74 std::promise<void>* promise, in verify_delayed_tasks() 101 std::promise<void> promise; in TEST_F() local 119 std::promise<void> promise; in TEST_F() local 123 [](RepeatingAlarm* alarm, std::promise<void>* promise) { in TEST_F() 136 std::promise<void> promise; in TEST_F() local
|
D | queue_unittest.cc | 88 std::promise<void> promise; in UnregisterEnqueue() local 135 void handle_unregister_enqueue(std::promise<void> promise) { in handle_unregister_enqueue() 154 std::promise<void> promise; in UnregisterDequeue() local 200 void handle_unregister_dequeue(std::promise<void> promise) { in handle_unregister_dequeue() 728 std::promise<void> promise; in TEST_F() local 732 [](os::Handler* dequeue_handler, Queue<std::string>* queue, std::promise<void>* promise) { in TEST_F() 734 [](Queue<std::string>* queue, std::promise<void>* promise) { in TEST_F() 888 std::promise<void> promise; in SynchronizeHandler() local 890 …handler_->Post(common::BindOnce([](std::promise<void> promise) { promise.set_value(); }, std::move… in SynchronizeHandler()
|
/packages/modules/Bluetooth/system/gd/ |
D | stack_manager.cc | 45 std::promise<void> promise; in StartUp() local 65 …ckManager::handle_start_up(ModuleList* modules, Thread* stack_thread, std::promise<void> promise) { in handle_start_up() 73 std::promise<void> promise; in ShutDown() local 94 void StackManager::handle_shut_down(std::promise<void> promise) { in handle_shut_down()
|
D | module_gdx_unittest.cc | 275 std::promise promise = std::promise<void>(); in sync_main_handler() local 282 std::promise promise = std::promise<void>(); in sync_jni_handler() local 322 [](std::promise<pid_t> promise) { promise.set_value(base::PlatformThread::CurrentId()); }, in get_handler_tid() 482 [](std::promise<void> promise) { in TEST_F() 518 [](std::promise<void> promise) { in TEST_F() 554 [](std::promise<void> promise) { in TEST_F() 590 [](std::promise<void> promise) { in TEST_F() 626 [](std::promise<void> promise) { in TEST_F() 662 [](std::promise<void> promise) { in TEST_F()
|
D | module_state_dumper_unittest.cc | 93 std::promise promise = std::promise<void>(); in sync_main_handler() local 125 [](std::promise<pid_t> promise) { promise.set_value(base::PlatformThread::CurrentId()); }, in get_handler_tid()
|
/packages/modules/Bluetooth/system/gd/common/ |
D | bidi_queue_unittest.cc | 69 std::promise<void>* promise = new std::promise<void>(); in Send() local 79 std::promise<TB*>* promise = new std::promise<TB*>(); in Receive() local 86 void handle_send(TA* value, std::promise<void>* promise) { in handle_send() 96 std::unique_ptr<TA> handle_register_enqueue(TA* value, std::promise<void>* promise) { in handle_register_enqueue() 102 void handle_receive(std::promise<TB*>* promise) { in handle_receive() 109 void handle_register_dequeue(std::promise<TB*>* promise) { in handle_register_dequeue()
|
/packages/modules/Bluetooth/system/common/ |
D | repeating_timer.cc | 80 std::promise<void> promise; in Cancel() local 86 std::promise<void> promise; in CancelAndWait() local 93 void RepeatingTimer::CancelHelper(std::promise<void> promise) { in CancelHelper() 110 void RepeatingTimer::CancelClosure(std::promise<void> promise) { in CancelClosure()
|
D | repeating_timer_unittest.cc | 40 void IncreaseTaskCounter(int scheduled_tasks, std::promise<void>* promise) { in IncreaseTaskCounter() 47 void GetName(std::string* name, std::promise<void>* promise) { in GetName() 54 void SleepAndIncreaseCounter(std::promise<void>* promise, int sleep_ms) { in SleepAndIncreaseCounter() 63 std::promise<void>* promise) { in VerifyDelayTimeAndSleep()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | stack_manager.cc | 153 std::promise<void> promise; in init_stack() local 177 std::promise<void> promise; in clean_up_stack() local 255 static void event_init_stack(std::promise<void> promise, in event_init_stack() 394 static void event_clean_up_stack(std::promise<void> promise, in event_clean_up_stack()
|
/packages/modules/Bluetooth/system/test/headless/sdp/ |
D | sdp.cc | 35 static void bta_jv_start_discovery_callback(std::promise<tSDP_STATUS>* promise, in bta_jv_start_discovery_callback() 59 std::promise<tSDP_STATUS> promise; in sdp_query_uuid() local
|
/packages/modules/Bluetooth/system/main/test/ |
D | main_shim_dumpsys_test.cc | 65 std::promise<void> promise; in TEST_F() local 75 std::promise<void> promise; in TEST_F() local
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | remote_name_request_test.cc | 98 common::ContextualOnceCallback<void(T...)> promiseCallback(std::promise<void> promise) { in promiseCallback() 100 [](std::promise<void> promise, T... /* args */) { promise.set_value(); }, in promiseCallback() 106 std::promise<std::tuple<T...>> promise) { in capturingPromiseCallback() 108 [](std::promise<std::tuple<T...>> promise, T... args) { in capturingPromiseCallback() 115 common::ContextualOnceCallback<void(T)> capturingPromiseCallback(std::promise<T> promise) { in capturingPromiseCallback() 117 [](std::promise<T> promise, T arg) { promise.set_value(arg); }, std::move(promise)); in capturingPromiseCallback()
|
D | acl_manager_unittest.cc | 179 std::promise<void> promise; in sync_client_handler() local 224 std::promise<void> promise; in SendAclData() local 229 [](decltype(queue_end) queue_end, uint16_t handle, std::promise<void> promise) { in SendAclData() 255 std::promise<void> promise; in TearDown() local 261 std::promise<void> promise; in TearDown() local 456 std::promise<void> promise; in sync_client_handler() local 532 auto promise = std::promise<void>(); in TEST_F() local
|
D | acl_manager.cc | 218 void AclManager::UnregisterCallbacks(ConnectionCallbacks* callbacks, std::promise<void> promise) { in UnregisterCallbacks() 246 void AclManager::UnregisterLeCallbacks(LeConnectionCallbacks* callbacks, std::promise<void> promise… in UnregisterLeCallbacks() 252 LeAcceptlistCallbacks* callbacks, std::promise<void> promise) { in UnregisterLeAcceptlistCallbacks() 272 void AclManager::IsOnBackgroundList(AddressWithType address_with_type, std::promise<bool> promise) { in IsOnBackgroundList() 450 …std::promise<flatbuffers::Offset<AclManagerData>> promise, flatbuffers::FlatBufferBuilder* fb_buil… in Dump() 483 std::promise<flatbuffers::Offset<AclManagerData>> promise; in GetDumpsysData() local
|
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/ |
D | fuzz_dynamic_channel_manager_impl.h | 81 …nFail(l2cap::classic::DynamicChannelManager::ConnectionResult result, std::promise<void> promise) { in SetConnectionOnFail() 86 …d SetConnectionOnOpen(std::unique_ptr<l2cap::DynamicChannel> channel, std::promise<void> promise) { in SetConnectionOnOpen()
|
/packages/modules/Bluetooth/system/gd/shim/ |
D | dumpsys.cc | 149 void Dumpsys::impl::DumpWithArgsSync(int fd, const char** args, std::promise<void> promise) { in DumpWithArgsSync() 173 std::promise<void> promise; in Dump() local 180 void Dumpsys::Dump(int fd, const char** args, std::promise<void> promise) { in Dump()
|
D | dumpsys_test.cc | 110 std::promise<void> promise; in TEST_F() local 127 std::promise<void> promise; in TEST_F() local
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | acl_scheduler_test.cc | 74 …ContextualOnceCallback<void(std::string)> promiseCallbackTakingString(std::promise<void> promise) { in promiseCallbackTakingString() 76 [](std::promise<void> promise, std::string /* _ */) { promise.set_value(); }, in promiseCallbackTakingString() 88 common::ContextualOnceCallback<void()> promiseCallback(std::promise<void> promise) { in promiseCallback() 89 …return client_handler_->BindOnce([](std::promise<void> promise) { promise.set_value(); }, std::mov… in promiseCallback()
|
/packages/modules/Bluetooth/system/test/common/ |
D | sync_main_handler.cc | 25 std::promise promise = std::promise<void>(); in sync_main_handler() local
|
/packages/modules/Bluetooth/system/gd/l2cap/le/ |
D | facade.cc | 237 std::promise<void> promise; in SendPacket() local 251 std::promise<void> promise) { in enqueue_callback() 391 std::promise<void> promise; in SendPacket() local 405 std::promise<void> promise) { in enqueue_callback()
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/ |
D | signalling_manager_test.cc | 39 std::promise<void> promise; in SyncHandler() local
|
/packages/modules/Bluetooth/system/main/shim/ |
D | dumpsys.cc | 64 std::promise<void> promise; in Dump() local
|