Searched refs:grallocUsage (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/libs/nativewindow/tests/ |
D | AHardwareBufferTest.cpp | 40 uint64_t grallocUsage, uint64_t hardwareBufferUsage) { in TestUsageConversion() argument 42 if (convertedGrallocUsage != grallocUsage) in TestUsageConversion() 43 return BuildHexFailureMessage(grallocUsage, convertedGrallocUsage, "converToGralloc"); in TestUsageConversion() 45 … uint64_t convertedHArdwareBufferUsage = AHardwareBuffer_convertFromGrallocUsageBits(grallocUsage); in TestUsageConversion() 46 if (convertedHArdwareBufferUsage != grallocUsage) in TestUsageConversion() 47 … return BuildHexFailureMessage(grallocUsage, convertedHArdwareBufferUsage, "convertFromGralloc"); in TestUsageConversion()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 270 uint64_t grallocUsage, uint32_t stride, 296 uint64_t grallocUsage, uint32_t stride, in C2AllocationGralloc() argument 305 mGrallocUsage(grallocUsage), in C2AllocationGralloc() 341 uint64_t grallocUsage = static_cast<C2AndroidMemoryUsage>(usage).asGrallocUsage(); in map() local 343 (long long)usage.expected, (long long)grallocUsage); in map() 389 const_cast<native_handle_t *>(mBuffer), grallocUsage, in map() 467 const_cast<native_handle_t*>(mBuffer), grallocUsage, in map() 527 const_cast<native_handle_t*>(mBuffer), grallocUsage, in map() 547 const_cast<native_handle_t*>(mBuffer), grallocUsage, in map() 695 uint64_t grallocUsage = static_cast<C2AndroidMemoryUsage>(usage).asGrallocUsage(); in newGraphicAllocation() local [all …]
|
/frameworks/native/vulkan/include/vulkan/ |
D | vk_android_native_buffer.h | 99 …ocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 112 int* grallocUsage
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 84 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(usage); in android_hardware_HardwareBuffer_create() local 86 grallocUsage, std::string("HardwareBuffer pid [") + std::to_string(getpid()) +"]"); in android_hardware_HardwareBuffer_create()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 148 uint32_t grallocUsage = in init() local 156 grallocUsage); in init()
|
/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 179 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(mUsage); in lockImage() local 182 lockImageFromBuffer(mBuffer, grallocUsage, mBuffer->mFence->dup(), lockedBuffer.get()); in lockImage()
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver.cpp | 933 int* grallocUsage) { in GetSwapchainGrallocUsageANDROID() argument 935 *grallocUsage = 0; in GetSwapchainGrallocUsageANDROID()
|
D | null_driver_gen.h | 206 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 406 Secure secure, Primary primary, int grallocUsage> 416 static constexpr int GRALLOC_USAGE = grallocUsage;
|