/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*(const char* name)> body{ 67 future_t* operator()(const char* name) { return body(name); }; in operator() 75 future_t* return_value{0}; [all …]
|
D | mock_osi_future.cc | 46 void* future_await(future_t* future) { in future_await() 50 future_t* future_new(void) { in future_new() 54 future_t* future_new_named(const char* name) { in future_new_named() 58 future_t* future_new_immediate(void* value) { in future_new_immediate() 62 void future_ready(future_t* future, void* value) { in future_ready()
|
D | mock_btif_stack_manager.cc | 25 static future_t* hack_future; 27 future_t* stack_manager_get_hack_future() { return hack_future; } in stack_manager_get_hack_future()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | future.cc | 32 struct future_t { struct 38 static void future_free(future_t* future); argument 40 future_t* future_new(void) { in future_new() 41 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new() 56 future_t* future_new_immediate(void* value) { in future_new_immediate() 57 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t))); in future_new_immediate() 64 void future_ready(future_t* future, void* value) { in future_ready() 74 void* future_await(future_t* future) { in future_await() 85 static void future_free(future_t* future) { in future_free()
|
/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 | 65 struct future_t; 70 future_t* device_iot_config_module_init(void); 71 future_t* device_iot_config_module_start_up(void); 72 future_t* device_iot_config_module_shut_down(void); 73 future_t* device_iot_config_module_clean_up(void);
|
D | device_iot_config_int.cc | 62 future_t* device_iot_config_module_init(void) { in device_iot_config_module_init() 158 future_t* device_iot_config_module_start_up(void) { in device_iot_config_module_start_up() 163 future_t* device_iot_config_module_shut_down(void) { in device_iot_config_module_shut_down() 169 future_t* device_iot_config_module_clean_up(void) { in device_iot_config_module_clean_up()
|
D | interop.cc | 302 static future_t* interop_init(void) { in interop_init() 310 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 | 47 void FutureReady(future_t& future) { future_ready(&future, FUTURE_SUCCESS); } in FutureReady() 53 future_t* Start() { in Start() 74 future_t* Stop() { in Stop()
|
D | module.h | 29 void FutureReady(future_t& future);
|
/packages/modules/Bluetooth/system/btcore/src/ |
D | osi_module.cc | 30 future_t* osi_init(void) { in osi_init() 34 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 | 43 static future_t* ShimModuleStartUp() { in ShimModuleStartUp() 53 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 | 143 static future_t* hack_future; 291 future_t* local_hack_future = future_new(); in event_start_up_stack() 346 future_t* local_hack_future = future_new(); in event_shut_down_stack() 460 future_t* stack_manager_get_hack_future() { return hack_future; } in stack_manager_get_hack_future()
|
D | btif_config.cc | 157 static future_t* init(void) { in init() 166 static future_t* shut_down(void) { in shut_down() 170 static future_t* clean_up(void) { in clean_up()
|
/packages/modules/Bluetooth/system/main/ |
D | stack_config.cc | 62 static future_t* init() { in init() 84 static future_t* clean_up() { in clean_up()
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 204 future_t* future_new(void) { in future_new() 208 future_t* future_new_immediate(void* value) { in future_new_immediate() 212 void future_ready(future_t* future, void* value) { in future_ready() 217 void* future_await(future_t* future) { in future_await()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | stack_manager_t.h | 43 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 | 28 static future_t* received_message_future = nullptr;
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 56 struct future_t { struct 57 future_t(void* value){}; in future_t() argument 62 struct future_t placeholder_future(NULL); argument 85 [&](void* value) -> future_t* { return &placeholder_future; }; in SetUp() 846 [&](void* value) -> future_t* { return &placeholder_future; }; in SetUp() 3393 [&](void* value) -> future_t* { return &placeholder_future; }; in SetUp()
|