Searched refs:ion_fd_ (Results 1 – 2 of 2) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 72 uses_legacy_ion_iface_ = ion_is_legacy(ion_fd_); in QueryIonHeaps() 80 int ret = ion_query_heap_cnt(ion_fd_, &heap_count); in QueryIonHeaps() 83 ret = ion_query_get_heaps(ion_fd_, heap_count, ion_heap_info_.data()); in QueryIonHeaps() 101 ion_fd_.reset(TEMP_FAILURE_RETRY(open(kIonDevice, O_RDONLY| O_CLOEXEC))); in BufferAllocator() 107 CHECK(ion_fd_ >= 0) << "Either dmabuf heaps or ion must be supported"; in BufferAllocator() 218 ret = ion_alloc_fd(ion_fd_, len, 0, heap_config.mask, flags, &alloc_fd); in IonAlloc() 238 return ion_sync_fd(ion_fd_, dmabuf_fd); in LegacyIonCpuSync() 241 int new_ion_fd = TEMP_FAILURE_RETRY(dup(ion_fd_.get())); in LegacyIonCpuSync()
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 158 android::base::unique_fd ion_fd_; variable
|