Home
last modified time | relevance | path

Searched refs:calculateAverageFrameTime (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp56 auto calculateAverageFrameTime() { return layerInfo.calculateAverageFrameTime(); } in calculateAverageFrameTime() function in android::scheduler::LayerInfoTest
86 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F()
103 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F()
119 ASSERT_TRUE(calculateAverageFrameTime().has_value()); in TEST_F()
126 ASSERT_FALSE(calculateAverageFrameTime().has_value()); in TEST_F()
134 ASSERT_FALSE(calculateAverageFrameTime().has_value()); in TEST_F()
142 ASSERT_FALSE(calculateAverageFrameTime().has_value()); in TEST_F()
165 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F()
194 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp203 std::optional<nsecs_t> LayerInfo::calculateAverageFrameTime() const { in calculateAverageFrameTime() function in android::scheduler::LayerInfo
282 if (const auto averageFrameTime = calculateAverageFrameTime()) { in calculateRefreshRateIfPossible()
DLayerInfo.h321 std::optional<nsecs_t> calculateAverageFrameTime() const;