Home
last modified time | relevance | path

Searched refs:mThermalService (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManager.java779 IThermalService mThermalService; field in PowerManager
1763 if (mThermalService == null) { in getCurrentThermalStatus()
1764 mThermalService = IThermalService.Stub.asInterface( in getCurrentThermalStatus()
1768 return mThermalService.getCurrentThermalStatus(); in getCurrentThermalStatus()
1801 if (mThermalService == null) { in addThermalStatusListener()
1802 mThermalService = IThermalService.Stub.asInterface( in addThermalStatusListener()
1820 if (mThermalService == null) { in addThermalStatusListener()
1821 mThermalService = IThermalService.Stub.asInterface( in addThermalStatusListener()
1840 if (mThermalService.registerThermalStatusListener(internalListener)) { in addThermalStatusListener()
1859 if (mThermalService == null) { in removeThermalStatusListener()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java93 @VisibleForTesting IThermalService mThermalService; field in PowerUI
491 if (mThermalService == null) { in doSkinThermalEventListenerRegistration()
492 mThermalService = IThermalService.Stub.asInterface( in doSkinThermalEventListenerRegistration()
496 ret = mThermalService.registerThermalEventListenerWithType( in doSkinThermalEventListenerRegistration()
499 ret = mThermalService.unregisterThermalEventListener(mSkinThermalEventListener); in doSkinThermalEventListenerRegistration()
526 if (mThermalService == null) { in doUsbThermalEventListenerRegistration()
527 mThermalService = IThermalService.Stub.asInterface( in doUsbThermalEventListenerRegistration()
531 ret = mThermalService.registerThermalEventListenerWithType( in doUsbThermalEventListenerRegistration()
534 ret = mThermalService.unregisterThermalEventListener(mUsbThermalEventListener); in doUsbThermalEventListenerRegistration()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java191 private IThermalService mThermalService; field in JobSchedulerService
1438 mThermalService = IThermalService.Stub.asInterface( in onBootPhase()
1440 if (mThermalService != null) { in onBootPhase()
1442 mThermalService.registerThermalStatusListener(new ThermalStatusListener()); in onBootPhase()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java673 mPowerUI.mThermalService = mThermalServiceMock; in createPowerUi()