Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dfuture.c30 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 = osi_calloc(sizeof(future_t)); in future_new()
54 future_t *future_new_immediate(void *value) { in future_new_immediate()
55 future_t *ret = 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()
83 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.cpp35 future_ready((future_t *)context, (void *)pass_back_data0); in post_to_future()
39 future_t *future = future_new(); in TEST_F()
51 future_t *future = future_new_immediate((void *)pass_back_data1); in TEST_F()
Dfixed_queue_test.cpp20 static future_t *received_message_future = NULL;
/system/bt/btif/src/
Dstack_manager.c57 static future_t *hack_future;
143 future_t *local_hack_future = future_new(); in event_start_up_stack()
170 future_t *local_hack_future = future_new(); in event_shut_down_stack()
201 future_t *local_hack_future = future_new(); in event_clean_up_stack()
254 future_t *stack_manager_get_hack_future() { in stack_manager_get_hack_future()
Dbtif_config.c137 static future_t *init(void) { in init()
230 static future_t *shut_down(void) { in shut_down()
235 static future_t *clean_up(void) { in clean_up()
/system/bt/btcore/src/
Dosi_module.c30 future_t *osi_init(void) { in osi_init()
35 future_t *osi_clean_up(void) { in osi_clean_up()
Dmodule.c160 future_t *future = function(); in call_lifecycle_function()
/system/bt/profile/src/
Dmanager.c39 static future_t *init(void) { in init()
51 static future_t *clean_up(void) { in clean_up()
/system/bt/device/src/classic/
Dpeer.c48 static future_t *init(void) { in init()
62 static future_t *clean_up(void) { in clean_up()
/system/bt/main/
Dstack_config.c42 static future_t *init() { in init()
62 static future_t *clean_up() { in clean_up()
Dbte_logmsg.c233 static future_t *init(void) { in init()
/system/bt/utils/src/
Dbt_utils.c58 static future_t *init(void) { in init()
73 static future_t *clean_up(void) { in clean_up()
/system/bt/btif/include/
Dstack_manager.h37 future_t *stack_manager_get_hack_future();
/system/bt/hci/src/
Dhci_layer.c91 future_t *complete_future;
120 static future_t *startup_future;
141 static future_t *shut_down();
167 static future_t *start_up(void) { in start_up()
235 future_t *local_startup_future = future_new(); in start_up()
281 static future_t *shut_down() { in shut_down()
375 static future_t *transmit_command_futured(BT_HDR *command) { in transmit_command_futured()
377 future_t *future = future_new(); in transmit_command_futured()
Dbtsnoop.c70 static future_t *start_up(void) { in start_up()
77 static future_t *shut_down(void) { in shut_down()
/system/bt/btcore/include/
Dmodule.h26 typedef future_t *(*module_lifecycle_fn)(void);
/system/bt/hci/include/
Dhci_layer.h97 future_t *(*transmit_command_futured)(BT_HDR *command);
/system/bt/device/src/
Dcontroller.c83 static future_t *start_up(void) { in start_up()
259 static future_t *shut_down(void) { in shut_down()
Dinterop.c93 static future_t *interop_clean_up(void) { in interop_clean_up()