Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp136 std::map<std::string, std::string> path_map; in parseThermalPathMap() local
139 return path_map; in parseThermalPathMap()
161 path_map.emplace( in parseThermalPathMap()
166 return path_map; in parseThermalPathMap()
390 bool ThermalHelper::initializeSensorMap(const std::map<std::string, std::string> &path_map) { in initializeSensorMap() argument
393 if (!path_map.count(sensor_name.data())) { in initializeSensorMap()
398 "%s/%s", path_map.at(sensor_name.data()).c_str(), kSensorTempSuffix.data()); in initializeSensorMap()
409 bool ThermalHelper::initializeCoolingDevices(const std::map<std::string, std::string> &path_map) { in initializeCoolingDevices() argument
412 if (!path_map.count(cooling_device_name.data())) { in initializeCoolingDevices()
417 "%s/%s", path_map.at(cooling_device_name.data()).c_str(), in initializeCoolingDevices()
[all …]
Dthermal-helper.h109 bool initializeSensorMap(const std::map<std::string, std::string> &path_map);
110 bool initializeCoolingDevices(const std::map<std::string, std::string> &path_map);
111 bool initializeTrip(const std::map<std::string, std::string> &path_map);