Lines Matching defs:handle
115 buffer_handle_t handle,
120 if (gralloc->perform(gralloc, CROS_GRALLOC_DRM_GET_BUFFER_INFO, handle,
154 vn_android_gralloc_get_dma_buf_fd(const native_handle_t *handle)
162 assert(handle);
164 if (handle->numFds < 1) {
165 vn_log(NULL, "handle->numFds is %d, expected >= 1", handle->numFds);
169 if (handle->data[0] < 0) {
170 vn_log(NULL, "handle->data[0] < 0");
174 return handle->data[0];
292 /* let the caller handle the fallback case */
468 const native_handle_t *handle,
488 if (!vn_android_gralloc_get_buffer_properties(handle, &buf_props))
565 /* If anb_info->handle points to a classic resouce created from
586 dma_buf_fd = vn_android_gralloc_get_dma_buf_fd(anb_info->handle);
602 anb_info->handle, alloc, &builder);
1142 const native_handle_t *handle = NULL;
1151 handle = AHardwareBuffer_getNativeHandle(ahb);
1152 dma_buf_fd = vn_android_gralloc_get_dma_buf_fd(handle);
1167 handle, alloc, &builder);