Lines Matching refs:window

231 Surface* ReliableSurface::getWrapped(const ANativeWindow* window) {  in getWrapped()  argument
232 return getSelf(window)->mSurface.get(); in getWrapped()
235 int ReliableSurface::hook_setSwapInterval(ANativeWindow* window, int interval) { in hook_setSwapInterval() argument
236 return callProtected(getWrapped(window), setSwapInterval, interval); in hook_setSwapInterval()
239 int ReliableSurface::hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, in hook_dequeueBuffer() argument
241 return getSelf(window)->dequeueBuffer(buffer, fenceFd); in hook_dequeueBuffer()
244 int ReliableSurface::hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, in hook_cancelBuffer() argument
246 return getSelf(window)->cancelBuffer(buffer, fenceFd); in hook_cancelBuffer()
249 int ReliableSurface::hook_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, in hook_queueBuffer() argument
251 return getSelf(window)->queueBuffer(buffer, fenceFd); in hook_queueBuffer()
254 int ReliableSurface::hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, in hook_dequeueBuffer_DEPRECATED() argument
258 int result = window->dequeueBuffer(window, &buf, &fenceFd); in hook_dequeueBuffer_DEPRECATED()
266 window->cancelBuffer(window, buf, -1); in hook_dequeueBuffer_DEPRECATED()
273 int ReliableSurface::hook_cancelBuffer_DEPRECATED(ANativeWindow* window, in hook_cancelBuffer_DEPRECATED() argument
275 return window->cancelBuffer(window, buffer, -1); in hook_cancelBuffer_DEPRECATED()
278 int ReliableSurface::hook_lockBuffer_DEPRECATED(ANativeWindow* window, in hook_lockBuffer_DEPRECATED() argument
284 int ReliableSurface::hook_queueBuffer_DEPRECATED(ANativeWindow* window, in hook_queueBuffer_DEPRECATED() argument
286 return window->queueBuffer(window, buffer, -1); in hook_queueBuffer_DEPRECATED()
289 int ReliableSurface::hook_query(const ANativeWindow* window, int what, int* value) { in hook_query() argument
290 return getWrapped(window)->query(what, value); in hook_query()
293 int ReliableSurface::hook_perform(ANativeWindow* window, int operation, ...) { in hook_perform() argument
297 getSelf(window)->clearReservedBuffer(); in hook_perform()
300 int result = callProtected(getWrapped(window), perform, operation, args); in hook_perform()
304 getSelf(window)->perform(operation, args); in hook_perform()