Home
last modified time | relevance | path

Searched refs:throttling_status (Results 1 – 5 of 5) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp195 auto &throttling_status = thermal_throttling_status_map_.at(temp.name); in updatePowerBudget() local
203 if (throttling_status.prev_target != static_cast<size_t>(ThrottlingSeverity::NONE) && in updatePowerBudget()
204 target_state != throttling_status.prev_target && in updatePowerBudget()
206 throttling_status.tran_cycle = sensor_info.throttling_info->tran_cycle - 1; in updatePowerBudget()
209 throttling_status.prev_target = target_state; in updatePowerBudget()
222 if (std::isnan(throttling_status.i_budget)) { in updatePowerBudget()
224 throttling_status.i_budget = sensor_info.throttling_info->i_default; in updatePowerBudget()
234 throttling_status.i_budget = in updatePowerBudget()
240 throttling_status.i_budget += err * sensor_info.throttling_info->k_i[target_state]; in updatePowerBudget()
243 if (fabsf(throttling_status.i_budget) > sensor_info.throttling_info->i_max[target_state]) { in updatePowerBudget()
[all …]
/hardware/google/camera/common/hal/common/
Dthermal_types.h63 ThrottlingSeverity throttling_status = ThrottlingSeverity::kNone; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp504 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throttling_status, in readTemperature() argument
544 if (throttling_status) { in readTemperature()
545 *throttling_status = status; in readTemperature()
1417 std::pair<ThrottlingSeverity, ThrottlingSeverity> throttling_status; in thermalWatcherCallbackFunc() local
1418 if (!readTemperature(name_status_pair.first, &temp, &throttling_status, force_no_cache)) { in thermalWatcherCallbackFunc()
1432 if (throttling_status.first != sensor_status.prev_hot_severity) { in thermalWatcherCallbackFunc()
1433 sensor_status.prev_hot_severity = throttling_status.first; in thermalWatcherCallbackFunc()
1435 if (throttling_status.second != sensor_status.prev_cold_severity) { in thermalWatcherCallbackFunc()
1436 sensor_status.prev_cold_severity = throttling_status.second; in thermalWatcherCallbackFunc()
/hardware/google/camera/common/hal/aidl_service/
Daidl_thermal_utils.cc205 &hal_temperature->throttling_status); in ConvertToHalTemperature()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device_session.cc622 switch (temperature.throttling_status) { in NotifyThrottling()
627 temperature.type, temperature.throttling_status, temperature.value); in NotifyThrottling()
634 temperature.type, temperature.throttling_status, temperature.value); in NotifyThrottling()
642 temperature.throttling_status, temperature.type); in NotifyThrottling()