Lines Matching refs:private_handle_t
61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata()
66 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
88 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
96 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
97 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
133 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
173 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
187 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
200 private_handle_t* hnd) in terminateBuffer()
219 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
223 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate()
232 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION and in gralloc_map_and_invalidate()
233 hnd->flags & private_handle_t::PRIV_FLAGS_CACHED) { in gralloc_map_and_invalidate()
238 (hnd->flags & private_handle_t::PRIV_FLAGS_NON_CPU_WRITER)) in gralloc_map_and_invalidate()
247 hnd->flags |= private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_map_and_invalidate()
261 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock()
274 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr()
285 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
289 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock()
292 if (hnd->flags & private_handle_t::PRIV_FLAGS_NEEDS_FLUSH) { in gralloc_unlock()
296 hnd->flags &= ~private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_unlock()
304 static bool isYUV(private_handle_t* hnd) in isYUV()
387 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform()
388 private_handle_t::sNumFds, private_handle_t::sNumInts()); in gralloc_perform()
389 hnd->magic = private_handle_t::sMagic; in gralloc_perform()
391 hnd->flags = private_handle_t::PRIV_FLAGS_USES_ION; in gralloc_perform()
418 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
420 if (private_handle_t::validate(hnd)) { in gralloc_perform()
434 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
437 if (private_handle_t::validate(hnd)) { in gralloc_perform()
468 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
470 if (private_handle_t::validate(hnd)) { in gralloc_perform()
482 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
484 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
491 private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform()
493 if (private_handle_t::validate(hnd)) { in gralloc_perform()
513 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
522 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
531 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
538 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
545 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
552 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
559 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
569 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()
576 auto hnd = va_arg(args, private_handle_t*); in gralloc_perform()