/hardware/google/camera/common/hal/aidl_service/ |
D | aidl_thermal_utils.cc | 30 using ::aidl::android::hardware::thermal::ThrottlingSeverity; 143 const ThrottlingSeverity& aidl_throttling_severity, in ConvertToHalThrottlingSeverity() 144 google_camera_hal::ThrottlingSeverity* hal_throttling_severity) { in ConvertToHalThrottlingSeverity() 151 case ThrottlingSeverity::NONE: in ConvertToHalThrottlingSeverity() 152 *hal_throttling_severity = google_camera_hal::ThrottlingSeverity::kNone; in ConvertToHalThrottlingSeverity() 154 case ThrottlingSeverity::LIGHT: in ConvertToHalThrottlingSeverity() 155 *hal_throttling_severity = google_camera_hal::ThrottlingSeverity::kLight; in ConvertToHalThrottlingSeverity() 157 case ThrottlingSeverity::MODERATE: in ConvertToHalThrottlingSeverity() 159 google_camera_hal::ThrottlingSeverity::kModerate; in ConvertToHalThrottlingSeverity() 161 case ThrottlingSeverity::SEVERE: in ConvertToHalThrottlingSeverity() [all …]
|
D | aidl_thermal_utils.h | 53 const aidl::android::hardware::thermal::ThrottlingSeverity& 55 google_camera_hal::ThrottlingSeverity* hal_throttling_severity);
|
/hardware/google/pixel/thermal/utils/ |
D | powerhal_helper.cpp | 118 for (const auto &severity : ::ndk::enum_range<ThrottlingSeverity>()) { in reconnect() 136 ThrottlingSeverity current_severity = ThrottlingSeverity::NONE; in updateSupportedPowerHints() 137 for (const auto &severity : ::ndk::enum_range<ThrottlingSeverity>()) { in updateSupportedPowerHints() 138 if (severity == ThrottlingSeverity::NONE) { in updateSupportedPowerHints() 140 .hint_severity_map[ThrottlingSeverity::NONE] = ThrottlingSeverity::NONE; in updateSupportedPowerHints() 161 ThrottlingSeverity prev_hint_severity = supported_powerhint_map_[t.name].prev_hint_severity; in sendPowerExtHint() 162 ThrottlingSeverity current_hint_severity = in sendPowerExtHint() 175 for (const auto &severity : ::ndk::enum_range<ThrottlingSeverity>()) { in sendPowerExtHint() 189 bool PowerHalService::isModeSupported(const std::string &type, const ThrottlingSeverity &t) { in isModeSupported() 207 void PowerHalService::setMode(const std::string &type, const ThrottlingSeverity &t, in setMode()
|
D | powerhal_helper.h | 45 std::unordered_map<ThrottlingSeverity, ThrottlingSeverity> hint_severity_map; 46 ThrottlingSeverity prev_hint_severity; 56 bool isModeSupported(const std::string &type, const ThrottlingSeverity &t); 59 void setMode(const std::string &type, const ThrottlingSeverity &t, const bool &enable,
|
D | thermal_throttling.h | 55 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity); 81 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, 89 const ThrottlingSeverity curr_severity, 102 std::chrono::milliseconds time_elapsed_ms, ThrottlingSeverity curr_severity, 108 const ThrottlingSeverity curr_severity, 115 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, 125 ThrottlingSeverity curr_severity); 132 const ThrottlingSeverity severity, const SensorInfo &sensor_info);
|
D | thermal_throttling.cpp | 44 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity) { in getTargetStateOfPID() 47 for (const auto &severity : ::ndk::enum_range<ThrottlingSeverity>()) { in getTargetStateOfPID() 112 static_cast<size_t>(ThrottlingSeverity::NONE); in clearThrottlingData() 135 static_cast<size_t>(ThrottlingSeverity::NONE); in registerThermalThrottling() 189 std::chrono::milliseconds time_elapsed_ms, ThrottlingSeverity curr_severity, in updatePowerBudget() 198 if (curr_severity == ThrottlingSeverity::NONE) { in updatePowerBudget() 203 if (throttling_status.prev_target != static_cast<size_t>(ThrottlingSeverity::NONE) && in updatePowerBudget() 326 const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity, in computeExcludedPower() 358 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, in allocatePowerToCdev() 612 ThrottlingSeverity curr_severity) { in updateCdevRequestBySeverity() [all …]
|
D | thermal_info.h | 39 std::distance(::ndk::enum_range<ThrottlingSeverity>().begin(), 40 ::ndk::enum_range<ThrottlingSeverity>().end());
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.h | 70 ThrottlingSeverity severity; 71 ThrottlingSeverity prev_hot_severity; 72 ThrottlingSeverity prev_cold_severity; 95 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status = nullptr, 146 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status = nullptr, 210 std::pair<ThrottlingSeverity, ThrottlingSeverity> getSeverityFromThresholds( 213 ThrottlingSeverity prev_hot_severity, ThrottlingSeverity prev_cold_severity, 241 std::unordered_map<std::string, std::unordered_map<ThrottlingSeverity, ThrottlingSeverity>>
|
D | thermal-helper.cpp | 197 .severity = ThrottlingSeverity::NONE, in ThermalHelperImpl() 198 .prev_hot_severity = ThrottlingSeverity::NONE, in ThermalHelperImpl() 199 .prev_cold_severity = ThrottlingSeverity::NONE, in ThermalHelperImpl() 504 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throttling_status, in readTemperature() argument 528 std::pair<ThrottlingSeverity, ThrottlingSeverity> status = in readTemperature() 529 std::make_pair(ThrottlingSeverity::NONE, ThrottlingSeverity::NONE); in readTemperature() 532 ThrottlingSeverity prev_hot_severity, prev_cold_severity; in readTemperature() 552 static_cast<ThrottlingSeverity>(sensor_status.override_status.emul_temp->severity); in readTemperature() 610 std::pair<ThrottlingSeverity, ThrottlingSeverity> ThermalHelperImpl::getSeverityFromThresholds( in getSeverityFromThresholds() 613 ThrottlingSeverity prev_hot_severity, ThrottlingSeverity prev_cold_severity, in getSeverityFromThresholds() [all …]
|
/hardware/google/camera/common/hal/common/ |
D | thermal_types.h | 47 enum class ThrottlingSeverity : uint32_t { enum 63 ThrottlingSeverity throttling_status = ThrottlingSeverity::kNone;
|
/hardware/interfaces/thermal/aidl/android/hardware/thermal/ |
D | Temperature.aidl | 20 import android.hardware.thermal.ThrottlingSeverity; 47 ThrottlingSeverity throttlingStatus;
|
D | ThrottlingSeverity.aidl | 25 enum ThrottlingSeverity { enum
|
/hardware/google/pixel/usb/include/pixelusb/ |
D | UsbOverheatEvent.h | 61 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 82 ThrottlingSeverity severity_; 83 ZoneInfo(const TemperatureType &type, const string &name, const ThrottlingSeverity &severity);
|
/hardware/interfaces/thermal/2.0/ |
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;
|
/hardware/google/pixel/thermal/tests/ |
D | mock_thermal_helper.h | 43 (std::pair<ThrottlingSeverity, ThrottlingSeverity> *), const bool),
|
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/2/android/hardware/thermal/ |
D | ThrottlingSeverity.aidl | 37 enum ThrottlingSeverity { enum
|
D | Temperature.aidl | 41 android.hardware.thermal.ThrottlingSeverity throttlingStatus;
|
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/1/android/hardware/thermal/ |
D | ThrottlingSeverity.aidl | 37 enum ThrottlingSeverity { enum
|
D | Temperature.aidl | 41 android.hardware.thermal.ThrottlingSeverity throttlingStatus;
|
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/ |
D | ThrottlingSeverity.aidl | 37 enum ThrottlingSeverity { enum
|
D | Temperature.aidl | 41 android.hardware.thermal.ThrottlingSeverity throttlingStatus;
|
/hardware/interfaces/thermal/utils/include/thermalutils/ |
D | ThermalHidlWrapper.h | 53 using ThrottlingSeverity_2_0 = ::android::hardware::thermal::V2_0::ThrottlingSeverity;
|
/hardware/interfaces/thermal/utils/tests/ |
D | ThermalHidlWrapperTest.cpp | 65 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 72 .throttlingStatus = ThrottlingSeverity::CRITICAL,
|
/hardware/interfaces/thermal/2.0/vts/functional/ |
D | VtsHalThermalV2_0TargetTest.cpp | 41 using ::android::hardware::thermal::V2_0::ThrottlingSeverity; 48 .throttlingStatus = ThrottlingSeverity::CRITICAL,
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | camera_device_session.cc | 623 case ThrottlingSeverity::kNone: in NotifyThrottling() 624 case ThrottlingSeverity::kLight: in NotifyThrottling() 625 case ThrottlingSeverity::kModerate: in NotifyThrottling() 629 case ThrottlingSeverity::kSevere: in NotifyThrottling() 630 case ThrottlingSeverity::kCritical: in NotifyThrottling() 631 case ThrottlingSeverity::kEmergency: in NotifyThrottling() 632 case ThrottlingSeverity::kShutdown: in NotifyThrottling()
|