Lines Matching refs:usage
65 uint64_t usage, in sBufferDescriptorInfo() argument
71 outDescriptorInfo->usage = usage; in sBufferDescriptorInfo()
99 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
101 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
156 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
159 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize()
190 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() argument
207 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock()
235 status_t Gralloc3Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds, in lock() argument
252 auto ret = mMapper->lockYCbCr(buffer, usage, accessRegion, acquireFenceHandle, in lock()
314 uint32_t layerCount, uint64_t usage, in isSupported() argument
317 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in isSupported()
364 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, in allocate() argument
367 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in allocate()