Lines Matching refs:handle
53 uint32_t GoldfishGralloc::getHostHandle(native_handle_t const* handle) { in getHostHandle() argument
56 const cb_handle_t* cb = cb_handle_t::from(handle); in getHostHandle()
65 const native_handle_t* handle = AHardwareBuffer_getNativeHandle(ahb); in getHostHandle() local
66 return getHostHandle(handle); in getHostHandle()
73 int GoldfishGralloc::getFormat(const native_handle_t* handle) { in getFormat() argument
74 return cb_handle_t::from(handle)->format; in getFormat()
78 const native_handle_t* handle = AHardwareBuffer_getNativeHandle(ahb); in getFormat() local
79 return getFormat(handle); in getFormat()
82 uint32_t GoldfishGralloc::getFormatDrmFourcc(const native_handle_t* handle) { in getFormatDrmFourcc() argument
83 return cb_handle_t::from(handle)->drmformat; in getFormatDrmFourcc()
87 const native_handle_t* handle = AHardwareBuffer_getNativeHandle(ahb); in getFormatDrmFourcc() local
88 return getFormatDrmFourcc(handle); in getFormatDrmFourcc()
103 size_t GoldfishGralloc::getAllocatedSize(const native_handle_t* handle) { in getAllocatedSize() argument
104 return static_cast<size_t>(cb_handle_t::from(handle)->allocatedSize()); in getAllocatedSize()
108 const native_handle_t* handle = AHardwareBuffer_getNativeHandle(ahb); in getAllocatedSize() local
109 return getAllocatedSize(handle); in getAllocatedSize()