Searched refs:BufferAllocator (Results 1 – 8 of 8) sorted by relevance
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocatorWrapper.h | 26 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,
|
D | BufferAllocator.h | 34 class BufferAllocator { 36 BufferAllocator(); 37 ~BufferAllocator() {} in ~BufferAllocator() 40 BufferAllocator(const BufferAllocator&) = delete; 41 BufferAllocator& operator=(const BufferAllocator&) = delete;
|
/system/memory/libdmabufheap/ |
D | BufferAllocatorWrapper.cpp | 24 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()
|
D | BufferAllocator.cpp | 40 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 …]
|
D | Android.bp | 19 "BufferAllocator.cpp",
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.h | 31 std::unique_ptr<BufferAllocator> allocator;
|
D | dmabuf_heap_test.c | 45 BufferAllocator* bufferAllocator = CreateDmabufHeapBufferAllocator(); in libdmabufheaptest()
|
D | dmabuf_heap_test.cpp | 28 DmaBufHeapTest::DmaBufHeapTest() : allocator(new BufferAllocator()) { in DmaBufHeapTest()
|