/aosp12/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_utils_SurfaceUtils.cpp | 53 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 D | CanvasContext.cpp | 214 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 D | ReliableSurface.h | 44 ANativeWindow* getNativeWindow() { return mWindow; } in getNativeWindow() function
|
/aosp12/frameworks/av/camera/ndk/ndk_vendor/tests/ |
H A D | AImageReaderVendorTest.cpp | 399 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 D | nativewindow.h | 7 extern ANativeWindow *getNativeWindow();
|
H A D | nativewindow.cpp | 85 ANativeWindow *getNativeWindow() in getNativeWindow() function
|
H A D | xaplay.c | 426 nativeWindow = getNativeWindow(); in main()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
H A D | MockNativeWindowSurface.h | 32 MOCK_CONST_METHOD0(getNativeWindow, sp<ANativeWindow>());
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | egl_platform_entries.cpp | 1363 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 D | egl_object.h | 132 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() function 133 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() function
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | NativeWindowSurface.h | 38 virtual sp<ANativeWindow> getNativeWindow() const = 0;
|
H A D | NativeWindowSurface.cpp | 37 sp<ANativeWindow> getNativeWindow() const override { return mSurface; } in createNativeWindowSurface() function in android::surfaceflinger::impl::createNativeWindowSurface::NativeWindowSurface
|
H A D | SurfaceFlinger.cpp | 2718 auto nativeWindow = nativeWindowSurface->getNativeWindow(); in setupNewDisplayDeviceInternal()
|
/aosp12/frameworks/native/libs/bufferqueueconverter/include/bufferqueueconverter/ |
H A D | BufferQueueConverter.h | 54 ANativeWindow* getNativeWindow(SurfaceHolder* surfaceHolder);
|
/aosp12/frameworks/native/libs/bufferqueueconverter/ |
H A D | BufferQueueConverter.cpp | 65 ANativeWindow* getNativeWindow(SurfaceHolder* handle) { in getNativeWindow() function
|
/aosp12/frameworks/rs/ |
H A D | rsGrallocConsumer.h | 43 ANativeWindow* getNativeWindow();
|
H A D | rsGrallocConsumer.cpp | 86 ANativeWindow* GrallocConsumer::getNativeWindow() { in getNativeWindow() function in android::renderscript::GrallocConsumer
|
H A D | rsAllocation.cpp | 601 return mGrallocConsumer->getNativeWindow(); in getSurface()
|
/aosp12/packages/services/Car/cpp/evs/sampleDriver/ |
H A D | GlWrapper.cpp | 227 mWindow = getNativeWindow(mSurfaceHolder.get()); in initialize()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | DisplayTransactionTestHelpers.h | 309 EXPECT_CALL(*test->mNativeWindowSurface, getNativeWindow())
|