Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp379 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() function
440 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeDetectSurfaceType()
458 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeDetectSurfaceDataspace()
488 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeDetectSurfaceDimens()
516 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeDetectSurfaceUsageFlags()
538 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeDisconnectSurface()
607 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeProduceFrame()
640 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeSetSurfaceFormat()
657 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeSetSurfaceDimens()
702 if ((anw = getNativeWindow(env, surface)) == NULL) { in LegacyCameraDevice_nativeSetSurfaceOrientation()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.h7 extern ANativeWindow *getNativeWindow();
Dnativewindow.cpp85 ANativeWindow *getNativeWindow() in getNativeWindow() function
Dxaplay.c426 nativeWindow = getNativeWindow(); in main()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp399 native_handle_t* getNativeWindow() { return mImgReaderAnw; } in getNativeWindow() function in __anon511359ea0111::ImageReaderTestCase
587 cameraHelper.initCamera(testCase.getNativeWindow(), {}/*physicalImageReaders*/, in takePictures()
755 physicalImgReaderInfo.push_back({physicalCameraIds[0], testCases[1]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
756 physicalImgReaderInfo.push_back({physicalCameraIds[1], testCases[2]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
759 cameraHelper.initCamera(testCases[0]->getNativeWindow(), physicalImgReaderInfo, in testLogicalCameraPhysicalStream()
789 auto it = configuredWindowsp->find(testCase->getNativeWindow()); in testLogicalCameraPhysicalStream()
793 ALOGI("Testing window %p", testCase->getNativeWindow()); in testLogicalCameraPhysicalStream()
/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.cpp2635 auto nativeWindow = nativeWindowSurface->getNativeWindow(); in setupNewDisplayDeviceInternal()
/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/opengl/libs/EGL/
Degl_platform_entries.cpp686 native_window_set_buffers_smpte2086_metadata(s->getNativeWindow(), &smpteMetadata); in sendSurfaceMetadata()
696 native_window_set_buffers_cta861_3_metadata(s->getNativeWindow(), &cta8613Metadata); in sendSurfaceMetadata()
1422 native_window_api_disconnect(s->getNativeWindow(), NATIVE_WINDOW_API_EGL); in eglSwapBuffersWithDamageKHRImpl()
1446 native_window_set_surface_damage(s->getNativeWindow(), androidRects.data(), in eglSwapBuffersWithDamageKHRImpl()
1539 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1542 int err = native_window_set_auto_refresh(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
1547 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1550 int err = native_window_enable_frame_timestamps(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
2248 native_window_set_buffers_timestamp(s->getNativeWindow(), time); in eglPresentationTimeANDROIDImpl()
2333 if (!s->getNativeWindow()) { in eglGetNextFrameIdANDROIDImpl()
[all …]
Degl_object.h137 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() function
138 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() function
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp379 EXPECT_CALL(*test->mNativeWindowSurface, getNativeWindow()) in setupNativeWindowSurfaceCreationCallExpectations()