/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_list.h | 43 std::function<bool(list_t* list, void* data)> body{ 44 [this](list_t* /* list */, void* /* data */) { return return_value; }}; 45 bool operator()(list_t* list, void* data) { return body(list, data); }; in operator() 54 std::function<void*(const list_t* list)> body{ 55 [this](const list_t* /* list */) { return return_value; }}; 56 void* operator()(const list_t* list) { return body(list); }; in operator() 65 std::function<list_node_t*(const list_t* list)> body{ 66 [this](const list_t* /* list */) { return return_value; }}; 67 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() 76 std::function<list_node_t*(const list_t* list)> body{ [all …]
|
D | mock_osi_list.cc | 60 bool list_append(list_t* list, void* data) { in list_append() 64 void* list_back(const list_t* list) { in list_back() 68 list_node_t* list_back_node(const list_t* list) { in list_back_node() 72 list_node_t* list_begin(const list_t* list) { in list_begin() 76 void list_clear(list_t* list) { in list_clear() 80 bool list_contains(const list_t* list, const void* data) { in list_contains() 84 list_node_t* list_end(const list_t* list) { in list_end() 88 list_node_t* list_foreach(const list_t* list, list_iter_cb callback, in list_foreach() 93 void list_free(list_t* list) { in list_free() 97 void* list_front(const list_t* list) { in list_front() [all …]
|
D | mock_osi_fixed_queue.h | 123 list_t* return_value{0}; 124 std::function<list_t*(fixed_queue_t* queue)> body{ 126 list_t* operator()(fixed_queue_t* queue) { return body(queue); }; in operator()
|
D | mock_osi_fixed_queue.cc | 87 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
|
/packages/modules/Bluetooth/system/osi/include/ |
D | list.h | 27 struct list_t; 28 typedef struct list_t list_t; typedef 44 list_t* list_new(list_free_cb callback); 48 void list_free(list_t* list); 52 bool list_is_empty(const list_t* list); 56 bool list_contains(const list_t* list, const void* data); 59 size_t list_length(const list_t* list); 63 void* list_front(const list_t* list); 67 void* list_back(const list_t* list); 71 list_node_t* list_back_node(const list_t* list); [all …]
|
D | fixed_queue.h | 108 list_t* fixed_queue_get_list(fixed_queue_t* queue);
|
/packages/modules/Bluetooth/system/osi/src/ |
D | list.cc | 14 typedef struct list_t { struct 20 } list_t; argument 22 static list_node_t* list_free_node_(list_t* list, list_node_t* node); 27 list_t* list_new_internal(list_free_cb callback, in list_new_internal() 29 list_t* list = (list_t*)zeroed_allocator->alloc(sizeof(list_t)); in list_new_internal() 37 list_t* list_new(list_free_cb callback) { in list_new() 41 void list_free(list_t* list) { in list_free() 48 bool list_is_empty(const list_t* list) { in list_is_empty() 53 bool list_contains(const list_t* list, const void* data) { in list_contains() 65 size_t list_length(const list_t* list) { in list_length() [all …]
|
D | fixed_queue.cc | 35 list_t* list; 216 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
|
D | reactor.cc | 47 list_t* invalidation_list; // reactor objects that have been unregistered.
|
D | alarm.cc | 114 static list_t* alarms;
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/ |
D | fuzz_list.cc | 37 list_t* createList(FuzzedDataProvider* dataProvider) { in createList() 57 list_node_t* getArbitraryNode(list_t* list, FuzzedDataProvider* dataProvider) { in getArbitraryNode() 74 list_t* list = nullptr; in callArbitraryFunction() 93 list = reinterpret_cast<list_t*>(list_vector->at(index)); in callArbitraryFunction() 103 list = reinterpret_cast<list_t*>( in callArbitraryFunction() 110 list = reinterpret_cast<list_t*>( in callArbitraryFunction() 120 list = reinterpret_cast<list_t*>( in callArbitraryFunction() 127 list = reinterpret_cast<list_t*>( in callArbitraryFunction() 134 list = reinterpret_cast<list_t*>( in callArbitraryFunction() 141 list = reinterpret_cast<list_t*>( in callArbitraryFunction() [all …]
|
/packages/modules/Bluetooth/system/osi/test/ |
D | list_test.cc | 10 list_t* list = list_new(NULL); in TEST_F() 21 list_t* list = list_new(NULL); in TEST_F() 27 list_t* list = list_new(NULL); in TEST_F() 33 list_t* list = list_new(NULL); in TEST_F() 41 list_t* list = list_new(NULL); in TEST_F() 49 list_t* list = list_new(NULL); in TEST_F() 59 list_t* list = list_new(NULL); in TEST_F() 69 list_t* list = list_new(NULL); in TEST_F() 80 list_t* list = list_new(NULL); in TEST_F() 91 list_t* list = list_new(NULL); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/test/fake/ |
D | fake_osi.cc | 48 struct list_t { struct 54 list_t(list_free_cb free_cb) { in list_t() argument 62 list_t* list_; 74 static list_node_t* list_free_node_(list_t* l, list_node_t* node) { in list_free_node_() 124 return new list_t(callback); in FakeOsi() 127 test::mock::osi_list::list_free.body = [](list_t* l) { in FakeOsi() 132 test::mock::osi_list::list_is_empty.body = [](const list_t* l) { in FakeOsi() 136 [](const list_t* l, list_iter_cb callback, void* context) { in FakeOsi() 145 test::mock::osi_list::list_contains.body = [](const list_t* l, in FakeOsi() 152 test::mock::osi_list::list_length.body = [](const list_t* l) { in FakeOsi() [all …]
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 297 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list() 429 bool list_append(list_t* list, void* data) { in list_append() 433 bool list_contains(const list_t* list, const void* data) { in list_contains() 437 bool list_insert_after(list_t* list, list_node_t* prev_node, void* data) { in list_insert_after() 441 bool list_is_empty(const list_t* list) { in list_is_empty() 445 bool list_prepend(list_t* list, void* data) { in list_prepend() 449 bool list_remove(list_t* list, void* data) { in list_remove() 453 list_node_t* list_back_node(const list_t* list) { in list_back_node() 457 list_node_t* list_begin(const list_t* list) { in list_begin() 461 list_node_t* list_end(const list_t* /* list */) { in list_end() argument [all …]
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_sec_cb.h | 70 list_t* sec_dev_rec{nullptr}; /* list of tBTM_SEC_DEV_REC */
|
/packages/modules/Bluetooth/system/doc/ |
D | style_guide.md | 217 typedef struct list_t list_t; 223 bool template_new(const list_t *param);
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_sco.cc | 80 static list_t* sco_sockets; // Owns a collection of sco_socket_t objects.
|
D | btif_sock_rfc.cc | 87 list_t* incoming_queue;
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_utils.cc | 178 list_t* list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q); in gatt_set_srv_chg() 327 list_t* list = fixed_queue_get_list(p_tcb->pending_ind_q); in gatt_is_srv_chg_ind_pending() 354 list_t* list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q); in gatt_is_bda_in_the_srv_chg_clt_list()
|
D | gatt_sr.cc | 180 list_t* list = NULL; in build_read_multi_rsp()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_int.h | 478 list_t* link_xmit_data_q; /* Link transmit data buffer queue */
|
D | l2c_fcr.cc | 1293 list_t* list_ack = NULL; in retransmit_i_frames()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_int.h | 518 list_t* a2dp_list; /* used for audio channels only */
|
/packages/modules/Bluetooth/system/device/src/ |
D | interop.cc | 91 static list_t* interop_list = NULL; 134 list_t* entries;
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_utils_test.cc | 108 MOCK_METHOD(bool, InteropGetAllowlistedMediaPlayersList, (list_t*));
|