Lines Matching refs:layerInfo
48 layerInfo.mFrameTimes = frameTimes; in setFrameTimes()
52 layerInfo.mLastRefreshRate.reported = fps; in setLastRefreshRate()
53 layerInfo.mLastRefreshRate.calculated = fps; in setLastRefreshRate()
56 auto calculateAverageFrameTime() { return layerInfo.calculateAverageFrameTime(); } in calculateAverageFrameTime()
58 LayerInfo layerInfo{"TestLayerInfo", 0, LayerHistory::LayerVoteType::Heuristic}; member in android::scheduler::LayerInfoTest
202 layerInfo.setLayerVote(vote); in TEST_F()
205 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
218 layerInfo.setLayerVote(vote); in TEST_F()
221 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
236 layerInfo.setLayerVote(vote); in TEST_F()
239 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
249 layerInfo.setLayerVote(vote); in TEST_F()
252 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
263 layerInfo.setLayerVote(vote); in TEST_F()
266 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
274 ASSERT_FALSE(layerInfo.isFrontBuffered()); in TEST_F()
277 layerInfo.setLastPresentTime(0, 0, LayerHistory::LayerUpdateType::Buffer, true, prop); in TEST_F()
278 ASSERT_TRUE(layerInfo.isFrontBuffered()); in TEST_F()
281 layerInfo.setLastPresentTime(0, 0, LayerHistory::LayerUpdateType::Buffer, true, prop); in TEST_F()
282 ASSERT_FALSE(layerInfo.isFrontBuffered()); in TEST_F()