Searched refs:mThermalService (Results 1 – 5 of 5) sorted by relevance
102 @VisibleForTesting IThermalService mThermalService; field in PowerUI532 if (mThermalService == null) { in doSkinThermalEventListenerRegistration()533 mThermalService = IThermalService.Stub.asInterface( in doSkinThermalEventListenerRegistration()537 ret = mThermalService.registerThermalEventListenerWithType( in doSkinThermalEventListenerRegistration()540 ret = mThermalService.unregisterThermalEventListener(mSkinThermalEventListener); in doSkinThermalEventListenerRegistration()567 if (mThermalService == null) { in doUsbThermalEventListenerRegistration()568 mThermalService = IThermalService.Stub.asInterface( in doUsbThermalEventListenerRegistration()572 ret = mThermalService.registerThermalEventListenerWithType( in doUsbThermalEventListenerRegistration()575 ret = mThermalService.unregisterThermalEventListener(mUsbThermalEventListener); in doUsbThermalEventListenerRegistration()
56 @Mock private IThermalService mThermalService; field in CachedDeviceStateServiceTest63 PowerManager powerManager = new PowerManager(context, mPowerManager, mThermalService, null); in setUp()
923 final IThermalService mThermalService; field in PowerManager938 mThermalService = thermalService; in PowerManager()1900 return mThermalService.getCurrentThermalStatus(); in getCurrentThermalStatus()1959 if (mThermalService.registerThermalStatusListener(internalListener)) { in addThermalStatusListener()1979 if (mThermalService.unregisterThermalStatusListener(internalListener)) { in removeThermalStatusListener()2037 float forecast = mThermalService.getThermalHeadroom(forecastSeconds); in getThermalHeadroom()
252 private IThermalService mThermalService; field in StatsPullAtomService893 if (mThermalService == null) { in getIThermalService()894 mThermalService = IThermalService.Stub.asInterface( in getIThermalService()896 if (mThermalService != null) { in getIThermalService()898 mThermalService.asBinder().linkToDeath(() -> { in getIThermalService()900 mThermalService = null; in getIThermalService()905 mThermalService = null; in getIThermalService()909 return mThermalService; in getIThermalService()
692 mPowerUI.mThermalService = mThermalServiceMock; in createPowerUi()