/aosp12/hardware/google/camera/common/hal/hidl_service/ |
H A D | hidl_thermal_utils.cc | 151 const ThrottlingSeverity& hidl_throttling_severity, in ConvertToHalThrottlingSeverity() 159 case ThrottlingSeverity::NONE: in ConvertToHalThrottlingSeverity() 162 case ThrottlingSeverity::LIGHT: in ConvertToHalThrottlingSeverity() 165 case ThrottlingSeverity::MODERATE: in ConvertToHalThrottlingSeverity() 167 google_camera_hal::ThrottlingSeverity::kModerate; in ConvertToHalThrottlingSeverity() 169 case ThrottlingSeverity::SEVERE: in ConvertToHalThrottlingSeverity() 172 case ThrottlingSeverity::CRITICAL: in ConvertToHalThrottlingSeverity() 174 google_camera_hal::ThrottlingSeverity::kCritical; in ConvertToHalThrottlingSeverity() 176 case ThrottlingSeverity::EMERGENCY: in ConvertToHalThrottlingSeverity() 180 case ThrottlingSeverity::SHUTDOWN: in ConvertToHalThrottlingSeverity() [all …]
|
H A D | hidl_thermal_utils.h | 36 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 63 const ThrottlingSeverity& hidl_throttling_severity, 64 google_camera_hal::ThrottlingSeverity* hal_throttling_severity);
|
/aosp12/hardware/google/pixel/thermal/ |
H A D | thermal-helper.h | 70 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 80 ThrottlingSeverity severity; 81 ThrottlingSeverity prev_hot_severity; 82 ThrottlingSeverity prev_cold_severity; 83 ThrottlingSeverity prev_hint_severity; 97 bool isModeSupported(const std::string &type, const ThrottlingSeverity &t); 100 void setMode(const std::string &type, const ThrottlingSeverity &t, const bool &enable); 134 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status = nullptr, 187 std::pair<ThrottlingSeverity, ThrottlingSeverity> getSeverityFromThresholds( 190 ThrottlingSeverity prev_hot_severity, ThrottlingSeverity prev_cold_severity, [all …]
|
H A D | thermal-helper.cpp | 485 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status, in readTemperature() argument 512 std::pair<ThrottlingSeverity, ThrottlingSeverity> status = in readTemperature() 513 std::make_pair(ThrottlingSeverity::NONE, ThrottlingSeverity::NONE); in readTemperature() 760 std::pair<ThrottlingSeverity, ThrottlingSeverity> ThermalHelper::getSeverityFromThresholds( in getSeverityFromThresholds() 763 ThrottlingSeverity prev_hot_severity, ThrottlingSeverity prev_cold_severity, in getSeverityFromThresholds() 765 ThrottlingSeverity ret_hot = ThrottlingSeverity::NONE; in getSeverityFromThresholds() 766 ThrottlingSeverity ret_hot_hysteresis = ThrottlingSeverity::NONE; in getSeverityFromThresholds() 767 ThrottlingSeverity ret_cold = ThrottlingSeverity::NONE; in getSeverityFromThresholds() 768 ThrottlingSeverity ret_cold_hysteresis = ThrottlingSeverity::NONE; in getSeverityFromThresholds() 1219 std::pair<ThrottlingSeverity, ThrottlingSeverity> throtting_status; in thermalWatcherCallbackFunc() [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | Temperature.java | 23 import android.hardware.thermal.V2_0.ThrottlingSeverity; 58 public static final int THROTTLING_NONE = ThrottlingSeverity.NONE; 59 public static final int THROTTLING_LIGHT = ThrottlingSeverity.LIGHT; 60 public static final int THROTTLING_MODERATE = ThrottlingSeverity.MODERATE; 61 public static final int THROTTLING_SEVERE = ThrottlingSeverity.SEVERE; 62 public static final int THROTTLING_CRITICAL = ThrottlingSeverity.CRITICAL; 63 public static final int THROTTLING_EMERGENCY = ThrottlingSeverity.EMERGENCY; 64 public static final int THROTTLING_SHUTDOWN = ThrottlingSeverity.SHUTDOWN;
|
/aosp12/hardware/google/camera/common/hal/common/ |
H A D | thermal_types.h | 47 enum class ThrottlingSeverity : uint32_t { enum 63 ThrottlingSeverity throttling_status = ThrottlingSeverity::kNone;
|
/aosp12/hardware/interfaces/thermal/2.0/ |
H A D | types.hal | 48 enum ThrottlingSeverity : uint32_t { 102 * level defined in ThrottlingSeverity including shutdown. Throttling 106 float[ThrottlingSeverity#len] hotThrottlingThresholds; 110 * level defined in ThrottlingSeverity including shutdown. Throttling 114 float[ThrottlingSeverity#len] coldThrottlingThresholds; 149 ThrottlingSeverity throttlingStatus;
|
/aosp12/hardware/google/pixel/usb/include/pixelusb/ |
H A D | UsbOverheatEvent.h | 60 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 81 ThrottlingSeverity severity_; 82 ZoneInfo(const TemperatureType &type, const string &name, const ThrottlingSeverity &severity);
|
/aosp12/hardware/google/pixel/thermal/utils/ |
H A D | config_parser.h | 33 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 35 hidl_enum_range<ThrottlingSeverity>().begin(), hidl_enum_range<ThrottlingSeverity>().end());
|
H A D | power_files.h | 85 const ThrottlingSeverity severity,
|
H A D | power_files.cpp | 316 const ThrottlingSeverity severity, in throttlingReleaseUpdate()
|
/aosp12/frameworks/base/services/core/java/com/android/server/power/ |
H A D | ThermalManagerService.java | 27 import android.hardware.thermal.V2_0.ThrottlingSeverity; 804 isThrottling ? ThrottlingSeverity.SEVERE 805 : ThrottlingSeverity.NONE); 1097 if (threshold.hotThrottlingThresholds.length <= ThrottlingSeverity.SEVERE) { in updateSevereThresholds() 1101 threshold.hotThrottlingThresholds[ThrottlingSeverity.SEVERE]; in updateSevereThresholds() 1104 threshold.hotThrottlingThresholds[ThrottlingSeverity.SEVERE]); in updateSevereThresholds()
|
/aosp12/hardware/interfaces/thermal/2.0/vts/functional/ |
H A D | VtsHalThermalV2_0TargetTest.cpp | 41 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 48 .throttlingStatus = ThrottlingSeverity::CRITICAL,
|
/aosp12/hardware/google/camera/common/hal/google_camera_hal/ |
H A D | camera_device_session.cc | 608 case ThrottlingSeverity::kNone: in NotifyThrottling() 609 case ThrottlingSeverity::kLight: in NotifyThrottling() 610 case ThrottlingSeverity::kModerate: in NotifyThrottling() 614 case ThrottlingSeverity::kSevere: in NotifyThrottling() 615 case ThrottlingSeverity::kCritical: in NotifyThrottling() 616 case ThrottlingSeverity::kEmergency: in NotifyThrottling() 617 case ThrottlingSeverity::kShutdown: in NotifyThrottling()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
H A D | ThermalManagerServiceTest.java | 33 import android.hardware.thermal.V2_0.ThrottlingSeverity; 127 if (i == ThrottlingSeverity.SEVERE) { in initializeThresholds()
|
/aosp12/hardware/interfaces/thermal/2.0/default/ |
H A D | Thermal.cpp | 54 .throttlingStatus = ThrottlingSeverity::NONE,
|
/aosp12/hardware/google/pixel/usb/ |
H A D | UsbOverheatEvent.cpp | 303 const ThrottlingSeverity &severity) in ZoneInfo()
|