Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp116 thermal_throttling_status_map_[sensor_name.data()].tran_cycle = 0; in clearThrottlingData()
139 thermal_throttling_status_map_[sensor_name.data()].tran_cycle = 0; in registerThermalThrottling()
205 sensor_info.throttling_info->tran_cycle > 0) { in updatePowerBudget()
206 throttling_status.tran_cycle = sensor_info.throttling_info->tran_cycle - 1; in updatePowerBudget()
246 if (throttling_status.tran_cycle) { in updatePowerBudget()
248 ((static_cast<float>(throttling_status.tran_cycle) / in updatePowerBudget()
249 static_cast<float>(sensor_info.throttling_info->tran_cycle))); in updatePowerBudget()
251 throttling_status.tran_cycle--; in updatePowerBudget()
Dthermal_throttling.h49 int tran_cycle; member
Dthermal_info.h160 int tran_cycle; member
Dthermal_info.cpp473 int tran_cycle = 0; in ParseSensorThrottlingInfo() local
545 tran_cycle = getFloatFromValue(sensor["PIDInfo"]["TranCycle"]); in ParseSensorThrottlingInfo()
546 LOG(INFO) << "Sensor[" << name << "]'s TranCycle: " << tran_cycle; in ParseSensorThrottlingInfo()
640 i_default, tran_cycle, excluded_power_info_map, binded_cdev_info_map, profile_map}); in ParseSensorThrottlingInfo()