Home
last modified time | relevance | path

Searched refs:native_window_set_usage (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
87 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
137 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
205 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
350 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
396 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
DSurfaceTextureFBO_test.cpp36 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
DMultiTextureConsumer_test.cpp71 ASSERT_EQ(native_window_set_usage(mANW, GRALLOC_USAGE_SW_WRITE_OFTEN), NO_ERROR); in TEST_F()
DCpuConsumer_test.cpp463 err = native_window_set_usage(anw.get(), in configureANW()
DSurface_test.cpp132 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F()
142 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F()
/frameworks/base/libs/hwui/utils/
DTestWindowContext.cpp70 native_window_set_usage(mAndroidSurface.get(), in TestWindowData()
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp193 return native_window_set_usage(window, usage); in ANativeWindow_setUsage()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp113 err = native_window_set_usage(nativeWindow, finalUsage); in setNativeWindowSizeFormatAndUsage()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h548 static inline int native_window_set_usage(struct ANativeWindow* window, uint64_t usage) { in native_window_set_usage() function
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp152 native_window_set_usage( in resetFormatIfChanged()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.cpp318 native_window_set_usage(a, mPreviewUsage); in setBufferCount()
386 int rc = native_window_set_usage(a, mPreviewUsage); in setUsage()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp369 res = native_window_set_usage(mConsumer.get(), mUsage); in configureConsumerQueueLocked()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp288 res = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); in ImageWriter_init()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp107 err = native_window_set_usage(surface.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); in connectSurface()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp137 status_t err = native_window_set_usage(anw.get(), mStream.buffer_producer.usage); in readyToRun()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1020 err = native_window_set_usage(surface.window.get(), uint64_t(gralloc_usage)); in CreateSwapchainKHR()
/frameworks/native/opengl/libagl/
Degl.cpp388 native_window_set_usage(nativeWindow, in connect()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger_hwc1.cpp3933 err |= native_window_set_usage(window, usage); in captureScreenImplLocked()
DSurfaceFlinger.cpp4204 err |= native_window_set_usage(window, usage); in getWindowBuffer()