Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp830 auto request_state = std::max(pid_cdev_request, hardlimit_cdev_request); in computeCoolingDevicesRequest() local
832 if (release_step >= request_state) { in computeCoolingDevicesRequest()
833 request_state = 0; in computeCoolingDevicesRequest()
835 request_state = request_state - release_step; in computeCoolingDevicesRequest()
838 request_state = std::max(request_state, cdev_floor); in computeCoolingDevicesRequest()
840 request_state = std::min(request_state, cdev_ceiling); in computeCoolingDevicesRequest()
841 if (cdev_request_pair.second != request_state) { in computeCoolingDevicesRequest()
842 ATRACE_INT((atrace_prefix + std::string("-final_request")).c_str(), request_state); in computeCoolingDevicesRequest()
844 request_state)) { in computeCoolingDevicesRequest()
847 cdev_request_pair.second = request_state; in computeCoolingDevicesRequest()