Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java199 mPm.addThermalStatusListener(mExec, mListener1); in testThermalStatusCallback()
211 mPm.addThermalStatusListener(mListener1); in testThermalStatusCallback()
216 mPm.addThermalStatusListener(mListener2); in testThermalStatusCallback()
/frameworks/base/core/java/android/os/
DPowerManager.java1818 public void addThermalStatusListener(@NonNull OnThermalStatusChangedListener listener) { in addThermalStatusListener() method in PowerManager
1825 this.addThermalStatusListener(mContext.getMainExecutor(), listener); in addThermalStatusListener()
1835 public void addThermalStatusListener(@NonNull @CallbackExecutor Executor executor, in addThermalStatusListener() method in PowerManager