Home
last modified time | relevance | path

Searched refs:ThrottlingSeverity (Results 1 – 17 of 17) sorted by relevance

/aosp12/hardware/google/camera/common/hal/hidl_service/
H A Dhidl_thermal_utils.cc151 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 Dhidl_thermal_utils.h36 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 Dthermal-helper.h70 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 Dthermal-helper.cpp485 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 DTemperature.java23 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 Dthermal_types.h47 enum class ThrottlingSeverity : uint32_t { enum
63 ThrottlingSeverity throttling_status = ThrottlingSeverity::kNone;
/aosp12/hardware/interfaces/thermal/2.0/
H A Dtypes.hal48 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 DUsbOverheatEvent.h60 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 Dconfig_parser.h33 using ::android::hardware::thermal::V2_0::ThrottlingSeverity;
35 hidl_enum_range<ThrottlingSeverity>().begin(), hidl_enum_range<ThrottlingSeverity>().end());
H A Dpower_files.h85 const ThrottlingSeverity severity,
H A Dpower_files.cpp316 const ThrottlingSeverity severity, in throttlingReleaseUpdate()
/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DThermalManagerService.java27 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 DVtsHalThermalV2_0TargetTest.cpp41 using ::android::hardware::thermal::V2_0::ThrottlingSeverity;
48 .throttlingStatus = ThrottlingSeverity::CRITICAL,
/aosp12/hardware/google/camera/common/hal/google_camera_hal/
H A Dcamera_device_session.cc608 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 DThermalManagerServiceTest.java33 import android.hardware.thermal.V2_0.ThrottlingSeverity;
127 if (i == ThrottlingSeverity.SEVERE) { in initializeThresholds()
/aosp12/hardware/interfaces/thermal/2.0/default/
H A DThermal.cpp54 .throttlingStatus = ThrottlingSeverity::NONE,
/aosp12/hardware/google/pixel/usb/
H A DUsbOverheatEvent.cpp303 const ThrottlingSeverity &severity) in ZoneInfo()