Home
last modified time | relevance | path

Searched refs:heap_config (Results 1 – 2 of 2) sorted by relevance

/system/memory/libdmabufheap/
DBufferAllocator.cpp122 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonMask() local
125 heap_name_to_config_[heap_name] = heap_config; in MapNameToIonMask()
150 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonName() local
153 heap_name_to_config_[heap_name] = heap_config; in MapNameToIonName()
177 int BufferAllocator::GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config) { in GetIonConfig() argument
184 heap_config = it->second; in GetIonConfig()
196 heap_config.mask = 1 << heap_id; in GetIonConfig()
197 heap_config.flags = 0; in GetIonConfig()
200 heap_name_to_config_[heap_name] = heap_config; in GetIonConfig()
229 IonHeapConfig heap_config; in IonAlloc() local
[all …]
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocator.h194 int GetIonConfig(const std::string& heap_name, IonHeapConfig& heap_config);