Searched refs:buffer_allocator (Results 1 – 12 of 12) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocatorWrapper.cpp | 28 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, legacy_align); in DmabufHeapAlloc() 39 int DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len, in DmabufHeapAllocSystem() argument 41 if (!buffer_allocator) return -EINVAL; in DmabufHeapAllocSystem() 42 return buffer_allocator->AllocSystem(cpu_access, len, heap_flags, legacy_align); in DmabufHeapAllocSystem() 45 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() argument 49 if (!buffer_allocator) in MapDmabufHeapNameToIonHeap() [all …]
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocatorWrapper.h | 33 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator); 35 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, 37 int DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len, 40 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, 44 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, 48 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,
|
/system/bt/hci/src/ |
D | hci_packet_parser.cc | 32 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_acceptlist_size_response() 148 buffer_allocator->free(response); in parse_ble_read_buffer_size_response() [all …]
|
D | packet_fragmenter.cc | 49 static const allocator_t* buffer_allocator; variable 215 buffer_allocator->free(hdl); in reassemble_and_dispatch_iso() 228 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() 238 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() 253 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() 266 (BT_HDR*)buffer_allocator->alloc(iso_full_len + sizeof(BT_HDR)); in reassemble_and_dispatch_iso() 269 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() 293 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() 302 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() 313 buffer_allocator->free(packet); in reassemble_and_dispatch_iso() [all …]
|
D | hci_layer.cc | 102 static const allocator_t* buffer_allocator; variable 402 buffer_allocator->free(wait_entry->command); in enqueue_command() 430 buffer_allocator->free(packet); in enqueue_packet() 454 buffer_allocator->free(packet); in transmit_fragment() 461 buffer_allocator->free(packet); in fragmenter_transmit_finished() 726 buffer_allocator->free(packet); in filter_incoming_event() 733 buffer_allocator->free(packet); in filter_incoming_event() 746 buffer_allocator->free(packet); in filter_incoming_event() 750 buffer_allocator->free(wait_entry->command); in filter_incoming_event() 754 buffer_allocator->free(packet); in filter_incoming_event() [all …]
|
D | hci_inject.cc | 63 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()
|
D | hci_packet_factory.cc | 30 static const allocator_t* buffer_allocator; variable 213 BT_HDR* ret = (BT_HDR*)buffer_allocator->alloc(sizeof(BT_HDR) + data_size); in make_packet() 250 buffer_allocator = buffer_allocator_get_interface(); in hci_packet_factory_get_interface()
|
D | hci_layer_android.cc | 95 buffer_allocator = buffer_allocator_get_interface(); in BluetoothHciCallbacks() 101 reinterpret_cast<BT_HDR*>(buffer_allocator->alloc(packet_size)); in WrapPacketAndCopy() 155 const allocator_t* buffer_allocator; member in BluetoothHciCallbacks
|
D | hci_layer_linux.cc | 110 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/bt/hci/ |
D | Android.bp | 29 "src/buffer_allocator.cc", 157 "src/buffer_allocator.cc",
|
D | BUILD.gn | 22 "src/buffer_allocator.cc",
|
/system/bt/hci/test/ |
D | hci_layer_test.cc | 61 buffer_allocator = &buffer_allocator_; in SetUp()
|