Searched refs:calculateAverageFrameTime (Results 1 – 3 of 3) sorted by relevance
56 auto calculateAverageFrameTime() { return layerInfo.calculateAverageFrameTime(); } in calculateAverageFrameTime() function in android::scheduler::LayerInfoTest86 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()
203 std::optional<nsecs_t> LayerInfo::calculateAverageFrameTime() const { in calculateAverageFrameTime() function in android::scheduler::LayerInfo282 if (const auto averageFrameTime = calculateAverageFrameTime()) { in calculateRefreshRateIfPossible()
321 std::optional<nsecs_t> calculateAverageFrameTime() const;