/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocatorWrapper.h | 26 typedef class BufferAllocator BufferAllocator; typedef 28 typedef struct BufferAllocator BufferAllocator; 31 BufferAllocator* CreateDmabufHeapBufferAllocator(); 33 void FreeDmabufHeapBufferAllocator(BufferAllocator* buffer_allocator); 35 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, 38 int DmabufSetName(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, const char* name); 40 int DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len, 43 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, 47 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, 51 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd,
|
D | BufferAllocator.h | 36 class BufferAllocator { 38 BufferAllocator(); 39 ~BufferAllocator() {} in ~BufferAllocator() 42 BufferAllocator(const BufferAllocator&) = delete; 43 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 DmabufSetName(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufSetName() 46 int DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len, in DmabufHeapAllocSystem() 52 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() 62 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncStart() 71 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncEnd() 80 return BufferAllocator::CheckIonSupport(); in CheckIonSupport()
|
D | BufferAllocator.cpp | 43 void BufferAllocator::LogInterface(const std::string& interface) { in LogInterface() 50 int BufferAllocator::OpenDmabufHeap(const std::string& heap_name) { in OpenDmabufHeap() 84 void BufferAllocator::QueryIonHeaps() { in QueryIonHeaps() 113 BufferAllocator::BufferAllocator() { in BufferAllocator() function in BufferAllocator 119 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask() 130 int BufferAllocator::GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id) { in GetIonHeapIdByName() 142 int BufferAllocator::MapNameToIonName(const std::string& heap_name, in MapNameToIonName() 159 int BufferAllocator::MapNameToIonHeap(const std::string& heap_name, in MapNameToIonHeap() 181 int BufferAllocator::GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config) { in GetIonConfig() 213 int BufferAllocator::DmabufAlloc(const std::string& heap_name, size_t len, int fd) { in DmabufAlloc() [all …]
|
D | Android.bp | 23 "BufferAllocator.cpp",
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.cpp | 34 virtual void SetUp() { allocator = new BufferAllocator(); } in SetUp() 72 BufferAllocator* allocator = nullptr; 111 DmaBufHeapTest::DmaBufHeapTest() : allocator(new BufferAllocator()) { in DmaBufHeapTest() 119 if (BufferAllocator::CheckIonSupport()) { in DmaBufHeapTest() 282 ASSERT_TRUE(!heap_list.empty() || BufferAllocator::CheckIonSupport()); in TEST_F()
|
D | dmabuf_heap_test.h | 31 std::unique_ptr<BufferAllocator> allocator;
|
D | dmabuf_heap_test.c | 58 BufferAllocator* bufferAllocator = CreateDmabufHeapBufferAllocator(); in libdmabufheaptest()
|
/system/core/trusty/apploader/fuzz/ |
D | app_fuzzer.cpp | 107 BufferAllocator alloc; in LLVMFuzzerTestOneInput()
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 99 BufferAllocator allocator; in TrustyApp()
|
/system/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 62 BufferAllocator allocator; in LLVMFuzzerInitialize()
|
/system/core/trusty/line-coverage/ |
D | coverage.cpp | 130 BufferAllocator allocator; in Open()
|
/system/core/trusty/apploader/ |
D | apploader.cpp | 127 BufferAllocator alloc; in read_file()
|
/system/core/trusty/utils/acvp/ |
D | trusty_modulewrapper.cpp | 118 BufferAllocator alloc; in SendMessage()
|
/system/core/trusty/coverage/ |
D | coverage.cpp | 137 BufferAllocator allocator; in Open()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 910 BufferAllocator* allocator = NULL; in send_fd_test()
|