Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp40 using FrameTimeData = LayerInfo::FrameTimeData; typedef in android::scheduler::LayerInfoTest
47 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 …]
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h243 struct FrameTimeData { struct
322 bool isFrameTimeValid(const FrameTimeData&) const;
349 std::deque<FrameTimeData> mFrameTimes;
DLayerInfo.cpp71 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()