Lines Matching refs:timeline

502     const auto& [status, timeline] = mComposerClient->setActiveConfigWithConstraints(  in TEST_P()
1433 void waitForVsyncPeriodChange(int64_t display, const VsyncPeriodChangeTimeline& timeline, in waitForVsyncPeriodChange() argument
1436 const auto kChangeDeadline = toTimePoint(timeline.newVsyncAppliedTimeNanos) + 100ms; in waitForVsyncPeriodChange()
1473 void sendRefreshFrame(const VtsDisplay& display, const VsyncPeriodChangeTimeline* timeline) { in sendRefreshFrame() argument
1474 if (timeline != nullptr) { in sendRefreshFrame()
1476 EXPECT_LT(timeline->refreshTimeNanos, timeline->newVsyncAppliedTimeNanos); in sendRefreshFrame()
1478 std::this_thread::sleep_until(toTimePoint(timeline->refreshTimeNanos)); in sendRefreshFrame()
1632 const auto& [status, timeline] = mComposerClient->setActiveConfigWithConstraints( in Test_setActiveConfigWithConstraints()
1636 EXPECT_TRUE(timeline.newVsyncAppliedTimeNanos >= constraints.desiredTimeNanos); in Test_setActiveConfigWithConstraints()
1639 EXPECT_TRUE(timeline.newVsyncAppliedTimeNanos - constraints.desiredTimeNanos <= in Test_setActiveConfigWithConstraints()
1642 if (timeline.refreshRequired) { in Test_setActiveConfigWithConstraints()
1646 std::this_thread::sleep_until(toTimePoint(timeline.refreshTimeNanos) + in Test_setActiveConfigWithConstraints()
1649 sendRefreshFrame(display, &timeline); in Test_setActiveConfigWithConstraints()
1651 waitForVsyncPeriodChange(display.getDisplayId(), timeline, in Test_setActiveConfigWithConstraints()
1658 if (timeline.refreshRequired && params.refreshMiss) { in Test_setActiveConfigWithConstraints()
1741 const auto& [timelineStatus, timeline] = in forEachNotifyExpectedPresentConfig()
1746 if (timeline.refreshRequired) { in forEachNotifyExpectedPresentConfig()
1747 sendRefreshFrame(display, &timeline); in forEachNotifyExpectedPresentConfig()
1749 waitForVsyncPeriodChange(displayId, timeline, systemTime(), oldVsyncPeriod, in forEachNotifyExpectedPresentConfig()
2498 const auto& [timelineStatus, timeline] = in TEST_P()
2502 if (timeline.refreshRequired) { in TEST_P()
2503 sendRefreshFrame(display, &timeline); in TEST_P()
2505 waitForVsyncPeriodChange(display.getDisplayId(), timeline, constraints.desiredTimeNanos, in TEST_P()
2853 const auto& [status, timeline] = in TEST_P()
2857 if (timeline.refreshRequired) { in TEST_P()
2858 sendRefreshFrame(display, &timeline); in TEST_P()