Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.h199 bool initializeSensorMap(const std::unordered_map<std::string, std::string> &path_map);
200 bool initializeCoolingDevices(const std::unordered_map<std::string, std::string> &path_map);
203 void initializeTrip(const std::unordered_map<std::string, std::string> &path_map,
Dthermal-helper.cpp60 std::unordered_map<std::string, std::string> path_map; in parseThermalPathMap() local
63 return path_map; in parseThermalPathMap()
85 path_map.emplace( in parseThermalPathMap()
90 return path_map; in parseThermalPathMap()
703 const std::unordered_map<std::string, std::string> &path_map) { in initializeSensorMap() argument
709 if (!path_map.count(sensor_name.data())) { in initializeSensorMap()
716 path = ::android::base::StringPrintf("%s/%s", path_map.at(sensor_name.data()).c_str(), in initializeSensorMap()
731 const std::unordered_map<std::string, std::string> &path_map) { in initializeCoolingDevices() argument
734 if (!path_map.count(cooling_device_name)) { in initializeCoolingDevices()
739 std::string_view path = path_map.at(cooling_device_name); in initializeCoolingDevices()
[all …]