Searched refs:BufferAllocator (Results 1 – 15 of 15) sorted by relevance
/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, 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,
|
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 DmabufHeapAllocSystem(BufferAllocator* buffer_allocator, bool cpu_access, size_t len, in DmabufHeapAllocSystem() 45 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() 55 int DmabufHeapCpuSyncStart(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncStart() 64 int DmabufHeapCpuSyncEnd(BufferAllocator* buffer_allocator, unsigned int dmabuf_fd, in DmabufHeapCpuSyncEnd() 73 return BufferAllocator::CheckIonSupport(); in CheckIonSupport()
|
D | BufferAllocator.cpp | 42 void BufferAllocator::LogInterface(const std::string& interface) { in LogInterface() 49 int BufferAllocator::OpenDmabufHeap(const std::string& heap_name) { in OpenDmabufHeap() 83 void BufferAllocator::QueryIonHeaps() { in QueryIonHeaps() 112 BufferAllocator::BufferAllocator() { in BufferAllocator() function in BufferAllocator 118 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask() 129 int BufferAllocator::GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id) { in GetIonHeapIdByName() 141 int BufferAllocator::MapNameToIonName(const std::string& heap_name, in MapNameToIonName() 158 int BufferAllocator::MapNameToIonHeap(const std::string& heap_name, in MapNameToIonHeap() 177 int BufferAllocator::GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config) { in GetIonConfig() 209 int BufferAllocator::DmabufAlloc(const std::string& heap_name, size_t len) { in DmabufAlloc() [all …]
|
D | Android.bp | 23 "BufferAllocator.cpp",
|
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.h | 31 std::unique_ptr<BufferAllocator> allocator;
|
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.c | 58 BufferAllocator* bufferAllocator = CreateDmabufHeapBufferAllocator(); in libdmabufheaptest()
|
/system/core/trusty/apploader/fuzz/ |
D | app_fuzzer.cpp | 111 BufferAllocator alloc; in LLVMFuzzerTestOneInput()
|
/system/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 62 BufferAllocator allocator; in LLVMFuzzerInitialize()
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 103 BufferAllocator allocator; in TrustyApp()
|
/system/core/trusty/apploader/ |
D | apploader.cpp | 122 BufferAllocator alloc; in read_file()
|
/system/core/trusty/utils/acvp/ |
D | trusty_modulewrapper.cpp | 122 BufferAllocator alloc; in SendMessage()
|
/system/core/trusty/coverage/ |
D | coverage.cpp | 141 BufferAllocator allocator; in Open()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 898 BufferAllocator* allocator = NULL; in send_fd_test()
|