Home
last modified time | relevance | path

Searched refs:setVsyncEnabled (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockSchedulerCallback.h26 MOCK_METHOD(void, setVsyncEnabled, (bool), (override));
33 void setVsyncEnabled(bool) override {} in setVsyncEnabled() function
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetPowerModeInternalTest.cpp64 EXPECT_CALL(test->mFlinger.mockSchedulerCallback(), setVsyncEnabled(_)).Times(0); in setupVsyncAndEventThreadNoCallExpectations()
91 EXPECT_CALL(test->mFlinger.mockSchedulerCallback(), setVsyncEnabled(true)).Times(1); in setupAcquireAndEnableVsyncCallExpectations()
99 EXPECT_CALL(test->mFlinger.mockSchedulerCallback(), setVsyncEnabled(false)).Times(1); in setupReleaseAndDisableVsyncCallExpectations()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp189 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in processesHotplugConnectCommon()
316 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, in TEST_F()
390 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, in TEST_F()
DHWComposerTest.cpp73 EXPECT_CALL(*mHal, setVsyncEnabled(_, _)); in TEST()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp412 mSchedulerCallback.setVsyncEnabled(true); in enableHardwareVsync()
420 mSchedulerCallback.setVsyncEnabled(false); in disableHardwareVsync()
466 mSchedulerCallback.setVsyncEnabled(true); in setVsyncPeriod()
DScheduler.h88 virtual void setVsyncEnabled(bool) = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h96 MOCK_METHOD2(setVsyncEnabled, void(PhysicalDisplayId, hal::Vsync));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h218 virtual void setVsyncEnabled(PhysicalDisplayId, hal::Vsync enabled) = 0;
391 void setVsyncEnabled(PhysicalDisplayId, hal::Vsync enabled) override;
DHWC2.h142 [[nodiscard]] virtual hal::Error setVsyncEnabled(hal::Vsync enabled) = 0;
225 hal::Error setVsyncEnabled(hal::Vsync enabled) override;
DHWC2.cpp101 error = setVsyncEnabled(HWC2::Vsync::DISABLE); in ~Display()
499 Error Display::setVsyncEnabled(Vsync enabled) in setVsyncEnabled() function in android::HWC2::impl::Display
502 auto intError = mComposer.setVsyncEnabled(mId, intEnabled); in setVsyncEnabled()
DHWComposer.cpp364 void HWComposer::setVsyncEnabled(PhysicalDisplayId displayId, hal::Vsync enabled) { in setVsyncEnabled() function in android::impl::HWComposer
378 auto error = displayData.hwcDisplay->setVsyncEnabled(enabled); in setVsyncEnabled()
551 setVsyncEnabled(displayId, hal::Vsync::DISABLE); in setPowerMode()
DAidlComposerHal.h127 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
DComposerHal.h166 virtual Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) = 0;
DHidlComposerHal.h235 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
DHidlComposerHal.cpp623 Error HidlComposer::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) { in setVsyncEnabled() function in android::Hwc2::HidlComposer
624 auto ret = mClient->setVsyncEnabled(display, enabled); in setVsyncEnabled()
DAidlComposerHal.cpp592 Error AidlComposer::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) { in setVsyncEnabled() function in android::Hwc2::AidlComposer
595 mAidlComposerClient->setVsyncEnabled(translate<int64_t>(display), enableVsync); in setVsyncEnabled()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockHWC2.h78 MOCK_METHOD(hal::Error, setVsyncEnabled, (hal::Vsync), (override));
DMockComposer.h95 MOCK_METHOD2(setVsyncEnabled, Error(Display, IComposerClient::Vsync));
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_displayhardware_fuzzer.cpp287 composer.setVsyncEnabled(display, mFdp.ConsumeBool() ? Vsync::ENABLE : Vsync::DISABLE); in invokeAidlComposer()
597 mHwc.setVsyncEnabled(mPhysicalDisplayId, in invokeComposer()
Dsurfaceflinger_fuzzers_utils.h812 void setVsyncEnabled(bool) override {} in setVsyncEnabled() function
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h94 V2_1::Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
DFakeComposerClient.cpp338 V2_1::Error FakeComposerClient::setVsyncEnabled(Display /*display*/, in setVsyncEnabled() function in FakeComposerClient
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h246 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
Dvr_hwc.cpp430 Error VrHwc::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) { in setVsyncEnabled() function in android::dvr::VrHwc
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h689 void setVsyncEnabled(bool) override;
1015 getHwComposer().setVsyncEnabled(id, enabled); in setHWCVsyncEnabled()

12