Searched refs:shared_fd (Results 1 – 1 of 1) sorted by relevance
224 int shared_fd = get_allocator().Alloc(heap_name, size, 0); in alloc_from_dmabuf_heap() local225 if (shared_fd < 0) in alloc_from_dmabuf_heap()227 ALOGE("Allocation failed for heap %s error: %d\n", heap_name.c_str(), shared_fd); in alloc_from_dmabuf_heap()231 if (get_allocator().DmabufSetName(shared_fd, buffer_name)) { in alloc_from_dmabuf_heap()236 return shared_fd; in alloc_from_dmabuf_heap()