Lines Matching refs:handle
93 void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, in getTransportSize() argument
96 mMapper->getTransportSize(handle, outTransportNumFds, outTransportNumInts); in getTransportSize()
99 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer() argument
103 mMapper->freeBuffer(handle); in freeBuffer()
108 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lock() argument
111 return lockAsync(handle, usage, bounds, vaddr, -1, outBytesPerPixel, outBytesPerStride); in lock()
114 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr() argument
117 return lockAsyncYCbCr(handle, usage, bounds, ycbcr, -1); in lockYCbCr()
120 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) in unlock() argument
123 status_t error = unlockAsync(handle, &fenceFd); in unlock()
131 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lockAsync() argument
134 return lockAsync(handle, usage, usage, bounds, vaddr, fenceFd, outBytesPerPixel, in lockAsync()
138 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, uint64_t producerUsage, in lockAsync() argument
146 return mMapper->lock(handle, usage, bounds, fenceFd, vaddr, outBytesPerPixel, in lockAsync()
150 status_t GraphicBufferMapper::lockAsyncYCbCr(buffer_handle_t handle, in lockAsyncYCbCr() argument
155 return mMapper->lock(handle, usage, bounds, fenceFd, ycbcr); in lockAsyncYCbCr()
158 status_t GraphicBufferMapper::unlockAsync(buffer_handle_t handle, int *fenceFd) in unlockAsync() argument
162 *fenceFd = mMapper->unlock(handle); in unlockAsync()