Home
last modified time | relevance | path

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

/aosp12/hardware/google/pixel/thermal/
H A Dthermal-helper.cpp325 if (cdev_ceiling > cdev_info.max_state) { in ThermalHelper()
331 cdev_ceiling = cdev_info.max_state; in ThermalHelper()
744 int max_state; in updateCoolingDevices() local
747 max_state = 0; in updateCoolingDevices()
750 if (sensor_request_pair.second > max_state) { in updateCoolingDevices()
751 max_state = sensor_request_pair.second; in updateCoolingDevices()
873 std::string max_state; in initializeCoolingDevices() local
876 if (!android::base::ReadFileToString(max_state_path, &max_state)) { in initializeCoolingDevices()
881 cooling_device_info_pair.second.max_state = std::stoi(android::base::Trim(max_state)); in initializeCoolingDevices()
883 << " max state: " << cooling_device_info_pair.second.max_state in initializeCoolingDevices()
[all …]
/aosp12/hardware/google/pixel/thermal/utils/
H A Dconfig_parser.h122 int max_state; member
H A Dpower_files.cpp119 .max_release_step = cdev_info.max_state, in registerPowerRailsToWatch()
/aosp12/hardware/interfaces/thermal/2.0/
H A Dtypes.hal168 * numbers between 0 and max_state defined in its driver, usually representing the
/aosp12/frameworks/proto_logging/stats/
H A Datoms.proto10094 // integer between 0 and max_state defined in its driver. 0 means device is