Lines Matching refs:surfaceFrame

125         auto surfaceFrame =  in addEmptySurfaceFrame()  local
129 mFrameTimeline->addSurfaceFrame(std::move(surfaceFrame)); in addEmptySurfaceFrame()
222 auto surfaceFrame = in TEST_F() local
226 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::None); in TEST_F()
235 auto surfaceFrame = in TEST_F() local
240 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::Expired); in TEST_F()
248 auto surfaceFrame = in TEST_F() local
253 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::Valid); in TEST_F()
254 EXPECT_EQ(compareTimelineItems(surfaceFrame->getPredictions(), TimelineItem(10, 20, 30)), true); in TEST_F()
263 auto surfaceFrame = in TEST_F() local
268 EXPECT_EQ(inputEventId, surfaceFrame->getInputEventId()); in TEST_F()
410 auto surfaceFrame = in TEST_F() local
415 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
416 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
435 auto surfaceFrame = in TEST_F() local
440 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
441 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
452 auto surfaceFrame = mFrameTimeline->createSurfaceFrameForToken({}, sPidOne, 0, sLayerIdOne, in TEST_F() local
456 surfaceFrame->setActualQueueTime(123); in TEST_F()
457 surfaceFrame->setAcquireFenceTime(456); in TEST_F()
458 EXPECT_EQ(surfaceFrame->getActuals().endTime, 456); in TEST_F()
462 auto surfaceFrame = mFrameTimeline->createSurfaceFrameForToken({}, sPidOne, 0, sLayerIdOne, in TEST_F() local
466 surfaceFrame->setActualQueueTime(456); in TEST_F()
467 surfaceFrame->setAcquireFenceTime(123); in TEST_F()
468 EXPECT_EQ(surfaceFrame->getActuals().endTime, 456); in TEST_F()
477 auto surfaceFrame = in TEST_F() local
483 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
484 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
494 auto surfaceFrame = in TEST_F() local
500 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
501 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
511 auto surfaceFrame = in TEST_F() local
517 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
518 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
1766 auto surfaceFrame = in TEST_F() local
1771 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
1772 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
2731 auto surfaceFrame = in TEST_F() local
2735 ASSERT_EQ(surfaceFrame->getBaseTime(), 10); in TEST_F()
2739 surfaceFrame = mFrameTimeline->createSurfaceFrameForToken(ftInfo, sPidOne, sUidOne, sLayerIdOne, in TEST_F()
2743 surfaceFrame->setActualStartTime(200); in TEST_F()
2744 ASSERT_EQ(surfaceFrame->getBaseTime(), 200); in TEST_F()
2747 surfaceFrame->setAcquireFenceTime(100); in TEST_F()
2748 ASSERT_EQ(surfaceFrame->getBaseTime(), 100); in TEST_F()
2752 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
2753 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
2756 ASSERT_EQ(surfaceFrame->getBaseTime(), 50); in TEST_F()
2765 auto surfaceFrame = in TEST_F() local
2771 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
2772 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
2776 EXPECT_EQ(surfaceFrame->getRenderRate().getPeriodNsecs(), 11); in TEST_F()
2785 auto surfaceFrame = in TEST_F() local
2789 surfaceFrame->setRenderRate(RR_30); in TEST_F()
2791 surfaceFrame->setPresentState(SurfaceFrame::PresentState::Presented); in TEST_F()
2792 mFrameTimeline->addSurfaceFrame(surfaceFrame); in TEST_F()
2796 EXPECT_EQ(surfaceFrame->getRenderRate().getPeriodNsecs(), 30); in TEST_F()