Searched refs:mPmicMonitor (Results 1 – 2 of 2) sorted by relevance
57 private TestPmicMonitor mPmicMonitor; field in BrightnessPowerClamperTest83 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 …]
53 private PmicMonitor mPmicMonitor; field in BrightnessPowerClamper134 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()