Home
last modified time | relevance | path

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

/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp63 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void *), in DmabufHeapCpuSyncStart() argument
67 return buffer_allocator->CpuSyncStart(dmabuf_fd, sync_type, legacy_ion_cpu_sync, in DmabufHeapCpuSyncStart()
72 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void*), in DmabufHeapCpuSyncEnd() argument
76 return buffer_allocator->CpuSyncEnd(dmabuf_fd, sync_type, legacy_ion_cpu_sync, custom_data); in DmabufHeapCpuSyncEnd()
DBufferAllocator.cpp330 int BufferAllocator::DoSync(unsigned int dmabuf_fd, bool start, SyncType sync_type, in DoSync() argument
340 static_cast<uint64_t>(sync_type), in DoSync()
345 int BufferAllocator::CpuSyncStart(unsigned int dmabuf_fd, SyncType sync_type, in CpuSyncStart() argument
348 int ret = DoSync(dmabuf_fd, true, sync_type, legacy_ion_cpu_sync_custom, in CpuSyncStart()
355 int BufferAllocator::CpuSyncEnd(unsigned int dmabuf_fd, SyncType sync_type, in CpuSyncEnd() argument
358 int ret = DoSync(dmabuf_fd, false, sync_type, legacy_ion_cpu_sync_custom, in CpuSyncEnd()
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocatorWrapper.h48 SyncType sync_type, int (*legacy_ion_cpu_sync)(int, int, void *),
52 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,
207 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()