Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/
DThermalStatusRestriction.java43 private volatile int mThermalStatus = PowerManager.THERMAL_STATUS_NONE; field in ThermalStatusRestriction
74 || (mThermalStatus >= LOWER_THRESHOLD && status < LOWER_THRESHOLD) in onSystemServicesReady()
78 || (mThermalStatus < UPPER_THRESHOLD && status > UPPER_THRESHOLD); in onSystemServicesReady()
79 final boolean increased = mThermalStatus < status; in onSystemServicesReady()
80 mThermalStatus = status; in onSystemServicesReady()
101 if (mThermalStatus >= UPPER_THRESHOLD) { in isJobRestricted()
105 if (mThermalStatus >= HIGHER_PRIORITY_THRESHOLD) { in isJobRestricted()
139 if (mThermalStatus >= LOW_PRIORITY_THRESHOLD) { in isJobRestricted()
159 return mThermalStatus; in getThermalStatus()
165 pw.println(mThermalStatus); in dumpConstants()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DFoldableDeviceStateProvider.java113 int mThermalStatus = PowerManager.THERMAL_STATUS_NONE; field in FoldableDeviceStateProvider
255 if (isThermalStatusCriticalOrAbove(mThermalStatus) && deviceState.hasProperty( in isStateSupported()
434 writer.println(" mThermalStatus = " + mThermalStatus); in dump()
626 previousThermalStatus = mThermalStatus; in onThermalStatusChanged()
627 mThermalStatus = thermalStatus; in onThermalStatusChanged()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java310 private @PowerManager.ThermalStatus int mThermalStatus = PowerManager.THERMAL_STATUS_NONE; field in DeviceStateProviderImpl
503 if (isThermalStatusCriticalOrAbove(mThermalStatus) && deviceState.hasProperty( in notifySupportedStatesChanged()
605 writer.println(" mThermalStatus = " + mThermalStatus); in dump()
838 previousThermalStatus = mThermalStatus; in onThermalStatusChanged()
839 mThermalStatus = thermalStatus; in onThermalStatusChanged()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java1707 if (mThermalStatus != currentStatus) {
1708 mThermalStatus = currentStatus;
1733 private @Temperature.ThrottlingStatus int mThermalStatus = Temperature.THROTTLING_NONE; field in DisplayModeDirector.BrightnessObserver
2340 .findBestMatchingRefreshRateRange(mThermalStatus, in onBrightnessChangedLocked()
2357 .findBestMatchingRefreshRateRange(mThermalStatus, in onBrightnessChangedLocked()
2438 mThermalStatus = Temperature.THROTTLING_NONE; // reset in updateSensorStatus()