/packages/modules/Bluetooth/system/osi/src/ |
D | future.cc | 31 struct future_t { struct 37 static void future_free(future_t* future); argument 39 future_t* future_new(void) { in future_new() 40 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new() 55 future_t* future_new_immediate(void* value) { in future_new_immediate() 56 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new_immediate() 63 void future_ready(future_t* future, void* value) { in future_ready() 72 void* future_await(future_t* future) { in future_await() 85 static void future_free(future_t* future) { in future_free()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_future.h | 44 std::function<void*(future_t* future)> body{ 45 [this](future_t* /* future */) { return return_value; }}; 46 void* operator()(future_t* future) { return body(future); } in operator() 54 future_t* return_value{0}; 55 std::function<future_t*(void)> body{[this](void) { return return_value; }}; 56 future_t* operator()(void) { return body(); } in operator() 64 future_t* return_value{0}; 65 std::function<future_t*(void* value)> body{[this](void* /* value */) { 69 future_t* operator()(void* value) { return body(value); } in operator() 77 std::function<void(future_t* future, void* value)> body{ [all …]
|
D | mock_osi_future.cc | 45 void* future_await(future_t* future) { in future_await() 49 future_t* future_new(void) { in future_new() 53 future_t* future_new_immediate(void* value) { in future_new_immediate() 57 void future_ready(future_t* future, void* value) { in future_ready()
|
D | mock_btif_stack_manager.cc | 26 static future_t* hack_future; 28 future_t* stack_manager_get_hack_future() { return hack_future; } in stack_manager_get_hack_future()
|
/packages/modules/Bluetooth/system/osi/include/ |
D | future.h | 21 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);
|
/packages/modules/Bluetooth/system/device/src/ |
D | device_iot_config_int.h | 62 struct future_t; 67 future_t* device_iot_config_module_init(void); 68 future_t* device_iot_config_module_start_up(void); 69 future_t* device_iot_config_module_shut_down(void); 70 future_t* device_iot_config_module_clean_up(void);
|
D | device_iot_config_int.cc | 60 future_t* device_iot_config_module_init(void) { in device_iot_config_module_init() 153 future_t* device_iot_config_module_start_up(void) { in device_iot_config_module_start_up() 158 future_t* device_iot_config_module_shut_down(void) { in device_iot_config_module_shut_down() 164 future_t* device_iot_config_module_clean_up(void) { in device_iot_config_module_clean_up()
|
D | interop.cc | 291 static future_t* interop_init(void) { in interop_init() 299 static future_t* interop_clean_up(void) { in interop_clean_up()
|
/packages/modules/Bluetooth/system/osi/test/ |
D | future_test.cc | 35 future_ready((future_t*)context, (void*)pass_back_data0); in post_to_future() 39 future_t* future = future_new(); in TEST_F() 52 future_t* future = future_new_immediate((void*)pass_back_data1); in TEST_F()
|
D | fixed_queue_test.cc | 16 static future_t* received_message_future = NULL;
|
/packages/modules/Bluetooth/system/rust/src/core/ffi/ |
D | module.cc | 46 void FutureReady(future_t& future) { future_ready(&future, FUTURE_SUCCESS); } in FutureReady() 52 future_t* Start() { in Start() 73 future_t* Stop() { in Stop()
|
D | module.h | 29 void FutureReady(future_t& future);
|
/packages/modules/Bluetooth/system/btcore/src/ |
D | osi_module.cc | 29 static future_t* osi_init(void) { return future_new_immediate(FUTURE_SUCCESS); } in osi_init() 31 static future_t* osi_clean_up(void) { in osi_clean_up()
|
D | module.cc | 141 future_t* future = function(); in call_lifecycle_function()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | shim.cc | 36 static future_t* ShimModuleStartUp() { in ShimModuleStartUp() 46 static future_t* GeneralShutDown() { in GeneralShutDown()
|
D | shim.h | 27 constexpr future_t* kReturnImmediate = nullptr;
|
/packages/modules/Bluetooth/system/btif/src/ |
D | stack_manager.cc | 134 static future_t* hack_future; 286 future_t* local_hack_future = future_new(); in event_start_up_stack() 345 future_t* local_hack_future = future_new(); in event_shut_down_stack() 481 future_t* stack_manager_get_hack_future() { return hack_future; } in stack_manager_get_hack_future()
|
D | btif_config.cc | 148 static future_t* init(void) { in init() 157 static future_t* shut_down(void) { return future_new_immediate(FUTURE_SUCCESS); } in shut_down() 159 static future_t* clean_up(void) { in clean_up()
|
/packages/modules/Bluetooth/system/main/ |
D | stack_config.cc | 58 static future_t* init() { in init() 80 static future_t* clean_up() { in clean_up()
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 196 future_t* future_new(void) { in future_new() 200 future_t* future_new_immediate(void* value) { in future_new_immediate() 204 void future_ready(future_t* future, void* value) { inc_func_call_count(__func__); } in future_ready() 207 void* future_await(future_t* future) { in future_await()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | stack_manager_t.h | 47 future_t* stack_manager_get_hack_future();
|
/packages/modules/Bluetooth/system/btcore/include/ |
D | module.h | 25 typedef future_t* (*module_lifecycle_fn)(void);
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/future/ |
D | fuzz_future.cc | 37 future_t* future = nullptr; in LLVMFuzzerTestOneInput()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/fixed_queue/ |
D | fuzz_fixed_queue.cc | 29 static future_t* received_message_future = nullptr;
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 51 struct future_t { struct 52 future_t(void* /*value*/) {} in future_t() argument 57 struct future_t placeholder_future(NULL); argument 80 test::mock::osi_future::future_new_immediate.body = [&](void* /*value*/) -> future_t* { in SetUp() 798 test::mock::osi_future::future_new_immediate.body = [&](void* /*value*/) -> future_t* { in SetUp()
|