Home
last modified time | relevance | path

Searched refs:BufferAllocator (Results 1 – 8 of 8) sorted by relevance

/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocatorWrapper.h26 typedef struct BufferAllocator BufferAllocator;
29 BufferAllocator* CreateDmabufHeapBufferAllocator();
31 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,
DBufferAllocator.h34 class BufferAllocator {
36 BufferAllocator();
37 ~BufferAllocator() {} in ~BufferAllocator()
40 BufferAllocator(const BufferAllocator&) = delete;
41 BufferAllocator& operator=(const BufferAllocator&) = delete;
/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp24 BufferAllocator* CreateDmabufHeapBufferAllocator() { in CreateDmabufHeapBufferAllocator()
25 return new BufferAllocator(); in CreateDmabufHeapBufferAllocator()
28 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator) { in FreeDmabufHeapBufferAllocator()
32 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, in DmabufHeapAlloc()
39 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap()
49 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncStart()
56 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncEnd()
DBufferAllocator.cpp40 void BufferAllocator::LogInterface(const std::string& interface) { in LogInterface()
47 int BufferAllocator::GetDmabufHeapFd(const std::string& heap_name) { in GetDmabufHeapFd()
55 int BufferAllocator::OpenDmabufHeap(const std::string& heap_name) { in OpenDmabufHeap()
71 void BufferAllocator::QueryIonHeaps() { in QueryIonHeaps()
98 BufferAllocator::BufferAllocator() { in BufferAllocator() function in BufferAllocator
114 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask()
123 int BufferAllocator::GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id) { in GetIonHeapIdByName()
135 int BufferAllocator::MapNameToIonName(const std::string& heap_name, in MapNameToIonName()
150 int BufferAllocator::MapNameToIonHeap(const std::string& heap_name, in MapNameToIonHeap()
166 int BufferAllocator::GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config) { in GetIonConfig()
[all …]
DAndroid.bp19 "BufferAllocator.cpp",
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.h31 std::unique_ptr<BufferAllocator> allocator;
Ddmabuf_heap_test.c45 BufferAllocator* bufferAllocator = CreateDmabufHeapBufferAllocator(); in libdmabufheaptest()
Ddmabuf_heap_test.cpp28 DmaBufHeapTest::DmaBufHeapTest() : allocator(new BufferAllocator()) { in DmaBufHeapTest()