Home
last modified time | relevance | path

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

1234567891011

/aosp12/system/memory/libdmabufheap/
H A DBufferAllocatorWrapper.cpp28 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator) { in FreeDmabufHeapBufferAllocator() argument
29 delete buffer_allocator; in FreeDmabufHeapBufferAllocator()
34 if (!buffer_allocator) in DmabufHeapAlloc()
36 return buffer_allocator->Alloc(heap_name, len, heap_flags, legacy_align); in DmabufHeapAlloc()
41 if (!buffer_allocator) return -EINVAL; in DmabufHeapAllocSystem()
42 return buffer_allocator->AllocSystem(cpu_access, len, heap_flags, legacy_align); in DmabufHeapAllocSystem()
49 if (!buffer_allocator) in MapDmabufHeapNameToIonHeap()
58 if (!buffer_allocator) in DmabufHeapCpuSyncStart()
60 return buffer_allocator->CpuSyncStart(dmabuf_fd, sync_type, legacy_ion_cpu_sync, in DmabufHeapCpuSyncStart()
64 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncEnd() argument
[all …]
/aosp12/system/bt/hci/src/
H A Dhci_packet_parser.cc42 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()
163 buffer_allocator->free(response); in parse_ble_read_buffer_size_v2_response()
[all …]
H A Dpacket_fragmenter.cc215 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()
293 buffer_allocator->free(packet); in reassemble_and_dispatch_iso()
348 buffer_allocator->free(packet); in reassemble_and_dispatch_iso()
356 buffer_allocator->free(packet); in reassemble_and_dispatch_iso()
379 buffer_allocator->free(packet); in reassemble_and_dispatch()
400 buffer_allocator->free(hdl); in reassemble_and_dispatch()
449 buffer_allocator->free(packet); in reassemble_and_dispatch()
[all …]
H A Dhci_layer.cc102 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 …]
/aosp12/system/memory/libdmabufheap/include/BufferAllocator/
H A DBufferAllocatorWrapper.h33 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,
/aosp12/hardware/qcom/display/msm8909/sdm/libs/core/
H A Dcore_interface.cpp56 BufferAllocator *buffer_allocator, in CreateCore() argument
59 return CreateCore(debug_handler, buffer_allocator, buffer_sync_handler, NULL, in CreateCore()
64 BufferAllocator *buffer_allocator, in CreateCore() argument
70 if (!debug_handler || !buffer_allocator || !buffer_sync_handler || !interface) { in CreateCore()
93 core_impl = new CoreImpl(buffer_allocator, buffer_sync_handler, socket_handler); in CreateCore()
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
H A Dcore_interface.cpp56 BufferAllocator *buffer_allocator, in CreateCore() argument
59 return CreateCore(debug_handler, buffer_allocator, buffer_sync_handler, NULL, in CreateCore()
64 BufferAllocator *buffer_allocator, in CreateCore() argument
70 if (!debug_handler || !buffer_allocator || !buffer_sync_handler || !interface) { in CreateCore()
93 core_impl = new CoreImpl(buffer_allocator, buffer_sync_handler, socket_handler); in CreateCore()
/aosp12/hardware/qcom/display/msm8998/sdm/libs/core/
H A Dcore_interface.cpp56 BufferAllocator *buffer_allocator, in CreateCore() argument
59 return CreateCore(debug_handler, buffer_allocator, buffer_sync_handler, NULL, in CreateCore()
64 BufferAllocator *buffer_allocator, in CreateCore() argument
70 if (!debug_handler || !buffer_allocator || !buffer_sync_handler || !interface) { in CreateCore()
93 core_impl = new CoreImpl(buffer_allocator, buffer_sync_handler, socket_handler); in CreateCore()
/aosp12/hardware/qcom/sm7250/display/sdm/libs/core/
H A Dhw_interface.cpp46 BufferAllocator *buffer_allocator, HWInterface **intf) { in Create() argument
53 hw = new HWPeripheralDRM(display_id, buffer_allocator, hw_info_intf); in Create()
56 hw = new HWTVDRM(display_id, buffer_allocator, hw_info_intf); in Create()
59 hw = new HWVirtualDRM(display_id, buffer_allocator, hw_info_intf); in Create()
/aosp12/hardware/qcom/sdm845/display/sdm/libs/core/
H A Dhw_interface.cpp48 BufferAllocator *buffer_allocator, HWInterface **intf) { in Create() argument
58 hw = new HWPeripheralDRM(buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
65 hw = new HWTVDRM(buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
72 hw = new HWVirtualDRM(buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
/aosp12/hardware/qcom/sm8150/display/sdm/libs/core/
H A Dhw_interface.cpp49 BufferAllocator *buffer_allocator, HWInterface **intf) { in Create() argument
59 hw = new HWPeripheralDRM(display_id, buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
66 hw = new HWTVDRM(display_id, buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
73 hw = new HWVirtualDRM(display_id, buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_display_external.cpp42 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
45 return Create(core_intf, buffer_allocator, callbacks, 0, 0, qservice, false, hwc_display); in Create()
48 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
57 HWCDisplay *hwc_display_external = new HWCDisplayExternal(core_intf, buffer_allocator, callbacks, in Create()
102 HWCBufferAllocator *buffer_allocator, in HWCDisplayExternal() argument
106 DISPLAY_CLASS_EXTERNAL, buffer_allocator) { in HWCDisplayExternal()
H A Dhwc_display_external.h39 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
43 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
52 HWCDisplayExternal(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
/aosp12/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_display_external.cpp42 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
45 return Create(core_intf, buffer_allocator, callbacks, 0, 0, qservice, false, hwc_display); in Create()
48 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
57 HWCDisplay *hwc_display_external = new HWCDisplayExternal(core_intf, buffer_allocator, callbacks, in Create()
102 HWCBufferAllocator *buffer_allocator, in HWCDisplayExternal() argument
106 DISPLAY_CLASS_EXTERNAL, buffer_allocator) { in HWCDisplayExternal()
H A Dhwc_display_external.h39 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
43 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
52 HWCDisplayExternal(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/
H A Dhwc_display_dummy.cpp37 int HWCDisplayDummy::Create(CoreInterface *core_intf, BufferAllocator *buffer_allocator, in Create() argument
41 HWCDisplay *hwc_display_dummy = new HWCDisplayDummy(core_intf, buffer_allocator, callbacks, in Create()
62 HWCDisplayDummy::HWCDisplayDummy(CoreInterface *core_intf, BufferAllocator *buffer_allocator, in HWCDisplayDummy() argument
65 int32_t sdm_id) :HWCDisplay(core_intf, buffer_allocator, in HWCDisplayDummy()
/aosp12/hardware/google/gchips/gralloc4/src/allocator/
H A Dmali_gralloc_ion.cpp88 dev.buffer_allocator.reset(); in close()
94 if (!dev.buffer_allocator) in get()
96 dev.buffer_allocator = std::make_unique<BufferAllocator>(); in get()
97 if (!dev.buffer_allocator) in get()
147 std::unique_ptr<BufferAllocator> buffer_allocator; member
345 if (!buffer_allocator) in alloc_from_dmabuf_heap()
350 int shared_fd = buffer_allocator->Alloc(heap_name, size, flags); in alloc_from_dmabuf_heap()
427 if (!buffer_allocator) in sync()
434 return buffer_allocator->CpuSyncStart(fd, sync_type_for_flags(read, write)); in sync()
438 return buffer_allocator->CpuSyncEnd(fd, sync_type_for_flags(read, write)); in sync()
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_display_external.cpp42 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
45 return Create(core_intf, buffer_allocator, callbacks, 0, 0, qservice, false, hwc_display); in Create()
48 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
57 HWCDisplay *hwc_display_external = new HWCDisplayExternal(core_intf, buffer_allocator, callbacks, in Create()
103 HWCBufferAllocator *buffer_allocator, in HWCDisplayExternal() argument
107 DISPLAY_CLASS_EXTERNAL, buffer_allocator) { in HWCDisplayExternal()
H A Dhwc_display_external.h40 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
44 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
54 HWCDisplayExternal(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_display_external.cpp42 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
45 return Create(core_intf, buffer_allocator, callbacks, 0, 0, qservice, false, hwc_display); in Create()
48 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
57 HWCDisplay *hwc_display_external = new HWCDisplayExternal(core_intf, buffer_allocator, callbacks, in Create()
103 HWCBufferAllocator *buffer_allocator, in HWCDisplayExternal() argument
107 DISPLAY_CLASS_EXTERNAL, buffer_allocator) { in HWCDisplayExternal()
H A Dhwc_display_external.h40 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
44 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
54 HWCDisplayExternal(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
/aosp12/hardware/qcom/sm7250/display/composer/
H A Dhwc_display_dummy.cpp37 int HWCDisplayDummy::Create(CoreInterface *core_intf, BufferAllocator *buffer_allocator, in Create() argument
41 HWCDisplay *hwc_display_dummy = new HWCDisplayDummy(core_intf, buffer_allocator, callbacks, in Create()
66 HWCDisplayDummy::HWCDisplayDummy(CoreInterface *core_intf, BufferAllocator *buffer_allocator, in HWCDisplayDummy() argument
69 int32_t sdm_id) :HWCDisplay(core_intf, buffer_allocator, in HWCDisplayDummy()
H A Dhwc_display_virtual_factory.cpp38 int HWCVirtualDisplayFactory::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
51 hwc_display_virtual = new HWCDisplayVirtualDPU(core_intf, buffer_allocator, callbacks, id, in Create()
55 hwc_display_virtual = new HWCDisplayVirtualGPU(core_intf, buffer_allocator, callbacks, id, in Create()
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/
H A Dhwc_display_external.cpp42 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
45 return Create(core_intf, buffer_allocator, callbacks, 0, 0, qservice, false, hwc_display); in Create()
48 int HWCDisplayExternal::Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, in Create() argument
57 HWCDisplay *hwc_display_external = new HWCDisplayExternal(core_intf, buffer_allocator, callbacks, in Create()
103 HWCBufferAllocator *buffer_allocator, in HWCDisplayExternal() argument
107 DISPLAY_CLASS_EXTERNAL, buffer_allocator) { in HWCDisplayExternal()
H A Dhwc_display_external.h40 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
44 static int Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,
55 HWCDisplayExternal(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator,

1234567891011