Home
last modified time | relevance | path

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

12

/system/bt/gd/
Dstack_manager.cc39 std::promise<void> promise; in StartUp() local
50 …ckManager::handle_start_up(ModuleList* modules, Thread* stack_thread, std::promise<void> promise) { in handle_start_up()
56 std::promise<void> promise; in ShutDown() local
69 void StackManager::handle_shut_down(std::promise<void> promise) { in handle_shut_down()
/system/bt/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()
/system/bt/common/
Donce_timer.cc68 std::promise<void> promise; in Cancel() local
74 std::promise<void> promise; in CancelAndWait() local
81 void OnceTimer::CancelHelper(std::promise<void> promise) { in CancelHelper()
98 void OnceTimer::CancelClosure(std::promise<void> promise) { in CancelClosure()
Drepeating_timer.cc78 std::promise<void> promise; in Cancel() local
84 std::promise<void> promise; in CancelAndWait() local
91 void RepeatingTimer::CancelHelper(std::promise<void> promise) { in CancelHelper()
108 void RepeatingTimer::CancelClosure(std::promise<void> promise) { in CancelClosure()
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()
/system/bt/gd/os/linux_generic/
Drepeating_alarm_unittest.cc46 std::promise<void> promise; in VerifyMultipleDelayedTasks() local
69 std::promise<void>* promise, in verify_delayed_tasks()
96 std::promise<void> promise; in TEST_F() local
123 std::promise<void> promise; in TEST_F() local
Dalarm_unittest.cc56 std::promise<void> promise; in TEST_F() local
82 std::promise<void> promise; in TEST_F() local
Dqueue_unittest.cc78 std::promise<void> promise; in UnregisterEnqueue() local
124 void handle_unregister_enqueue(std::promise<void> promise) { in handle_unregister_enqueue()
143 std::promise<void> promise; in UnregisterDequeue() local
189 void handle_unregister_dequeue(std::promise<void> promise) { in handle_unregister_dequeue()
716 std::promise<void> promise; in TEST_F() local
720 [](os::Handler* dequeue_handler, Queue<std::string>* queue, std::promise<void>* promise) { in TEST_F()
722 [](Queue<std::string>* queue, std::promise<void>* promise) { in TEST_F()
876 std::promise<void> promise; in SynchronizeHandler() local
878 …handler_->Post(common::BindOnce([](std::promise<void> promise) { promise.set_value(); }, std::move… in SynchronizeHandler()
/system/bt/test/headless/sdp/
Dsdp.cc33 auto promise = static_cast<std::promise<uint16_t>*>(user_data); in bta_jv_start_discovery_callback() local
92 std::promise<uint16_t> promise; in sdp_query_uuid() local
/system/security/keystore/
Dkeystore_client_impl.cpp183 android::sp<KeystoreResponsePromise> promise(new KeystoreResponsePromise()); in addRandomNumberGeneratorEntropy() local
204 android::sp<KeyCharacteristicsPromise> promise(new KeyCharacteristicsPromise); in generateKey() local
231 android::sp<KeyCharacteristicsPromise> promise(new KeyCharacteristicsPromise); in getKeyCharacteristics() local
259 android::sp<KeyCharacteristicsPromise> promise(new KeyCharacteristicsPromise); in importKey() local
285 android::sp<KeystoreExportPromise> promise(new KeystoreExportPromise); in exportKey() local
325 android::sp<OperationResultPromise> promise(new OperationResultPromise{}); in beginOperation() local
355 android::sp<OperationResultPromise> promise(new OperationResultPromise{}); in updateOperation() local
389 android::sp<OperationResultPromise> promise(new OperationResultPromise{}); in finishOperation() local
417 android::sp<KeystoreResponsePromise> promise(new KeystoreResponsePromise{}); in abortOperation() local
/system/bt/gd/shim/
Ddumpsys_test.cc111 std::promise<void> promise; in TEST_F() local
128 std::promise<void> promise; in TEST_F() local
Ddumpsys.cc136 void Dumpsys::impl::DumpWithArgsSync(int fd, const char** args, std::promise<void> promise) { in DumpWithArgsSync()
145 std::promise<void> promise; in Dump() local
151 void Dumpsys::Dump(int fd, const char** args, std::promise<void> promise) { in Dump()
Dl2cap_test.cc119 …nFail(l2cap::classic::DynamicChannelManager::ConnectionResult result, std::promise<void> promise) { in SetConnectionOnFail()
124 …d SetConnectionOnOpen(std::unique_ptr<l2cap::DynamicChannel> channel, std::promise<void> promise) { in SetConnectionOnOpen()
201 std::promise<uint16_t> promise; in CreateConnection() local
427 std::promise<uint16_t> promise; in TEST_F() local
458 std::promise<uint16_t> promise; in TEST_F() local
/system/security/keystore-engine/
Dkeystore_backend_binder.cpp141 sp<OperationResultPromise> promise(new OperationResultPromise()); in sign() local
257 android::sp<KeystoreExportPromise> promise(new KeystoreExportPromise); in get_pubkey() local
/system/bt/gd/l2cap/classic/internal/
Dsignalling_manager_test.cc39 std::promise<void> promise; in SyncHandler() local
Dfixed_channel_service_manager_test.cc60 std::promise<void> promise; in sync_user_handler() local
Ddynamic_channel_service_manager_test.cc63 std::promise<void> promise; in sync_user_handler() local
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp94 android::sp<KeystoreExportPromise> promise(new KeystoreExportPromise); in getPublicKey() local
187 sp<OperationResultPromise> promise(new OperationResultPromise()); in sign() local
/system/bt/gd/l2cap/le/
Dfacade.cc217 std::promise<void> promise; in SendPacket() local
231 std::promise<void> promise) { in enqueue_callback()
367 std::promise<void> promise; in SendPacket() local
381 std::promise<void> promise) { in enqueue_callback()
/system/bt/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()
/system/bt/gd/security/test/
Dfake_l2cap_test.cc64 std::promise<void> promise; in sync_handler() local
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_service_manager_test.cc60 std::promise<void> promise; in sync_user_handler() local
Ddynamic_channel_service_manager_test.cc62 std::promise<void> promise; in sync_user_handler() local
/system/bt/gd/l2cap/internal/
Dscheduler_fifo_test.cc54 std::promise<void> promise; in sync_handler() local

12