Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/jni/
H A 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()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp214 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
217 setBufferCount(mNativeSurface->getNativeWindow()); in setupPipelineSurface()
229 native_window_enable_frame_timestamps(mNativeSurface->getNativeWindow(), true); in setupPipelineSurface()
260 ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); in allocateBuffers()
524 native_window_set_frame_timeline_info(mNativeSurface->getNativeWindow(), vsyncId, in draw()
564 ANativeWindow_getLastDequeueStartTime(mNativeSurface->getNativeWindow()); in draw()
571 ANativeWindow_getLastDequeueDuration(mNativeSurface->getNativeWindow()); in draw()
574 ANativeWindow_getLastQueueDuration(mNativeSurface->getNativeWindow()); in draw()
730 ANativeWindow* anw = mNativeSurface->getNativeWindow(); in getNextFrameSize()
859 mFrameNumber = ANativeWindow_getNextFrameId(mNativeSurface->getNativeWindow()); in getFrameNumber()
[all …]
H A DReliableSurface.h44 ANativeWindow* getNativeWindow() { return mWindow; } in getNativeWindow() function
/aosp12/frameworks/av/camera/ndk/ndk_vendor/tests/
H A DAImageReaderVendorTest.cpp399 const native_handle_t* getNativeWindow() { return mImgReaderAnw; } in getNativeWindow() function in __anon57a771d60110::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()
/aosp12/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.h7 extern ANativeWindow *getNativeWindow();
H A Dnativewindow.cpp85 ANativeWindow *getNativeWindow() in getNativeWindow() function
H A Dxaplay.c426 nativeWindow = getNativeWindow(); in main()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/
H A DMockNativeWindowSurface.h32 MOCK_CONST_METHOD0(getNativeWindow, sp<ANativeWindow>());
/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl_platform_entries.cpp1363 native_window_set_surface_damage(s->getNativeWindow(), androidRects.data(), in eglSwapBuffersWithDamageKHRImpl()
1447 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1450 int err = native_window_set_auto_refresh(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
1455 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
2107 native_window_set_buffers_timestamp(s->getNativeWindow(), time); in eglPresentationTimeANDROIDImpl()
2180 if (!s->getNativeWindow()) { in eglGetNextFrameIdANDROIDImpl()
2185 int ret = native_window_get_next_frame_id(s->getNativeWindow(), &nextFrameId); in eglGetNextFrameIdANDROIDImpl()
2213 if (!s->getNativeWindow()) { in eglGetCompositorTimingANDROIDImpl()
2267 ANativeWindow* window = s->getNativeWindow(); in eglGetCompositorTimingSupportedANDROIDImpl()
2297 if (!s->getNativeWindow()) { in eglGetFrameTimestampsANDROIDImpl()
[all …]
H A Degl_object.h132 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() function
133 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() function
/aosp12/frameworks/native/services/surfaceflinger/
H A DNativeWindowSurface.h38 virtual sp<ANativeWindow> getNativeWindow() const = 0;
H A DNativeWindowSurface.cpp37 sp<ANativeWindow> getNativeWindow() const override { return mSurface; } in createNativeWindowSurface() function in android::surfaceflinger::impl::createNativeWindowSurface::NativeWindowSurface
H A DSurfaceFlinger.cpp2718 auto nativeWindow = nativeWindowSurface->getNativeWindow(); in setupNewDisplayDeviceInternal()
/aosp12/frameworks/native/libs/bufferqueueconverter/include/bufferqueueconverter/
H A DBufferQueueConverter.h54 ANativeWindow* getNativeWindow(SurfaceHolder* surfaceHolder);
/aosp12/frameworks/native/libs/bufferqueueconverter/
H A DBufferQueueConverter.cpp65 ANativeWindow* getNativeWindow(SurfaceHolder* handle) { in getNativeWindow() function
/aosp12/frameworks/rs/
H A DrsGrallocConsumer.h43 ANativeWindow* getNativeWindow();
H A DrsGrallocConsumer.cpp86 ANativeWindow* GrallocConsumer::getNativeWindow() { in getNativeWindow() function in android::renderscript::GrallocConsumer
H A DrsAllocation.cpp601 return mGrallocConsumer->getNativeWindow(); in getSurface()
/aosp12/packages/services/Car/cpp/evs/sampleDriver/
H A DGlWrapper.cpp227 mWindow = getNativeWindow(mSurfaceHolder.get()); in initialize()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DDisplayTransactionTestHelpers.h309 EXPECT_CALL(*test->mNativeWindowSurface, getNativeWindow())