Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DEventControlThreadTest.cpp87 mThread->setVsyncEnabled(false); in TEST_F()
96 mThread->setVsyncEnabled(true); in TEST_F()
100 mThread->setVsyncEnabled(false); in TEST_F()
109 mThread->setVsyncEnabled(true); in TEST_F()
113 mThread->setVsyncEnabled(true); in TEST_F()
DDisplayTransactionTest.cpp1155 EXPECT_CALL(*mEventControlThread, setVsyncEnabled(false)).Times(1); in TEST_F()
1658 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in processesHotplugConnectCommon()
1804 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in TEST_F()
1874 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in TEST_F()
2806 EXPECT_CALL(*test->mEventControlThread, setVsyncEnabled(_)).Times(0); in setupEventAndEventControlThreadNoCallExpectations()
2833 EXPECT_CALL(*test->mEventControlThread, setVsyncEnabled(true)).Times(1); in setupAcquireAndEnableVsyncCallExpectations()
2841 EXPECT_CALL(*test->mEventControlThread, setVsyncEnabled(false)).Times(1); in setupReleaseAndDisableVsyncCallExpectations()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventControlThread.h33 virtual void setVsyncEnabled(bool enabled) = 0;
46 void setVsyncEnabled(bool enabled) override;
DEventControlThread.cpp51 void EventControlThread::setVsyncEnabled(bool enabled) { in setVsyncEnabled() function in android::impl::EventControlThread
DScheduler.cpp227 mEventControlThread->setVsyncEnabled(true); in enableHardwareVsync()
235 mEventControlThread->setVsyncEnabled(false); in disableHardwareVsync()
285 mEventControlThread->setVsyncEnabled(true); in setVsyncPeriod()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventControlThread.h31 MOCK_METHOD1(setVsyncEnabled, void(bool));
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplay.h78 MOCK_METHOD1(setVsyncEnabled, Error(HWC2::Vsync));
DMockComposer.h91 MOCK_METHOD2(setVsyncEnabled, Error(Display, IComposerClient::Vsync));
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp306 void setVsyncEnabled(hwc2_display_t display, hwc2_vsync_t enabled, in setVsyncEnabled() function in Hwc2Test
1078 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_ENABLE)); in enableVsync()
1083 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_DISABLE)); in disableVsync()
2834 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_ENABLE)); in TEST_F()
2836 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_DISABLE)); in TEST_F()
2878 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_ENABLE, &err)); in TEST_F()
2881 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_DISABLE, &err)); in TEST_F()
2898 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_INVALID, in TEST_F()
2919 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_DISABLE)); in TEST_F()
2921 ASSERT_NO_FATAL_FAILURE(setVsyncEnabled(display, HWC2_VSYNC_ENABLE)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h74 MOCK_METHOD2(setVsyncEnabled, void(DisplayId, HWC2::Vsync));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h154 virtual void setVsyncEnabled(DisplayId displayId, HWC2::Vsync enabled) = 0;
287 void setVsyncEnabled(DisplayId displayId, HWC2::Vsync enabled) override;
DHWComposer.cpp362 void HWComposer::setVsyncEnabled(DisplayId displayId, HWC2::Vsync enabled) { in setVsyncEnabled() function in android::impl::HWComposer
381 auto error = displayData.hwcDisplay->setVsyncEnabled(enabled); in setVsyncEnabled()
599 setVsyncEnabled(displayId, HWC2::Vsync::Disable); in setPowerMode()
DHWC2.h260 [[clang::warn_unused_result]] virtual Error setVsyncEnabled(Vsync enabled) = 0;
321 Error setVsyncEnabled(Vsync enabled) override;
DComposerHal.h143 virtual Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) = 0;
358 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
DHWC2.cpp277 auto error = setVsyncEnabled(HWC2::Vsync::Disable); in ~Display()
673 Error Display::setVsyncEnabled(Vsync enabled) in setVsyncEnabled() function in HWC2::impl::Display
676 auto intError = mComposer.setVsyncEnabled(mId, intEnabled); in setVsyncEnabled()
DComposerHal.cpp632 Error Composer::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) in setVsyncEnabled() function in android::Hwc2::impl::Composer
634 auto ret = mClient->setVsyncEnabled(display, enabled); in setVsyncEnabled()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h91 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
DFakeComposerClient.cpp332 Error FakeComposerClient::setVsyncEnabled(Display /*display*/, IComposerClient::Vsync enabled) { in setVsyncEnabled() function in FakeComposerClient
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h242 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
Dvr_hwc.cpp508 Error VrHwc::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) { in setVsyncEnabled() function in android::dvr::VrHwc
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp308 HWC::Error error = composer_->setVsyncEnabled(display.id, in EnableVsync()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp4500 getHwComposer().setVsyncEnabled(displayId, enabled); in setVsyncEnabledInHWC()