Searched refs:vsyncData (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 36 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameInterval, 8); in TEST() 37 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.preferredFrameTimelineIndex, 16); in TEST() 38 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameTimelinesLength, 20); in TEST() 39 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameTimelines, 24); in TEST() 40 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameTimelines[0].vsyncId, 24); in TEST() 41 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameTimelines[0].deadlineTimestamp, in TEST() 44 vsyncData.frameTimelines[0].expectedPresentationTime, 40); in TEST() 50 vsyncData.frameTimelines[VsyncEventData::kFrameTimelinesCapacity - 1].vsyncId, in TEST() 53 vsyncData.frameTimelines[VsyncEventData::kFrameTimelinesCapacity - 1] in TEST() 57 vsyncData.frameTimelines[VsyncEventData::kFrameTimelinesCapacity - 1] in TEST()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | EventThreadTest.cpp | 290 for (int i = 0; i < event.vsync.vsyncData.frameTimelinesLength; i++) { in expectVsyncEventFrameTimelinesCorrect() 292 event.vsync.vsyncData.frameTimelines[i].vsyncId); in expectVsyncEventFrameTimelinesCorrect() 295 event.vsync.vsyncData.frameTimelines[i].deadlineTimestamp) in expectVsyncEventFrameTimelinesCorrect() 298 event.vsync.vsyncData.frameTimelines[i].expectedPresentationTime) in expectVsyncEventFrameTimelinesCorrect() 302 EXPECT_GT(event.vsync.vsyncData.frameTimelines[i].deadlineTimestamp, in expectVsyncEventFrameTimelinesCorrect() 303 event.vsync.vsyncData.frameTimelines[i - 1].deadlineTimestamp) in expectVsyncEventFrameTimelinesCorrect() 305 EXPECT_GT(event.vsync.vsyncData.frameTimelines[i].expectedPresentationTime, in expectVsyncEventFrameTimelinesCorrect() 306 event.vsync.vsyncData.frameTimelines[i - 1].expectedPresentationTime) in expectVsyncEventFrameTimelinesCorrect() 311 EXPECT_EQ(i, event.vsync.vsyncData.frameTimelines[i].vsyncId) in expectVsyncEventFrameTimelinesCorrect() 313 if (i == event.vsync.vsyncData.preferredFrameTimelineIndex) { in expectVsyncEventFrameTimelinesCorrect() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.cpp | 99 event.vsync.vsyncData.preferredExpectedPresentationTime()); in toString() 136 event.vsync.vsyncData.preferredFrameTimelineIndex = 0; in makeVSync() 140 event.vsync.vsyncData.frameTimelines[0] = {.vsyncId = FrameTimelineInfo::INVALID_VSYNC_ID, in makeVSync() 574 const auto& vsyncData = event.vsync.vsyncData; in shouldConsumeEvent() local 577 .isVSyncInPhase(vsyncData.preferredExpectedPresentationTime(), in shouldConsumeEvent() 582 TimePoint::fromNs(event.vsync.vsyncData.preferredExpectedPresentationTime()); in shouldConsumeEvent() 707 copy.vsync.vsyncData.frameInterval = frameInterval.ns(); in dispatchEvent() 708 generateFrameTimeline(copy.vsync.vsyncData, frameInterval.ns(), copy.header.timestamp, in dispatchEvent() 709 event.vsync.vsyncData.preferredExpectedPresentationTime(), in dispatchEvent() 710 event.vsync.vsyncData.preferredDeadlineTimestamp()); in dispatchEvent() [all …]
|
/frameworks/native/libs/gui/ |
D | DisplayEventDispatcher.cpp | 177 *outVsyncEventData = ev.vsync.vsyncData; in processPendingEvents() 181 const auto frameInterval = ev.vsync.vsyncData.frameInterval; in processPendingEvents()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 86 VsyncEventData vsyncData; member
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerCallback_test.cpp | 154 vsync = {event.vsync.vsyncData.preferredVsyncId(), in waitForNextVsync() 155 event.vsync.vsyncData.preferredExpectedPresentationTime()}; in waitForNextVsync()
|