Searched refs:LayerInfoV2 (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfoV2.cpp | 33 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 …]
|
D | LayerInfoV2.h | 45 class LayerInfoV2 { 65 LayerInfoV2(const std::string& name, nsecs_t highRefreshRatePeriod, 68 LayerInfoV2(const LayerInfo&) = delete; 69 LayerInfoV2& operator=(const LayerInfoV2&) = delete;
|
D | LayerHistoryV2.cpp | 42 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()
|
D | LayerHistory.h | 40 class LayerInfoV2; variable 163 using LayerPair = std::pair<wp<Layer>, std::unique_ptr<LayerInfoV2>>;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTestV2.cpp | 38 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/ |
D | Android.bp | 169 "Scheduler/LayerInfoV2.cpp",
|