Searched refs:FrameTimeData (Results 1 – 3 of 3) sorted by relevance
40 using FrameTimeData = LayerInfo::FrameTimeData; typedef in android::scheduler::LayerInfoTest47 void setFrameTimes(const std::deque<FrameTimeData>& frameTimes) { in setFrameTimes()76 std::deque<FrameTimeData> frameTimes; in TEST_F()81 frameTimes.push_back(FrameTimeData{.presentTime = kPeriod * i, in TEST_F()92 std::deque<FrameTimeData> frameTimes; in TEST_F()97 frameTimes.push_back(FrameTimeData{.presentTime = 0, in TEST_F()109 std::deque<FrameTimeData> frameTimesWithoutConfigChange; in TEST_F()113 frameTimesWithoutConfigChange.push_back(FrameTimeData{.presentTime = period * i, in TEST_F()149 std::deque<FrameTimeData> frameTimes; in TEST_F()155 frameTimes.push_back(FrameTimeData{.presentTime = kExpectedPeriod * i, in TEST_F()[all …]
243 struct FrameTimeData { struct322 bool isFrameTimeValid(const FrameTimeData&) const;349 std::deque<FrameTimeData> mFrameTimes;
71 FrameTimeData frameTime = {.presentTime = lastPresentTime, in setLastPresentTime()87 bool LayerInfo::isFrameTimeValid(const FrameTimeData& frameTime) const { in isFrameTimeValid()229 auto getFrameTime = isMissingPresentTime ? [](FrameTimeData data) { return data.queueTime; } in calculateAverageFrameTime()230 : [](FrameTimeData data) { return data.presentTime; }; in calculateAverageFrameTime()