Home
last modified time | relevance | path

Searched refs:sync_type (Results 1 – 5 of 5) sorted by relevance

/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp56 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void *), in DmabufHeapCpuSyncStart() argument
60 return buffer_allocator->CpuSyncStart(dmabuf_fd, sync_type, legacy_ion_cpu_sync, in DmabufHeapCpuSyncStart()
65 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void*), in DmabufHeapCpuSyncEnd() argument
69 return buffer_allocator->CpuSyncEnd(dmabuf_fd, sync_type, legacy_ion_cpu_sync, custom_data); in DmabufHeapCpuSyncEnd()
DBufferAllocator.cpp306 int BufferAllocator::DoSync(unsigned int dmabuf_fd, bool start, SyncType sync_type, in DoSync() argument
316 static_cast<uint64_t>(sync_type), in DoSync()
321 int BufferAllocator::CpuSyncStart(unsigned int dmabuf_fd, SyncType sync_type, in CpuSyncStart() argument
324 int ret = DoSync(dmabuf_fd, true /* start */, sync_type, legacy_ion_cpu_sync_custom, in CpuSyncStart()
331 int BufferAllocator::CpuSyncEnd(unsigned int dmabuf_fd, SyncType sync_type, in CpuSyncEnd() argument
334 int ret = DoSync(dmabuf_fd, false /* start */, sync_type, legacy_ion_cpu_sync_custom, in CpuSyncEnd()
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocatorWrapper.h45 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void *),
49 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void*),
DBufferAllocator.h134 int CpuSyncStart(unsigned int dmabuf_fd, SyncType sync_type = kSyncRead,
157 int CpuSyncEnd(unsigned int dmabuf_fd, SyncType sync_type = kSyncRead,
197 int DoSync(unsigned int dmabuf_fd, bool start, SyncType sync_type,
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp224 for (auto sync_type : vec_sync_type) { in TEST_F() local
231 int ret = allocator->CpuSyncStart(map_fd, sync_type); in TEST_F()
234 ret = allocator->CpuSyncEnd(map_fd, sync_type); in TEST_F()