Lines Matching refs:now
42 constexpr nsecs_t getActiveLayerThreshold(nsecs_t now) { in getActiveLayerThreshold() argument
43 return now - MAX_ACTIVE_LAYER_PERIOD_NS.count(); in getActiveLayerThreshold()
145 void setLastPresentTime(nsecs_t lastPresentTime, nsecs_t now, LayerUpdateType updateType,
164 LayerVote getRefreshRateVote(nsecs_t now);
181 void onLayerInactive(nsecs_t now) { in onLayerInactive() argument
186 const auto timePoint = std::chrono::nanoseconds(now); in onLayerInactive()
192 void clearHistory(nsecs_t now) { in clearHistory() argument
193 onLayerInactive(now); in clearHistory()
229 bool add(Fps refreshRate, nsecs_t now);
263 bool isFrequent(nsecs_t now) const;
264 bool isAnimating(nsecs_t now) const;
266 std::optional<Fps> calculateRefreshRateIfPossible(nsecs_t now);
292 std::chrono::steady_clock::now();