Home
last modified time | relevance | path

Searched refs:mPmicMonitor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessPowerClamperTest.java57 private TestPmicMonitor mPmicMonitor; field in BrightnessPowerClamperTest
83 mPmicMonitor.setThermalStatus(Temperature.THROTTLING_SEVERE); in testPowerThrottlingNoOngoingAnimation()
92 mPmicMonitor.setAvgPowerConsumed(200f); in testPowerThrottlingNoOngoingAnimation()
99 mPmicMonitor.setThermalStatus(Temperature.THROTTLING_CRITICAL); in testPowerThrottlingNoOngoingAnimation()
104 mPmicMonitor.setAvgPowerConsumed(100f); in testPowerThrottlingNoOngoingAnimation()
112 mPmicMonitor.setThermalStatus(Temperature.THROTTLING_SEVERE); in testPowerThrottlingWithOngoingAnimation()
120 mPmicMonitor.setAvgPowerConsumed(200f); in testPowerThrottlingWithOngoingAnimation()
127 mPmicMonitor.setThermalStatus(Temperature.THROTTLING_CRITICAL); in testPowerThrottlingWithOngoingAnimation()
132 mPmicMonitor.setAvgPowerConsumed(100f); in testPowerThrottlingWithOngoingAnimation()
140 mPmicMonitor.setThermalStatus(Temperature.THROTTLING_LIGHT); in testPowerThrottlingRemoveBrightnessCap()
[all …]
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessPowerClamper.java53 private PmicMonitor mPmicMonitor; field in BrightnessPowerClamper
134 if (mPmicMonitor != null) { in stop()
135 mPmicMonitor.shutdown(); in stop()
160 if (mPmicMonitor != null) { in recalculateActiveData()
161 mPmicMonitor.stop(); in recalculateActiveData()
162 mPmicMonitor.start(); in recalculateActiveData()
165 if (mPmicMonitor != null) { in recalculateActiveData()
166 mPmicMonitor.stop(); in recalculateActiveData()
250 mPmicMonitor = in start()
252 mPmicMonitor.start(); in start()