Searched refs:bufferAllocator (Results 1 – 1 of 1) sorted by relevance
/system/memory/libdmabufheap/tests/ |
D | dmabuf_heap_test.c | 58 BufferAllocator* bufferAllocator = CreateDmabufHeapBufferAllocator(); in libdmabufheaptest() local 59 if (!bufferAllocator) { in libdmabufheaptest() 70 ret = MapDmabufHeapNameToIonHeap(bufferAllocator, kDmabufSystemHeapName, in libdmabufheaptest() 82 fd = DmabufHeapAllocSystem(bufferAllocator, true /* cpu_access */, len, 0, 0); in libdmabufheaptest() 89 fd = DmabufHeapAllocSystem(bufferAllocator, false /* cpu_access */, len, 0, 0); in libdmabufheaptest() 96 fd = DmabufHeapAlloc(bufferAllocator, kDmabufSystemHeapName, len, 0, 0); in libdmabufheaptest() 108 ret = DmabufHeapCpuSyncStart(bufferAllocator, fd, kSyncReadWrite, in libdmabufheaptest() 128 ret = DmabufHeapCpuSyncEnd(bufferAllocator, fd, kSyncReadWrite, in libdmabufheaptest() 139 FreeDmabufHeapBufferAllocator(bufferAllocator); in libdmabufheaptest()
|