Home
last modified time | relevance | path

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

/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp28 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator) { in FreeDmabufHeapBufferAllocator() argument
29 delete buffer_allocator; in FreeDmabufHeapBufferAllocator()
32 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, in DmabufHeapAlloc() argument
34 if (!buffer_allocator) in DmabufHeapAlloc()
36 return buffer_allocator->Alloc(heap_name, len, heap_flags); in DmabufHeapAlloc()
39 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() argument
43 if (!buffer_allocator) in MapDmabufHeapNameToIonHeap()
45 return buffer_allocator->MapNameToIonHeap(heap_name, ion_heap_name, ion_heap_flags, in MapDmabufHeapNameToIonHeap()
49 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncStart() argument
51 if (!buffer_allocator) in DmabufHeapCpuSyncStart()
[all …]
/system/bt/hci/src/
Dhci_packet_parser.cc32 static const allocator_t* buffer_allocator; variable
42 buffer_allocator->free(response); in parse_generic_command_complete()
55 buffer_allocator->free(response); in parse_read_buffer_size_response()
69 buffer_allocator->free(response); in parse_read_local_version_info_response()
85 buffer_allocator->free(response); in parse_read_local_supported_codecs_response()
95 buffer_allocator->free(response); in parse_read_bd_addr_response()
108 buffer_allocator->free(response); in parse_read_local_supported_commands_response()
126 buffer_allocator->free(response); in parse_read_local_extended_features_response()
136 buffer_allocator->free(response); in parse_ble_read_white_list_size_response()
148 buffer_allocator->free(response); in parse_ble_read_buffer_size_response()
[all …]
Dpacket_fragmenter.cc48 static const allocator_t* buffer_allocator; variable
139 buffer_allocator->free(packet); in reassemble_and_dispatch()
153 buffer_allocator->free(hdl); in reassemble_and_dispatch()
159 buffer_allocator->free(packet); in reassemble_and_dispatch()
173 buffer_allocator->free(packet); in reassemble_and_dispatch()
187 (BT_HDR*)buffer_allocator->alloc(full_length + sizeof(BT_HDR)); in reassemble_and_dispatch()
202 buffer_allocator->free(packet); in reassemble_and_dispatch()
208 buffer_allocator->free(packet); in reassemble_and_dispatch()
230 buffer_allocator->free(packet); in reassemble_and_dispatch()
251 buffer_allocator = buffer_allocator_get_interface(); in packet_fragmenter_get_interface()
[all …]
Dhci_layer.cc100 static const allocator_t* buffer_allocator; variable
398 buffer_allocator->free(wait_entry->command); in enqueue_command()
426 buffer_allocator->free(packet); in enqueue_packet()
450 buffer_allocator->free(packet); in transmit_fragment()
457 buffer_allocator->free(packet); in fragmenter_transmit_finished()
705 buffer_allocator->free(packet); in filter_incoming_event()
712 buffer_allocator->free(packet); in filter_incoming_event()
725 buffer_allocator->free(packet); in filter_incoming_event()
729 buffer_allocator->free(wait_entry->command); in filter_incoming_event()
733 buffer_allocator->free(packet); in filter_incoming_event()
[all …]
Dhci_inject.cc63 static const allocator_t* buffer_allocator; variable
177 BT_HDR* buf = (BT_HDR*)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()
205 buffer_allocator = buffer_allocator_get_interface(); in hci_inject_get_interface()
Dhci_packet_factory.cc30 static const allocator_t* buffer_allocator; variable
192 BT_HDR* ret = (BT_HDR*)buffer_allocator->alloc(sizeof(BT_HDR) + data_size); in make_packet()
226 buffer_allocator = buffer_allocator_get_interface(); in hci_packet_factory_get_interface()
Dhci_layer_android.cc75 buffer_allocator = buffer_allocator_get_interface(); in BluetoothHciCallbacks()
81 reinterpret_cast<BT_HDR*>(buffer_allocator->alloc(packet_size)); in WrapPacketAndCopy()
130 const allocator_t* buffer_allocator; member in BluetoothHciCallbacks
Dhci_layer_linux.cc110 const allocator_t* buffer_allocator = buffer_allocator_get_interface(); in monitor_socket() local
124 reinterpret_cast<BT_HDR*>(buffer_allocator->alloc(packet_size)); in monitor_socket()
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocatorWrapper.h31 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator);
33 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len,
36 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name,
40 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,
43 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,
/system/bt/hci/
DAndroid.bp20 "src/buffer_allocator.cc",
DBUILD.gn22 "src/buffer_allocator.cc",