Home
last modified time | relevance | path

Searched defs:promise (Results 1 – 25 of 74) sorted by relevance

123

/packages/modules/Bluetooth/system/gd/
Dstack_manager.cc43 std::promise<void> promise; in StartUp() local
60 …ckManager::handle_start_up(ModuleList* modules, Thread* stack_thread, std::promise<void> promise) { in handle_start_up()
68 std::promise<void> promise; in ShutDown() local
88 void StackManager::handle_shut_down(std::promise<void> promise) { in handle_shut_down()
/packages/modules/Bluetooth/system/gd/common/
Dbidi_queue_unittest.cc69 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/
Donce_timer.cc74 std::promise<void> promise; in Schedule() local
80 std::promise<void> promise; in Schedule() local
87 void OnceTimer::CancelHelper(std::promise<void> promise) { in Schedule()
104 void OnceTimer::CancelClosure(std::promise<void> promise) { in Schedule()
Drepeating_timer.cc89 std::promise<void> promise; in SchedulePeriodic() local
95 std::promise<void> promise; in SchedulePeriodic() local
102 void RepeatingTimer::CancelHelper(std::promise<void> promise) { in SchedulePeriodic()
119 void RepeatingTimer::CancelClosure(std::promise<void> promise) { in SchedulePeriodic()
Drepeating_timer_unittest.cc39 void IncreaseTaskCounter(int scheduled_tasks, std::promise<void>* promise) { in IncreaseTaskCounter()
46 void GetName(std::string* name, std::promise<void>* promise) { in GetName()
53 void SleepAndIncreaseCounter(std::promise<void>* promise, int sleep_ms) { in SleepAndIncreaseCounter()
62 std::promise<void>* promise) { in VerifyDelayTimeAndSleep()
Donce_timer_unittest.cc39 void IncreaseTaskCounter(int scheduled_tasks, std::promise<void>* promise) { in IncreaseTaskCounter()
46 void GetName(std::string* name, std::promise<void>* promise) { in GetName()
53 void SleepAndIncreaseCounter(std::promise<void>* promise, int sleep_ms) { in SleepAndIncreaseCounter()
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Drepeating_alarm_unittest.cc49 std::promise<void> promise; in VerifyMultipleDelayedTasks() local
73 std::promise<void>* promise, in verify_delayed_tasks()
100 std::promise<void> promise; in TEST_F() local
125 std::promise<void> promise; in TEST_F() local
Dalarm_unittest.cc64 std::promise<void> promise; in TEST_F() local
87 std::promise<void> promise; in TEST_F() local
Dqueue_unittest.cc86 std::promise<void> promise; in UnregisterEnqueue() local
133 void handle_unregister_enqueue(std::promise<void> promise) { in handle_unregister_enqueue()
152 std::promise<void> promise; in UnregisterDequeue() local
198 void handle_unregister_dequeue(std::promise<void> promise) { in handle_unregister_dequeue()
726 std::promise<void> promise; in TEST_F() local
730 [](os::Handler* dequeue_handler, Queue<std::string>* queue, std::promise<void>* promise) { in TEST_F()
732 [](Queue<std::string>* queue, std::promise<void>* promise) { in TEST_F()
886 std::promise<void> promise; in SynchronizeHandler() local
888 …handler_->Post(common::BindOnce([](std::promise<void> promise) { promise.set_value(); }, std::move… in SynchronizeHandler()
/packages/modules/Bluetooth/system/test/mock/
Dmock_common_repeating_timer.cc54 void RepeatingTimer::CancelClosure(std::promise<void> promise) { in CancelClosure()
57 void RepeatingTimer::CancelHelper(std::promise<void> promise) { in CancelHelper()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_dumpsys_test.cc65 std::promise<void> promise; in TEST_F() local
75 std::promise<void> promise; in TEST_F() local
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/
Dfuzz_dynamic_channel_manager_impl.h83 …nFail(l2cap::classic::DynamicChannelManager::ConnectionResult result, std::promise<void> promise) { in SetConnectionOnFail()
88 …d SetConnectionOnOpen(std::unique_ptr<l2cap::DynamicChannel> channel, std::promise<void> promise) { in SetConnectionOnOpen()
Dshim_l2cap.h42 std::promise<uint16_t> promise; in CreateConnection() local
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_unittest.cc155 std::promise<void> promise; in FailIfResetNotSent() local
181 std::promise<void> promise; in TEST_F() local
193 std::promise<void> promise; in TEST_F() local
215 std::promise<void> promise; in TEST_F() local
Dacl_manager_unittest.cc254 std::promise<void> promise; in IncomingAclData() local
259 [](decltype(queue_end) queue_end, uint16_t handle, std::promise<void> promise) { in IncomingAclData()
408 std::promise<void> promise; in sync_client_handler() local
460 std::promise<void> promise; in SendAclData() local
465 [](decltype(queue_end) queue_end, uint16_t handle, std::promise<void> promise) { in SendAclData()
492 std::promise<void> promise; in TearDown() local
498 std::promise<void> promise; in TearDown() local
697 std::promise<void> promise; in sync_client_handler() local
766 auto promise = std::promise<void>(); in TEST_F() local
Dacl_manager.cc140 void AclManager::UnregisterCallbacks(ConnectionCallbacks* callbacks, std::promise<void> promise) { in UnregisterCallbacks()
158 void AclManager::UnregisterLeCallbacks(LeConnectionCallbacks* callbacks, std::promise<void> promise in UnregisterLeCallbacks()
174 void AclManager::IsOnBackgroundList(AddressWithType address_with_type, std::promise<bool> promise) { in IsOnBackgroundList()
337std::promise<flatbuffers::Offset<AclManagerData>> promise, flatbuffers::FlatBufferBuilder* fb_buil… in Dump()
370 std::promise<flatbuffers::Offset<AclManagerData>> promise; in GetDumpsysData() local
/packages/modules/Bluetooth/system/test/headless/sdp/
Dsdp.cc36 auto promise = in bta_jv_start_discovery_callback() local
96 std::promise<uint16_t> promise; in sdp_query_uuid() local
/packages/modules/Bluetooth/system/gd/shim/
Ddumpsys.cc134 void Dumpsys::impl::DumpWithArgsSync(int fd, const char** args, std::promise<void> promise) { in DumpWithArgsSync()
146 std::promise<void> promise; in Dump() local
152 void Dumpsys::Dump(int fd, const char** args, std::promise<void> promise) { in Dump()
Ddumpsys_test.cc110 std::promise<void> promise; in TEST_F() local
127 std::promise<void> promise; in TEST_F() local
/packages/modules/Bluetooth/system/btif/src/
Dstack_manager.cc176 std::promise<void> promise; in clean_up_stack() local
405 static void event_clean_up_stack(std::promise<void> promise) { in event_clean_up_stack()
/packages/modules/Bluetooth/system/stack/test/a2dp/
Da2dp_aac_unittest.cc180 std::promise<void> promise; in TEST_F() local
202 std::promise<void> promise; in TEST_F() local
241 std::promise<void> promise; in TEST_F() local
291 std::promise<void> promise; in TEST_F() local
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dfacade.cc221 std::promise<void> promise; in SendPacket() local
235 std::promise<void> promise) { in enqueue_callback()
371 std::promise<void> promise; in SendPacket() local
385 std::promise<void> promise) { in enqueue_callback()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dsignalling_manager_test.cc39 std::promise<void> promise; in SyncHandler() local
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc126 auto promise = std::promise<void>(); in SetUp() local
137 auto promise = std::promise<void>(); in TearDown() local
161 std::promise<void> promise; in TEST_F() local
168 std::promise<void> promise; in TEST_F() local
177 std::promise<int> promise; in TEST_F() local
/packages/modules/Bluetooth/system/gd/os/
Dqueue_benchmark.cc59 …EnqueueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<void>* promise) in TestEnqueueEnd()
109 …DequeueEnd(int64_t count, Queue<std::string>* queue, Handler* handler, std::promise<void>* promise) in TestDequeueEnd()

123