Home
last modified time | relevance | path

Searched refs:LayerInfoV2 (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfoV2.cpp33 const RefreshRateConfigs* LayerInfoV2::sRefreshRateConfigs = nullptr;
34 bool LayerInfoV2::sTraceEnabled = false;
36 LayerInfoV2::LayerInfoV2(const std::string& name, nsecs_t highRefreshRatePeriod, in LayerInfoV2() function in android::scheduler::LayerInfoV2
44 void LayerInfoV2::setLastPresentTime(nsecs_t lastPresentTime, nsecs_t now, in setLastPresentTime()
66 bool LayerInfoV2::isFrameTimeValid(const FrameTimeData& frameTime) const { in isFrameTimeValid()
72 bool LayerInfoV2::isFrequent(nsecs_t now) const { in isFrequent()
97 bool LayerInfoV2::isAnimating(nsecs_t now) const { in isAnimating()
101 bool LayerInfoV2::hasEnoughDataForHeuristic() const { in hasEnoughDataForHeuristic()
123 std::optional<nsecs_t> LayerInfoV2::calculateAverageFrameTime() const { in calculateAverageFrameTime()
166 std::optional<float> LayerInfoV2::calculateRefreshRateIfPossible(nsecs_t now) { in calculateRefreshRateIfPossible()
[all …]
DLayerInfoV2.h45 class LayerInfoV2 {
65 LayerInfoV2(const std::string& name, nsecs_t highRefreshRatePeriod,
68 LayerInfoV2(const LayerInfo&) = delete;
69 LayerInfoV2& operator=(const LayerInfoV2&) = delete;
DLayerHistoryV2.cpp42 bool isLayerActive(const Layer& layer, const LayerInfoV2& info, nsecs_t threshold) { in isLayerActive()
61 void trace(const wp<Layer>& weak, const LayerInfoV2& info, LayerHistory::LayerVoteType type, in trace()
83 LayerInfoV2::setTraceEnabled(mTraceEnabled); in LayerHistoryV2()
84 LayerInfoV2::setRefreshRateConfigs(refreshRateConfigs); in LayerHistoryV2()
92 auto info = std::make_unique<LayerInfoV2>(layer->getName(), highRefreshRatePeriod, type); in registerLayer()
DLayerHistory.h40 class LayerInfoV2; variable
163 using LayerPair = std::pair<wp<Layer>, std::unique_ptr<LayerInfoV2>>;
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTestV2.cpp38 static constexpr auto PRESENT_TIME_HISTORY_SIZE = LayerInfoV2::HISTORY_SIZE;
39 static constexpr auto MAX_FREQUENT_LAYER_PERIOD_NS = LayerInfoV2::MAX_FREQUENT_LAYER_PERIOD_NS;
40 static constexpr auto FREQUENT_LAYER_WINDOW_SIZE = LayerInfoV2::FREQUENT_LAYER_WINDOW_SIZE;
41 static constexpr auto PRESENT_TIME_HISTORY_DURATION = LayerInfoV2::HISTORY_DURATION;
43 LayerInfoV2::RefreshRateHistory::HISTORY_DURATION;
/frameworks/native/services/surfaceflinger/
DAndroid.bp169 "Scheduler/LayerInfoV2.cpp",