Lines Matching refs:handle
59 buffer_handle_t handle)
61 private_handle_t* hnd = (private_handle_t*)handle;
70 ALOGE("Could not mmap handle %p, fd=%d (%s)",
71 handle, hnd->fd, strerror(errno));
82 ALOGE("Could not mmap handle %p, fd=%d (%s)",
83 handle, hnd->fd_metadata, strerror(errno));
93 buffer_handle_t handle)
95 private_handle_t* hnd = (private_handle_t*)handle;
128 buffer_handle_t handle)
130 if (private_handle_t::validate(handle) < 0)
138 * handle, but instead maintained in the kernel or at least
142 private_handle_t* hnd = (private_handle_t*)handle;
145 int err = gralloc_map(module, handle);
155 buffer_handle_t handle)
157 if (private_handle_t::validate(handle) < 0)
166 private_handle_t* hnd = (private_handle_t*)handle;
169 gralloc_unmap(module, handle);
202 buffer_handle_t handle, int usage,
205 if (private_handle_t::validate(handle) < 0)
209 private_handle_t* hnd = (private_handle_t*)handle;
215 err = gralloc_map(module, handle);
237 buffer_handle_t handle, int usage,
241 private_handle_t* hnd = (private_handle_t*)handle;
242 int err = gralloc_map_and_invalidate(module, handle, usage, l, t, w, h);
249 buffer_handle_t handle, int usage,
253 private_handle_t* hnd = (private_handle_t*)handle;
254 int err = gralloc_map_and_invalidate(module, handle, usage, l, t, w, h);
280 buffer_handle_t handle)
282 if (private_handle_t::validate(handle) < 0)
285 private_handle_t* hnd = (private_handle_t*)handle;
327 native_handle_t** handle = va_arg(args, native_handle_t**);
341 *handle = (native_handle_t *)hnd;