Searched refs:computeFps (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FpsReporterTest.cpp | 167 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()
|
D | FrameTimelineTest.cpp | 2567 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/ |
D | MockFrameTimeline.h | 38 MOCK_METHOD1(computeFps, float(const std::unordered_set<int32_t>&));
|
/frameworks/native/services/surfaceflinger/ |
D | FpsReporter.cpp | 91 listener.listener->onFpsReported(mFrameTimeline.computeFps(layerIds)); in dispatchLayerFps()
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.h | 339 virtual float computeFps(const std::unordered_set<int32_t>& layerIds) = 0; 489 float computeFps(const std::unordered_set<int32_t>& layerIds) override;
|
D | FrameTimeline.cpp | 1298 float FrameTimeline::computeFps(const std::unordered_set<int32_t>& layerIds) { in computeFps() function in android::frametimeline::impl::FrameTimeline
|