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