Home
last modified time | relevance | path

Searched refs:buffer_allocator (Results 1 – 9 of 9) sorted by relevance

/system/bt/hci/src/
Dhci_packet_parser.c32 static const allocator_t *buffer_allocator; variable
42 buffer_allocator->free(response); in parse_generic_command_complete()
56 buffer_allocator->free(response); in parse_read_buffer_size_response()
71 buffer_allocator->free(response); in parse_read_local_version_info_response()
88 buffer_allocator->free(response); in parse_read_local_supported_codecs_response()
99 buffer_allocator->free(response); in parse_read_bd_addr_response()
111 buffer_allocator->free(response); in parse_read_local_supported_commands_response()
133 buffer_allocator->free(response); in parse_read_local_extended_features_response()
144 buffer_allocator->free(response); in parse_ble_read_white_list_size_response()
157 buffer_allocator->free(response); in parse_ble_read_buffer_size_response()
[all …]
Dpacket_fragmenter.c50 static const allocator_t *buffer_allocator; variable
150 buffer_allocator->free(partial_packet); in reassemble_and_dispatch()
155 buffer_allocator->free(packet); in reassemble_and_dispatch()
166 buffer_allocator->free(packet); in reassemble_and_dispatch()
178 partial_packet = (BT_HDR *)buffer_allocator->alloc(full_length + sizeof(BT_HDR)); in reassemble_and_dispatch()
192 buffer_allocator->free(packet); in reassemble_and_dispatch()
196 buffer_allocator->free(packet); in reassemble_and_dispatch()
215 buffer_allocator->free(packet); in reassemble_and_dispatch()
239 buffer_allocator = buffer_allocator_get_interface(); in packet_fragmenter_get_interface()
247 buffer_allocator = buffer_allocator_interface; in packet_fragmenter_get_test_interface()
Dvendor.c37 static const allocator_t *buffer_allocator; variable
158 return buffer_allocator->alloc(size); in buffer_alloc_cb()
164 buffer_allocator->free(buffer); in buffer_free_cb()
226 buffer_allocator = buffer_allocator_get_interface(); in vendor_get_interface()
Dhci_layer.c110 static const allocator_t *buffer_allocator; variable
299 fixed_queue_free(packet_queue, buffer_allocator->free); in shut_down()
511 buffer_allocator->free(packet); in transmit_fragment()
516 buffer_allocator->free(packet); in fragmenter_transmit_finished()
571 incoming->buffer = (BT_HDR *)buffer_allocator->alloc(buffer_size); in hal_says_data_ready()
705 buffer_allocator->free(packet); in filter_incoming_event()
709 buffer_allocator->free(wait_entry->command); in filter_incoming_event()
713 buffer_allocator->free(packet); in filter_incoming_event()
729 buffer_allocator->free(packet); in dispatch_reassembled()
827 buffer_allocator = buffer_allocator_get_interface(); in hci_layer_get_interface()
[all …]
Dhci_packet_factory.c30 static const allocator_t *buffer_allocator; variable
173 BT_HDR *ret = (BT_HDR *)buffer_allocator->alloc(sizeof(BT_HDR) + data_size); in make_packet()
205 buffer_allocator = buffer_allocator_get_interface(); in hci_packet_factory_get_interface()
Dhci_inject.c54 static const allocator_t *buffer_allocator; variable
174 BT_HDR *buf = (BT_HDR *)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()
207 buffer_allocator = buffer_allocator_get_interface(); in hci_inject_get_interface()
/system/bt/hci/
DAndroid.mk11 src/buffer_allocator.c \
DBUILD.gn22 "src/buffer_allocator.c",
/system/bt/hci/test/
Dhci_layer_test.cpp534 &buffer_allocator,
566 buffer_allocator.alloc = buffer_allocator_alloc;
567 buffer_allocator.free = buffer_allocator_free;
603 allocator_t buffer_allocator;