Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_camera2_utils_SurfaceUtils.cpp53 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() function
95 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceType()
113 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceDataspace()
143 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceDimens()
170 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceUsageFlags()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp216 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
219 setBufferCount(mNativeSurface->getNativeWindow()); in setupPipelineSurface()
231 native_window_enable_frame_timestamps(mNativeSurface->getNativeWindow(), true); in setupPipelineSurface()
262 ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); in allocateBuffers()
540 mNativeSurface->getNativeWindow(), frameCompleteNr, vsyncId, inputEventId, in draw()
583 ANativeWindow_getLastDequeueStartTime(mNativeSurface->getNativeWindow()); in draw()
590 ANativeWindow_getLastDequeueDuration(mNativeSurface->getNativeWindow()); in draw()
593 ANativeWindow_getLastQueueDuration(mNativeSurface->getNativeWindow()); in draw()
699 mNativeSurface->getNativeWindow(), frameNumber, nullptr /*outRequestedPresentTime*/, in reportMetricsWithPresentTime()
788 ANativeWindow* anw = mNativeSurface->getNativeWindow(); in getNextFrameSize()
[all …]
DReliableSurface.h44 ANativeWindow* getNativeWindow() { return mWindow; } in getNativeWindow() function
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.h7 extern ANativeWindow *getNativeWindow();
Dnativewindow.cpp85 ANativeWindow *getNativeWindow() in getNativeWindow() function
Dxaplay.c426 nativeWindow = getNativeWindow(); in main()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockNativeWindowSurface.h32 MOCK_CONST_METHOD0(getNativeWindow, sp<ANativeWindow>());
/frameworks/native/services/surfaceflinger/
DNativeWindowSurface.h38 virtual sp<ANativeWindow> getNativeWindow() const = 0;
DNativeWindowSurface.cpp37 sp<ANativeWindow> getNativeWindow() const override { return mSurface; } in createNativeWindowSurface() function in android::surfaceflinger::impl::createNativeWindowSurface::NativeWindowSurface
DSurfaceFlinger.cpp2877 auto nativeWindow = nativeWindowSurface->getNativeWindow(); in setupNewDisplayDeviceInternal()
/frameworks/native/libs/bufferqueueconverter/include/bufferqueueconverter/
DBufferQueueConverter.h54 ANativeWindow* getNativeWindow(SurfaceHolder* surfaceHolder);
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp455 const native_handle_t* getNativeWindow() { return mImgReaderAnw; } in getNativeWindow() function in __anon14e74b160111::ImageReaderTestCase
643 cameraHelper.initCamera(testCase.getNativeWindow(), {}/*physicalImageReaders*/, in takePictures()
818 physicalImgReaderInfo.push_back({physicalCameraIds[0], testCases[1]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
819 physicalImgReaderInfo.push_back({physicalCameraIds[1], testCases[2]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
822 cameraHelper.initCamera(testCases[0]->getNativeWindow(), physicalImgReaderInfo, in testLogicalCameraPhysicalStream()
857 auto it = configuredWindowsp->find(testCase->getNativeWindow()); in testLogicalCameraPhysicalStream()
861 ALOGI("Testing window %p", testCase->getNativeWindow()); in testLogicalCameraPhysicalStream()
/frameworks/rs/
DrsGrallocConsumer.h43 ANativeWindow* getNativeWindow();
DrsGrallocConsumer.cpp86 ANativeWindow* GrallocConsumer::getNativeWindow() { in getNativeWindow() function in android::renderscript::GrallocConsumer
DrsAllocation.cpp601 return mGrallocConsumer->getNativeWindow(); in getSurface()
/frameworks/native/libs/bufferqueueconverter/
DBufferQueueConverter.cpp65 ANativeWindow* getNativeWindow(SurfaceHolder* handle) { in getNativeWindow() function
/frameworks/native/opengl/libs/EGL/
Degl_object.h132 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() function
133 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() function
Degl_platform_entries.cpp637 native_window_set_buffers_smpte2086_metadata(s->getNativeWindow(), &smpteMetadata); in sendSurfaceMetadata()
647 native_window_set_buffers_cta861_3_metadata(s->getNativeWindow(), &cta8613Metadata); in sendSurfaceMetadata()
1344 native_window_api_disconnect(s->getNativeWindow(), NATIVE_WINDOW_API_EGL); in eglSwapBuffersWithDamageKHRImpl()
1368 native_window_set_surface_damage(s->getNativeWindow(), androidRects.data(), in eglSwapBuffersWithDamageKHRImpl()
1452 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1455 int err = native_window_set_auto_refresh(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
1460 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1465 int err = native_window_enable_frame_timestamps(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
2112 native_window_set_buffers_timestamp(s->getNativeWindow(), time); in eglPresentationTimeANDROIDImpl()
2185 if (!s->getNativeWindow()) { in eglGetNextFrameIdANDROIDImpl()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTestHelpers.h311 EXPECT_CALL(*test->mNativeWindowSurface, getNativeWindow())