Home
last modified time | relevance | path

Searched refs:computeFps (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFpsReporterTest.cpp167 EXPECT_CALL(mFrameTimeline, computeFps(UnorderedElementsAre(1, 11, 111))) in TEST_F()
177 EXPECT_CALL(mFrameTimeline, computeFps(_)).Times(0); in TEST_F()
194 EXPECT_CALL(mFrameTimeline, computeFps(UnorderedElementsAre(11))) in TEST_F()
DFrameTimelineTest.cpp2567 EXPECT_EQ(mFrameTimeline->computeFps({}), 0.0f); in TEST_F()
2583 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 0.0f); in TEST_F()
2609 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 10.0); in TEST_F()
2635 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne, sLayerIdTwo}), 10.0f); in TEST_F()
2661 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 0.0f); in TEST_F()
2721 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 5.0f); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockFrameTimeline.h38 MOCK_METHOD1(computeFps, float(const std::unordered_set<int32_t>&));
/frameworks/native/services/surfaceflinger/
DFpsReporter.cpp91 listener.listener->onFpsReported(mFrameTimeline.computeFps(layerIds)); in dispatchLayerFps()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h339 virtual float computeFps(const std::unordered_set<int32_t>& layerIds) = 0;
489 float computeFps(const std::unordered_set<int32_t>& layerIds) override;
DFrameTimeline.cpp1298 float FrameTimeline::computeFps(const std::unordered_set<int32_t>& layerIds) { in computeFps() function in android::frametimeline::impl::FrameTimeline