Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp545 .cdev_ceiling[static_cast<size_t>(curr_severity)] && in allocatePowerToCdev()
553 .cdev_ceiling[static_cast<size_t>(curr_severity)]); in allocatePowerToCdev()
797 const auto cdev_ceiling = binded_cdev_info.cdev_ceiling[static_cast<size_t>(curr_severity)]; in computeCoolingDevicesRequest() local
820 << " cdev_ceiling=" << cdev_ceiling; in computeCoolingDevicesRequest()
828 ATRACE_INT((atrace_prefix + std::string("-cdev_ceiling")).c_str(), cdev_ceiling); in computeCoolingDevicesRequest()
840 request_state = std::min(request_state, cdev_ceiling); in computeCoolingDevicesRequest()
Dthermal_info.cpp602 CdevArray cdev_ceiling; in ParseBindedCdevInfo() local
603 cdev_ceiling.fill(std::numeric_limits<int>::max()); in ParseBindedCdevInfo()
626 if (!getIntFromJsonValues(values[j]["CdevCeiling"], &cdev_ceiling, false, false)) { in ParseBindedCdevInfo()
655 cdev_ceiling_idx < cdev_ceiling.size();) { in ParseBindedCdevInfo()
658 cdev_ceiling[cdev_ceiling_idx] = cdev_scaling_idx; in ParseBindedCdevInfo()
660 << "]: " << cdev_ceiling[cdev_ceiling_idx]; in ParseBindedCdevInfo()
815 .cdev_ceiling = cdev_ceiling, in ParseBindedCdevInfo()
Dthermal_info.h176 CdevArray cdev_ceiling; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp128 for (auto &cdev_ceiling : binded_cdev_info_pair.second.cdev_ceiling) { in maxCoolingRequestCheck() local
129 if (cdev_ceiling > cdev_info.max_state) { in maxCoolingRequestCheck()
130 if (cdev_ceiling != std::numeric_limits<int>::max()) { in maxCoolingRequestCheck()
131 LOG(ERROR) << binded_cdev_info_pair.first << " cdev_ceiling:" << cdev_ceiling in maxCoolingRequestCheck()
134 cdev_ceiling = cdev_info.max_state; in maxCoolingRequestCheck()
DThermal.cpp455 *dump_buf << binded_cdev_info_pair.second.cdev_ceiling[i] << " "; in dumpThrottlingInfo()