Home
last modified time | relevance | path

Searched refs:getSteadyClockTimeNs (Results 1 – 8 of 8) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/
DUtils.cpp33 int64_t getSteadyClockTimeNs() { in getSteadyClockTimeNs() function
52 return steadyClockTimeNs + (getBootClockTimeNs() - getSteadyClockTimeNs()); in steadyClockTimeToBootClockTimeNs()
65 event.mWhenNs += getSteadyClockTimeNs(); in setTimedEventWithAbsoluteTime()
DVariableRefreshRateController.cpp226 postEvent(VrrControllerEventType::kNotifyExpectedPresentConfig, getSteadyClockTimeNs()); in notifyExpectedPresent()
261 mFrameRateReporter->onPresent(getSteadyClockTimeNs(), 0); in setActiveVrrConfiguration()
301 getSteadyClockTimeNs() + in setActiveVrrConfiguration()
394 getSteadyClockTimeNs() + in postSetPowerMode()
549 mMinimumRefreshRateTimeoutEvent->mWhenNs = getSteadyClockTimeNs() + delayNs; in setFixedRefreshRateRange()
718 timeoutNs = getSteadyClockTimeNs() + in onPresent()
724 getSteadyClockTimeNs() + timeoutNs); in onPresent()
733 presentTimeoutNs = getSteadyClockTimeNs() + presentTimeoutNs; in onPresent()
887 getSteadyClockTimeNs() + kDefaultWakeUpTimeInPowerSaving); in handleHibernate()
894 getSteadyClockTimeNs() + kDefaultWakeUpTimeInPowerSaving); in handleStayHibernate()
[all …]
DUtils.h96 int64_t getSteadyClockTimeNs();
/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DInstantRefreshRateCalculator.cpp76 mTimeoutEvent.mWhenNs = getSteadyClockTimeNs() + mMaxValidTimeNs; in setEnabled()
97 if (isOutdated(getSteadyClockTimeNs())) { in updateRefreshRate()
DAODRefreshRateCalculator.h50 getSteadyClockTimeNs() + kActiveRefreshRateDurationNs; in onPresentInternal()
111 getSteadyClockTimeNs() + kActiveToIdleTransitionDurationNs; in changeRefreshRateDisplayState()
DPeriodRefreshRateCalculator.cpp31 mLastMeasureTimeNs = getSteadyClockTimeNs() + params.mMeasurePeriodNs; in PeriodRefreshRateCalculator()
81 mLastMeasureTimeNs = getSteadyClockTimeNs() + mParams.mMeasurePeriodNs; in setEnabled()
/hardware/google/graphics/common/libhwc2.1/libvrr/Statistics/
DVariableRefreshRateStatistic.cpp44 mUpdateEvent.mWhenNs = getSteadyClockTimeNs() + mUpdatePeriodNs; in VariableRefreshRateStatistic()
276 mUpdateEvent.mWhenNs = getSteadyClockTimeNs() + mUpdatePeriodNs; in updateStatistic()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyProvider.cpp60 int64_t timePassedNs = (getSteadyClockTimeNs() - mLastGetStateResidencyTimeNs); in getStateResidency()
70 mLastGetStateResidencyTimeNs = getSteadyClockTimeNs(); in getStateResidency()