Searched refs:mThermalService (Results 1 – 8 of 8) sorted by relevance
212 private IThermalService mThermalService; field in BrightnessThermalClamper.ThermalStatusObserver240 mThermalService = mInjector.getThermalService(); in registerThermalListener()241 if (mThermalService == null) { in registerThermalListener()249 mThermalService.registerThermalEventListenerWithType(this, temperatureType); in registerThermalListener()276 mThermalService.unregisterThermalEventListener(this); in stopObserving()281 mThermalService = null; in stopObserving()288 if (mThermalService != null) { in dump()
58 @VisibleForTesting final IThermalService mThermalService; field in PmicMonitor68 mThermalService = IThermalService.Stub.asInterface( in PmicMonitor()81 temperatures = mThermalService.getCurrentTemperaturesWithType( in getDisplayTemperature()161 if (mThermalService == null) { in start()
372 private IThermalService mThermalService; field in BrightnessThrottler.SkinThermalStatusObserver420 mThermalService = mInjector.getThermalService(); in registerThermalListener()421 if (mThermalService == null) { in registerThermalListener()429 mThermalService.registerThermalEventListenerWithType(this, temperatureType); in registerThermalListener()444 mThermalService.unregisterThermalEventListener(this); in stopObserving()449 mThermalService = null; in stopObserving()456 if (mThermalService != null) { in dump()
108 @VisibleForTesting IThermalService mThermalService; field in PowerUI565 if (mThermalService == null) { in doSkinThermalEventListenerRegistration()566 mThermalService = IThermalService.Stub.asInterface( in doSkinThermalEventListenerRegistration()570 ret = mThermalService.registerThermalEventListenerWithType( in doSkinThermalEventListenerRegistration()573 ret = mThermalService.unregisterThermalEventListener(mSkinThermalEventListener); in doSkinThermalEventListenerRegistration()600 if (mThermalService == null) { in doUsbThermalEventListenerRegistration()601 mThermalService = IThermalService.Stub.asInterface( in doUsbThermalEventListenerRegistration()605 ret = mThermalService.registerThermalEventListenerWithType( in doUsbThermalEventListenerRegistration()608 ret = mThermalService.unregisterThermalEventListener(mUsbThermalEventListener); in doUsbThermalEventListenerRegistration()
56 @Mock private IThermalService mThermalService; field in CachedDeviceStateServiceTest63 PowerManager powerManager = new PowerManager(context, mPowerManager, mThermalService, null); in setUp()
1195 final IThermalService mThermalService; field in PowerManager1212 mThermalService = thermalService; in PowerManager()2682 return mThermalService.getCurrentThermalStatus(); in getCurrentThermalStatus()2739 if (mThermalService.registerThermalStatusListener(internalListener)) { in addThermalStatusListener()2759 if (mThermalService.unregisterThermalStatusListener(internalListener)) { in removeThermalStatusListener()2817 float forecast = mThermalService.getThermalHeadroom(forecastSeconds); in getThermalHeadroom()2866 mThermalHeadroomThresholds = mThermalService.getThermalHeadroomThresholds(); in getThermalHeadroomThresholds()
328 private IThermalService mThermalService; field in StatsPullAtomService1120 if (mThermalService == null) { in getIThermalService()1121 mThermalService = IThermalService.Stub.asInterface( in getIThermalService()1123 if (mThermalService != null) { in getIThermalService()1125 mThermalService.asBinder().linkToDeath(() -> { in getIThermalService()1127 mThermalService = null; in getIThermalService()1132 mThermalService = null; in getIThermalService()1136 return mThermalService; in getIThermalService()
709 mPowerUI.mThermalService = mThermalServiceMock; in createPowerUi()