Lines Matching refs:mDisplayPresentProfile
47 mStatistics[mDisplayPresentProfile] = DisplayPresentRecord(); in VariableRefreshRateStatistic()
52 const auto& item = mStatistics.find(mDisplayPresentProfile); in getPowerOffDurationNs()
88 mStatistics[mDisplayPresentProfile].mUpdated = true; in getUpdatedStatistics()
97 if (mDisplayPresentProfile.mCurrentDisplayConfig.mPowerMode != from) { in onPowerStateChange()
99 mDisplayPresentProfile.mCurrentDisplayConfig.mPowerMode, from); in onPowerStateChange()
107 mDisplayPresentProfile.mCurrentDisplayConfig.mPowerMode = HWC_POWER_MODE_OFF; in onPowerStateChange()
109 auto& record = mStatistics[mDisplayPresentProfile]; in onPowerStateChange()
119 mStatistics[mDisplayPresentProfile].mLastTimeStampInBootClockNs); in onPowerStateChange()
121 mDisplayPresentProfile.mCurrentDisplayConfig.mPowerMode = to; in onPowerStateChange()
123 mDisplayPresentProfile.mNumVsync = mTeFrequency; in onPowerStateChange()
124 auto& record = mStatistics[mDisplayPresentProfile]; in onPowerStateChange()
144 mDisplayPresentProfile.mNumVsync = mTeFrequency / kFrameRateWhenPresentAtLpMode; in onPresent()
151 mDisplayPresentProfile.mNumVsync = numVsync; in onPresent()
157 auto& record = mStatistics[mDisplayPresentProfile]; in onPresent()
159 record.mAccumulatedTimeNs += (mTeIntervalNs * mDisplayPresentProfile.mNumVsync); in onPresent()
164 mDisplayPresentProfile.mNumVsync = mTeFrequency; in onPresent()
165 auto& record = mStatistics[mDisplayPresentProfile]; in onPresent()
175 mDisplayPresentProfile.mCurrentDisplayConfig.mActiveConfigId = activeConfigId; in setActiveVrrConfiguration()
209 return isPowerModeOff(mDisplayPresentProfile.mCurrentDisplayConfig.mPowerMode); in isPowerModeOffNowLocked()
213 mDisplayPresentProfile.mCurrentDisplayConfig.mBrightnessMode = in updateCurrentDisplayStatus()
215 if (mDisplayPresentProfile.mCurrentDisplayConfig.mBrightnessMode == in updateCurrentDisplayStatus()
217 mDisplayPresentProfile.mCurrentDisplayConfig.mBrightnessMode = in updateCurrentDisplayStatus()
223 if (mDisplayPresentProfile.isOff()) return; in updateIdleStats()
230 if (mDisplayPresentProfile.mCurrentDisplayConfig.mPowerMode == HWC_POWER_MODE_DOZE) { in updateIdleStats()
231 mDisplayPresentProfile.mNumVsync = mTeFrequency; in updateIdleStats()
235 auto& record = mStatistics[mDisplayPresentProfile]; in updateIdleStats()
242 mDisplayPresentProfile.mNumVsync = in updateIdleStats()
244 if (numVsync <= mDisplayPresentProfile.mNumVsync) return; in updateIdleStats()
248 auto count = (numVsync - 1) / mDisplayPresentProfile.mNumVsync; in updateIdleStats()
253 auto& record = mStatistics[mDisplayPresentProfile]; in updateIdleStats()