Lines Matching refs:handle
47 buffer_handle_t handle,
50 private_handle_t* hnd = (private_handle_t*)handle;
68 buffer_handle_t handle)
70 private_handle_t* hnd = (private_handle_t*)handle;
90 buffer_handle_t handle)
92 if (private_handle_t::validate(handle) < 0)
97 // If a buffer handle is passed from the process that allocated it to a
110 // allocations happen in its process. After returning the buffer handle to
111 // the IGraphicBufferAlloc client, SurfaceFlinger free's its handle to the
114 // buffer belongs to, it will get a new handle to the buffer in response
115 // to IGraphicBufferProducer::requestBuffer(). Like any buffer handle
117 // Since it already freed its original handle, it will only end up with
130 private_handle_t* hnd = (private_handle_t*)handle;
136 return gralloc_map(module, handle, &vaddr);
140 buffer_handle_t handle)
142 if (private_handle_t::validate(handle) < 0)
145 private_handle_t* hnd = (private_handle_t*)handle;
147 gralloc_unmap(module, handle);
171 buffer_handle_t handle, int usage,
183 if (private_handle_t::validate(handle) < 0)
186 private_handle_t* hnd = (private_handle_t*)handle;
192 buffer_handle_t handle)
197 if (private_handle_t::validate(handle) < 0)