Home
last modified time | relevance | path

Searched refs:grallocUsage (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp40 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/
DC2AllocatorGralloc.cpp408 uint64_t grallocUsage = static_cast<C2AndroidMemoryUsage>(usage).asGrallocUsage(); in map() local
410 (long long)usage.expected, (long long)grallocUsage); in map()
489 grallocUsage, in map()
506 grallocUsage, in map()
602 grallocUsage, in map()
619 grallocUsage, in map()
708 const_cast<native_handle_t *>(mBuffer), grallocUsage, in map()
730 const_cast<native_handle_t *>(mBuffer), grallocUsage, in map()
939 uint64_t grallocUsage = static_cast<C2AndroidMemoryUsage>(usage).asGrallocUsage(); in newGraphicAllocation() local
941 (long long)usage.expected, (long long)grallocUsage); in newGraphicAllocation()
[all …]
/frameworks/native/vulkan/include/vulkan/
Dvk_android_native_buffer.h97 …ocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
110 int* grallocUsage
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp85 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(usage); in android_hardware_HardwareBuffer_create() local
87 grallocUsage, std::string("HardwareBuffer pid [") + std::to_string(getpid()) +"]"); in android_hardware_HardwareBuffer_create()
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp148 uint32_t grallocUsage = in init() local
156 grallocUsage); in init()
/frameworks/av/media/ndk/
DNdkImage.cpp179 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(mUsage); in lockImage() local
182 lockImageFromBuffer(mBuffer, grallocUsage, mBuffer->mFence->dup(), lockedBuffer.get()); in lockImage()
/frameworks/native/vulkan/nulldrv/
Dnull_driver.tmpl65 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
Dnull_driver_gen.h196 …sageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int32_t* grallocUsage);
210 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
Dnull_driver.cpp933 int* grallocUsage) { in GetSwapchainGrallocUsageANDROID() argument
935 *grallocUsage = 0; in GetSwapchainGrallocUsageANDROID()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp325 Secure secure, Primary primary, int grallocUsage>
333 static constexpr int GRALLOC_USAGE = grallocUsage;
/frameworks/native/vulkan/api/
Dvulkan.api10588 s32* grallocUsage) {