Searched refs:mFrameTimeline (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameTimelineTest.cpp | 71 mFrameTimeline = std::make_unique<impl::FrameTimeline>(mTimeStats, kSurfaceFlingerPid, in SetUp() 73 mFrameTimeline->registerDataSource(); in SetUp() 74 mTokenManager = &mFrameTimeline->mTokenManager; in SetUp() 75 mTraceCookieCounter = &mFrameTimeline->mTraceCookieCounter; in SetUp() 76 maxDisplayFrames = &mFrameTimeline->mMaxDisplayFrames; in SetUp() 112 mFrameTimeline->setSfPresent(2500, presentFence1); in addEmptyDisplayFrame() 123 std::lock_guard<std::mutex> lock(mFrameTimeline->mMutex); in getSurfaceFrame() 124 return *(mFrameTimeline->mDisplayFrames[displayFrameIdx] in getSurfaceFrame() 129 std::lock_guard<std::mutex> lock(mFrameTimeline->mMutex); in getDisplayFrame() 130 return mFrameTimeline->mDisplayFrames[idx]; in getDisplayFrame() [all …]
|
D | FpsReporterTest.cpp | 86 mock::FrameTimeline mFrameTimeline = member in android::FpsReporterTest 99 new FpsReporter(mFrameTimeline, *(mFlinger.flinger()), std::unique_ptr<Clock>(mClock)); 172 EXPECT_CALL(mFrameTimeline, in TEST_F() 182 Mock::VerifyAndClearExpectations(&mFrameTimeline); in TEST_F() 184 EXPECT_CALL(mFrameTimeline, computeFps(_)).Times(0); in TEST_F() 198 EXPECT_CALL(mFrameTimeline, computeFps(UnorderedElementsAre(mTarget->getSequence()))) in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | FpsReporter.cpp | 31 : mFrameTimeline(frameTimeline), mFlinger(flinger), mClock(std::move(clock)) { in FpsReporter() 80 listener.listener->onFpsReported(mFrameTimeline.computeFps(layerIds)); in dispatchLayerFps()
|
D | FpsReporter.h | 60 frametimeline::FrameTimeline& mFrameTimeline; variable
|
D | Layer.cpp | 745 mFlinger->mFrameTimeline->addSurfaceFrame(surfaceFrame); in commitTransaction() 1283 mFlinger->mFrameTimeline->addSurfaceFrame(surfaceFrame); in addSurfaceFrameDroppedForBuffer() 1291 mFlinger->mFrameTimeline->addSurfaceFrame(surfaceFrame); in addSurfaceFramePresentedForBuffer() 1298 mFlinger->mFrameTimeline->createSurfaceFrameForToken(info, mOwnerPid, mOwnerUid, in createSurfaceFrameForTransaction() 1317 mFlinger->mFrameTimeline->createSurfaceFrameForToken(info, mOwnerPid, mOwnerUid, in createSurfaceFrameForBuffer()
|
D | SurfaceFlinger.cpp | 327 mFrameTimeline(mFactory.createFrameTimeline(mTimeStats, mPid)), in SurfaceFlinger() 656 mFrameTimeline->onBootFinished(); in bootFinished() 2128 mFrameTimeline->setSfWakeUp(vsyncId, frameTime, Fps::fromPeriodNsecs(stats.vsyncPeriod)); in commit() 2461 mFrameTimeline->setSfPresent(/* sfPresentTime */ now, mPreviousPresentFences[0].fenceTime, in postComposition() 3446 mScheduler->createConnection("app", mFrameTimeline->getTokenManager(), in initScheduler() 3451 mScheduler->createConnection("appSf", mFrameTimeline->getTokenManager(), in initScheduler() 3458 mScheduler->initVsync(mScheduler->getVsyncDispatch(), *mFrameTimeline->getTokenManager(), in initScheduler() 3463 mFpsReporter = new FpsReporter(*mFrameTimeline, *this); in initScheduler() 3934 const auto prediction = mFrameTimeline->getTokenManager()->getPredictionsForToken(vsyncId); in frameIsEarly() 5121 mFrameTimeline->parseArgs(args, result); in dumpFrameTimeline() [all …]
|
D | BufferStateLayer.cpp | 419 mFlinger->mFrameTimeline->getTokenManager()->getPredictionsForToken(info.vsyncId); in setBuffer()
|
D | SurfaceFlinger.h | 1280 const std::unique_ptr<frametimeline::FrameTimeline> mFrameTimeline; variable
|