Home
last modified time | relevance | path

Searched refs:future_t (Results 1 – 25 of 29) sorted by relevance

12

/system/bt/osi/src/
Dfuture.cc30 struct future_t { struct
36 static void future_free(future_t* future); argument
38 future_t* future_new(void) { in future_new()
39 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new()
54 future_t* future_new_immediate(void* value) { in future_new_immediate()
55 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new_immediate()
62 void future_ready(future_t* future, void* value) { in future_ready()
71 void* future_await(future_t* future) { in future_await()
82 static void future_free(future_t* future) { in future_free()
/system/bt/osi/include/
Dfuture.h21 typedef struct future_t future_t; typedef
27 future_t* future_new(void);
32 future_t* future_new_immediate(void* value);
37 void future_ready(future_t* future, void* value);
41 void* future_await(future_t* async_result);
/system/bt/osi/test/
Dfuture_test.cc36 future_ready((future_t*)context, (void*)pass_back_data0); in post_to_future()
40 future_t* future = future_new(); in TEST_F()
53 future_t* future = future_new_immediate((void*)pass_back_data1); in TEST_F()
/system/bt/test/mock/
Dmock_btif_stack_manager.cc23 static future_t* hack_future;
25 future_t* stack_manager_get_hack_future() { return hack_future; } in stack_manager_get_hack_future()
Dmock_main_shim.cc82 future_t* GeneralShutDown() { in GeneralShutDown()
86 future_t* IdleModuleStartUp() { in IdleModuleStartUp()
90 future_t* ShimModuleStartUp() { in ShimModuleStartUp()
/system/bt/stack/test/common/
Dmock_main_shim.cc82 future_t* GeneralShutDown() { in GeneralShutDown()
86 future_t* IdleModuleStartUp() { in IdleModuleStartUp()
90 future_t* ShimModuleStartUp() { in ShimModuleStartUp()
/system/bt/btcore/src/
Dosi_module.cc29 future_t* osi_init(void) { in osi_init()
33 future_t* osi_clean_up(void) { in osi_clean_up()
Dmodule.cc136 future_t* future = function(); in call_lifecycle_function()
/system/bt/main/shim/
Dshim.cc26 future_t* IdleModuleStartUp() { in IdleModuleStartUp()
31 future_t* ShimModuleStartUp() { in ShimModuleStartUp()
36 future_t* GeneralShutDown() { in GeneralShutDown()
Dshim.h29 constexpr future_t* kReturnImmediate = nullptr;
Dcontroller.cc49 static future_t* start_up(void);
50 static future_t* shut_down(void);
70 static future_t* start_up(void) { in start_up()
112 static future_t* shut_down(void) { in shut_down()
/system/bt/main/
Dstack_config.cc42 static future_t* init() { in init()
62 static future_t* clean_up() { in clean_up()
Dbte_logmsg.cc253 static future_t* init(void) { in init()
/system/bt/utils/src/
Dbt_utils.cc61 static future_t* init(void) { in init()
73 static future_t* clean_up(void) { in clean_up()
/system/bt/btif/include/
Dstack_manager.h38 future_t* stack_manager_get_hack_future();
/system/bt/btif/src/
Dstack_manager.cc102 static future_t* hack_future;
247 future_t* local_hack_future = future_new(); in event_start_up_stack()
323 future_t* local_hack_future = future_new(); in event_shut_down_stack()
445 future_t* stack_manager_get_hack_future() { return hack_future; } in stack_manager_get_hack_future()
/system/bt/btcore/include/
Dmodule.h27 typedef future_t* (*module_lifecycle_fn)(void);
/system/bt/hci/src/
Dhci_layer.cc75 future_t* complete_future;
106 static future_t* startup_future;
197 static future_t* hci_module_shut_down();
199 static future_t* hci_module_start_up(void) { in hci_module_start_up()
248 future_t* local_startup_future; in hci_module_start_up()
265 static future_t* hci_module_shut_down() { in hci_module_shut_down()
335 static future_t* transmit_command_futured(BT_HDR* command) { in transmit_command_futured()
338 future_t* future = future_new(); in transmit_command_futured()
Dbtsnoop.cc179 static future_t* start_up() { in start_up()
226 static future_t* shut_down(void) { in shut_down()
/system/bt/osi/test/fuzzers/future/
Dfuzz_future.cc37 future_t* future = nullptr; in LLVMFuzzerTestOneInput()
/system/bt/hci/include/
Dhci_layer.h81 future_t* (*transmit_command_futured)(BT_HDR* command);
/system/bt/test/stub/
Dosi.cc231 future_t* future_new(void) { in future_new()
235 future_t* future_new_immediate(void* value) { in future_new_immediate()
239 void future_ready(future_t* future, void* value) { in future_ready()
244 void* future_await(future_t* future) { in future_await()
/system/bt/osi/test/fuzzers/fixed_queue/
Dfuzz_fixed_queue.cc28 static future_t* received_message_future = nullptr;
/system/bt/btif/test/
Dbtif_stack_test.cc153 future_t* transmit_command_futured(BT_HDR* command) { in transmit_command_futured()
/system/bt/device/src/
Dinterop.cc102 static future_t* interop_clean_up(void) { in interop_clean_up()

12