Searched refs:cdev_name (Results 1 – 5 of 5) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | thermal_files.cpp | 63 bool ThermalFiles::writeCdevFile(std::string_view cdev_name, std::string_view data) { in writeCdevFile() argument 65 getThermalFilePath(android::base::StringPrintf("%s_%s", cdev_name.data(), "w")); in writeCdevFile() 68 PLOG(WARNING) << "Failed to write cdev: " << cdev_name << " to " << data.data(); in writeCdevFile()
|
D | power_files.cpp | 63 int PowerFiles::getReleaseStep(std::string_view sensor_name, std::string_view cdev_name) { in getReleaseStep() argument 68 throttling_release_map_[sensor_name.data()].count(cdev_name.data())) { in getReleaseStep() 69 release_step = throttling_release_map_[sensor_name.data()][cdev_name.data()].release_step; in getReleaseStep() 75 bool PowerFiles::registerPowerRailsToWatch(std::string_view sensor_name, std::string_view cdev_name, in registerPowerRailsToWatch() argument 117 throttling_release_map_[sensor_name.data()][cdev_name.data()] = { in registerPowerRailsToWatch() 131 << binded_cdev_info.power_rail << " for cooling device " << cdev_name.data(); in registerPowerRailsToWatch() 315 bool PowerFiles::throttlingReleaseUpdate(std::string_view sensor_name, std::string_view cdev_name, in throttlingReleaseUpdate() argument 325 !throttling_release_map_[sensor_name.data()].count(cdev_name.data()) || in throttlingReleaseUpdate() 331 auto &release_status = throttling_release_map_[sensor_name.data()].at(cdev_name.data()); in throttlingReleaseUpdate()
|
D | power_files.h | 64 bool registerPowerRailsToWatch(std::string_view sensor_name, std::string_view cdev_name, 84 bool throttlingReleaseUpdate(std::string_view sensor_name, std::string_view cdev_name, 93 int getReleaseStep(std::string_view sensor_name, std::string_view cdev_name);
|
D | config_parser.cpp | 519 const std::string &cdev_name = values[j]["CdevRequest"].asString(); in ParseSensorInfo() local 526 LOG(INFO) << "Sensor[" << name << "]: Star to parse " << cdev_name in ParseSensorInfo() 537 << "]: Start to parse CdevCeiling: " << cdev_name; in ParseSensorInfo() 555 LOG(INFO) << "Sensor[" << name << "]: Start to parse LimitInfo: " << cdev_name; in ParseSensorInfo() 590 LOG(INFO) << "Sensor[" << name << "]: Start to parse " << cdev_name in ParseSensorInfo() 600 LOG(INFO) << "Sensor[" << name << "]: Start to parse " << cdev_name in ParseSensorInfo() 625 LOG(ERROR) << cdev_name << "'s power rail " << power_rail << " is invalid"; in ParseSensorInfo() 632 binded_cdev_info_map[cdev_name] = { in ParseSensorInfo()
|
/hardware/google/pixel/thermal/ |
D | init.thermal.symlinks.sh | 10 cdev_name=`cat $f/type` 11 ln -s $f /dev/thermal/cdev-by-name/$cdev_name
|