Home
last modified time | relevance | path

Searched refs:kDmabufSystemHeapName (Results 1 – 4 of 4) sorted by relevance

/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp35 allocator->MapNameToIonHeap(kDmabufSystemHeapName, "" /* no mapping for non-legacy */, in DmaBufHeapTest()
44 << "heap: " << kDmabufSystemHeapName << " size: " << size); in TEST_F()
45 int fd = allocator->Alloc(kDmabufSystemHeapName, size); in TEST_F()
55 << "heap: " << kDmabufSystemHeapName << " size: " << size); in TEST_F()
56 int fd = allocator->Alloc(kDmabufSystemHeapName, size, ION_FLAG_CACHED in TEST_F()
67 << "heap: " << kDmabufSystemHeapName << " size: " << size); in TEST_F()
68 int fd = allocator->Alloc(kDmabufSystemHeapName, size, ION_FLAG_CACHED_NEEDS_SYNC in TEST_F()
79 << "heap: " << kDmabufSystemHeapName << " size: " << size); in TEST_F()
82 int fd = allocator->Alloc(kDmabufSystemHeapName, size); in TEST_F()
100 map_fd = allocator->Alloc(kDmabufSystemHeapName, kAllocSizeInBytes); in TEST_F()
[all …]
Ddmabuf_heap_test.c57 ret = MapDmabufHeapNameToIonHeap(bufferAllocator, kDmabufSystemHeapName, in libdmabufheaptest()
66 fd = DmabufHeapAlloc(bufferAllocator, kDmabufSystemHeapName, len, 0); in libdmabufheaptest()
/system/memory/libdmabufheap/include/BufferAllocator/
Ddmabufheap-defs.h22 static const char kDmabufSystemHeapName[] = "system"; variable
/system/memory/libdmabufheap/
DBufferAllocator.cpp75 MapNameToIonMask(kDmabufSystemHeapName, ION_HEAP_SYSTEM_MASK); in QueryIonHeaps()
95 MapNameToIonName(kDmabufSystemHeapName, kIonSystemHeapName); in QueryIonHeaps()