Searched refs:heap_name (Results 1 – 4 of 4) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 47 int BufferAllocator::GetDmabufHeapFd(const std::string& heap_name) { in GetDmabufHeapFd() argument 49 auto it = dmabuf_heap_fds_.find(heap_name); in GetDmabufHeapFd() 55 int BufferAllocator::OpenDmabufHeap(const std::string& heap_name) { in OpenDmabufHeap() argument 57 auto fd = GetDmabufHeapFd(heap_name); in OpenDmabufHeap() 59 std::string heap_path = kDmaHeapRoot + heap_name; in OpenDmabufHeap() 66 dmabuf_heap_fds_.insert({heap_name, android::base::unique_fd(fd)}); in OpenDmabufHeap() 114 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask() argument 119 heap_name_to_config_[heap_name] = heap_config; in MapNameToIonMask() 123 int BufferAllocator::GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id) { in GetIonHeapIdByName() argument 125 if (heap_name == it.name) { in GetIonHeapIdByName() [all …]
|
D | BufferAllocatorWrapper.cpp | 32 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, in DmabufHeapAlloc() argument 36 return buffer_allocator->Alloc(heap_name, len, heap_flags); in DmabufHeapAlloc() 39 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name, in MapDmabufHeapNameToIonHeap() argument 45 return buffer_allocator->MapNameToIonHeap(heap_name, ion_heap_name, ion_heap_flags, in MapDmabufHeapNameToIonHeap()
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 65 int MapNameToIonHeap(const std::string& heap_name, const std::string& ion_heap_name, 81 int Alloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0); 135 int GetIonHeapIdByName(const std::string& heap_name, unsigned int* heap_id); 136 int MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, 138 int MapNameToIonName(const std::string& heap_name, const std::string& ion_heap_name, 141 int IonAlloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0); 142 int DmabufAlloc(const std::string& heap_name, size_t len); 148 int GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config);
|
D | BufferAllocatorWrapper.h | 33 int DmabufHeapAlloc(BufferAllocator* buffer_allocator, const char* heap_name, size_t len, 36 int MapDmabufHeapNameToIonHeap(BufferAllocator* buffer_allocator, const char* heap_name,
|