Lines Matching defs:handle
123 if (gralloc_info->handle->numFds != 1) {
125 "VkNativeBufferANDROID::handle::numFds is %d, "
127 gralloc_info->handle->numFds);
130 /* Do not close the gralloc handle's dma_buf. The lifetime of the dma_buf
131 * must exceed that of the gralloc handle, and we do not own the gralloc
132 * handle.
134 int dma_buf = gralloc_info->handle->data[0];
635 /* NOTE - We support buffers with only one handle but do not error on
636 * multiple handle case. Reason is that we want to support YUV formats
640 const native_handle_t *handle = AHardwareBuffer_getNativeHandle(buffer);
641 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
661 /* This should always be set due to the export handle types being set on
704 const native_handle_t *handle = AHardwareBuffer_getNativeHandle(info->buffer);
706 /* NOTE - We support buffers with only one handle but do not error on
707 * multiple handle case. Reason is that we want to support YUV formats
711 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;