Home
last modified time | relevance | path

Searched refs:Vsync (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/libs/hwui/
DJankTracker.cpp49 FrameInfoIndex::Vsync}, in __anonf38a02a80102()
53 FrameInfoIndex::Vsync, FrameInfoIndex::SyncStart},
113 nsecs_t expectedDequeueDuration = mDequeueTimeForgiveness + frame[FrameInfoIndex::Vsync] - in finishFrame()
160 nsecs_t jitterNanos = frame[FrameInfoIndex::FrameCompleted] - frame[FrameInfoIndex::Vsync]; in finishFrame()
DFrameInfo.h35 Vsync, enumerator
77 set(FrameInfoIndex::Vsync) = vsyncTime; in setVsync()
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h268 struct Vsync final : public Wrapper<HWC2::Vsync> {
275 Vsync() : Base(Invalid) {}
Dhardware_composer.cpp309 (Hwc2::IComposerClient::Vsync)(enabled ? HWC2_VSYNC_ENABLE in EnableVsync()
/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;
350 HWC2::Vsync vsyncEnabled GUARDED_BY(vsyncEnabledLock) = HWC2::Vsync::Disable;
DHWComposer.cpp362 void HWComposer::setVsyncEnabled(DisplayId displayId, HWC2::Vsync enabled) { in setVsyncEnabled()
387 ATRACE_INT(tag.c_str(), enabled == HWC2::Vsync::Enable ? 1 : 0); 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()
675 auto intEnabled = static_cast<Hwc2::IComposerClient::Vsync>(enabled); in setVsyncEnabled()
DComposerHal.cpp630 Error Composer::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) in setVsyncEnabled()
/frameworks/hardware/interfaces/displayservice/1.0/
DIEventCallback.hal21 * @param count Vsync count.
DIDisplayEventReceiver.hal23 * by default. Vsync events must be enabled with setVsyncRate.
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp508 Error VrHwc::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) { in setVsyncEnabled()
514 if (enabled != IComposerClient::Vsync::ENABLE && in setVsyncEnabled()
515 enabled != IComposerClient::Vsync::DISABLE) { in setVsyncEnabled()
529 if (enabled == IComposerClient::Vsync::ENABLE) { in setVsyncEnabled()
538 } else if (enabled == IComposerClient::Vsync::DISABLE) { in setVsyncEnabled()
636 IComposerClient::Vsync::ENABLE : IComposerClient::Vsync::DISABLE; in presentDisplay()
Dvr_hwc.h90 IComposerClient::Vsync vsync_enabled;
242 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp130 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; in syncFrameState()
DCanvasContext.cpp424 presentTime = mCurrentFrameInfo->get(FrameInfoIndex::Vsync) + in setPresentTime()
/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/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_frame.cpp88 frame_.vsync_enabled = static_cast<IComposerClient::Vsync>(value); in readFromParcel()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h74 MOCK_METHOD2(setVsyncEnabled, void(DisplayId, HWC2::Vsync));
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp332 Error FakeComposerClient::setVsyncEnabled(Display /*display*/, IComposerClient::Vsync enabled) { in setVsyncEnabled()
333 mVsyncEnabled = (enabled == IComposerClient::Vsync::ENABLE); in setVsyncEnabled()
DFakeComposerClient.h91 Error setVsyncEnabled(Display display, IComposerClient::Vsync enabled) override;
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1648 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in processesHotplugConnectCommon()
1794 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in TEST_F()
1864 setVsyncEnabled(Case::Display::HWC_DISPLAY_ID, IComposerClient::Vsync::DISABLE)) in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1528 enabled ? HWC2::Vsync::Enable : HWC2::Vsync::Disable); in setPrimaryVsyncEnabled()