Searched refs:native_window_set_buffer_count (Results 1 - 13 of 13) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp317 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 4));
338 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 4));
366 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 4));
374 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 3));
389 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 4));
410 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 4));
431 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 3));
456 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 3));
476 ASSERT_EQ(OK, native_window_set_buffer_count(mANW.get(), 3));
557 ASSERT_EQ(OK, native_window_set_buffer_count(mAN
[all...]
H A DSurface_test.cpp134 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3));
312 native_window_set_buffer_count(window.get(), 4);
317 native_window_set_buffer_count(window.get(), 3);
319 native_window_set_buffer_count(window.get(), 2);
341 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(window.get(), BUFFER_COUNT));
720 native_window_set_buffer_count(mWindow.get(), 4);
H A DCpuConsumer_test.cpp474 err = native_window_set_buffer_count(anw.get(),
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp171 err = native_window_set_buffer_count(nativeWindow, numBufs);
H A DACodec.cpp754 err = native_window_set_buffer_count(nativeWindow, buffers.size());
756 ALOGE("native_window_set_buffer_count failed: %s (%d)", strerror(-err),
1203 err = native_window_set_buffer_count(
1207 ALOGE("native_window_set_buffer_count failed: %s (%d)", strerror(-err),
/frameworks/native/libs/nativewindow/
H A DANativeWindow.cpp200 return native_window_set_buffer_count(window, bufferCount);
/frameworks/native/libs/nativewindow/include/system/
H A Dwindow.h651 * native_window_set_buffer_count(..., count)
654 static inline int native_window_set_buffer_count( function
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp439 res = native_window_set_buffer_count(mConsumer.get(),
H A DCamera3StreamSplitter.cpp188 res = native_window_set_buffer_count(outputQueue.get(),
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp317 int rc = native_window_set_buffer_count(a, count);
966 return native_window_set_buffer_count(a, count);
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp851 err = native_window_set_buffer_count(surface.window.get(), 0);
853 ALOGE("native_window_set_buffer_count(0) failed: %s (%d)",
987 err = native_window_set_buffer_count(surface.window.get(), std::max(2u, num_images));
991 ALOGE("native_window_set_buffer_count(%d) failed: %s (%d)", num_images,
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp125 err = native_window_set_buffer_count(surface.get(), maxBufferSlack + 1 + minUndequeuedBuffers);
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp310 res = native_window_set_buffer_count(anw.get(), totalBufferCount);

Completed in 2054 milliseconds