Searched refs:ion_fd_ (Results 1 – 2 of 2) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 85 uses_legacy_ion_iface_ = ion_is_legacy(ion_fd_); in QueryIonHeaps() 94 int ret = ion_query_heap_cnt(ion_fd_, &heap_count); in QueryIonHeaps() 97 ret = ion_query_get_heaps(ion_fd_, heap_count, ion_heap_info_.data()); in QueryIonHeaps() 114 ion_fd_.reset(TEMP_FAILURE_RETRY(open(kIonDevice, O_RDONLY| O_CLOEXEC))); in BufferAllocator() 115 if (ion_fd_ >= 0) in BufferAllocator() 170 if (ion_fd_ < 0) return 0; in MapNameToIonHeap() 254 ret = ion_alloc_fd(ion_fd_, len, legacy_align, heap_config.mask, flags, &alloc_fd); in IonAlloc() 315 return ion_sync_fd(ion_fd_, dmabuf_fd); in LegacyIonCpuSync() 318 int new_ion_fd = TEMP_FAILURE_RETRY(dup(ion_fd_.get())); in LegacyIonCpuSync()
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 217 android::base::unique_fd ion_fd_; variable
|