Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DFpsReporterTest.cpp173 computeFps(UnorderedElementsAre(mTarget->getSequence(), mChild->getSequence(), in TEST_F()
184 EXPECT_CALL(mFrameTimeline, computeFps(_)).Times(0); in TEST_F()
198 EXPECT_CALL(mFrameTimeline, computeFps(UnorderedElementsAre(mTarget->getSequence()))) in TEST_F()
DFrameTimelineTest.cpp2083 EXPECT_EQ(mFrameTimeline->computeFps({}), 0.0f); in TEST_F()
2099 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 0.0f); in TEST_F()
2125 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 10.0); in TEST_F()
2151 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne, sLayerIdTwo}), 10.0f); in TEST_F()
2177 EXPECT_EQ(mFrameTimeline->computeFps({sLayerIdOne}), 0.0f); in TEST_F()
2237 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.cpp80 listener.listener->onFpsReported(mFrameTimeline.computeFps(layerIds)); in dispatchLayerFps()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h322 virtual float computeFps(const std::unordered_set<int32_t>& layerIds);
461 float computeFps(const std::unordered_set<int32_t>& layerIds) override;
DFrameTimeline.cpp1115 float FrameTimeline::computeFps(const std::unordered_set<int32_t>& layerIds) { in computeFps() function in android::frametimeline::impl::FrameTimeline