• Home
  • Raw
  • Download

Lines Matching refs:path

153         std::string path = android::base::StringPrintf("%s/%s/%s", kThermalSensorsRoot.data(),  in parseThermalPathMap()  local
156 if (!android::base::ReadFileToString(path, &name)) { in parseThermalPathMap()
157 PLOG(ERROR) << "Failed to read from " << path; in parseThermalPathMap()
205 std::string path = in ThermalHelper() local
207 if (!path.empty()) in ThermalHelper()
208 return path; in ThermalHelper()
332 std::string path; in readTemperatureThreshold() local
397 std::string path = android::base::StringPrintf( in initializeSensorMap() local
399 if (!thermal_sensors_.addThermalFile(sensor_name, path)) { in initializeSensorMap()
416 std::string path = android::base::StringPrintf( in initializeCoolingDevices() local
419 if (!cooling_devices_.addThermalFile(cooling_device_name, path)) { in initializeCoolingDevices()
437 std::string path = android::base::StringPrintf("%s/%s", (tz_path.data()), in initializeTrip() local
439 if (!android::base::ReadFileToString(path, &tz_policy)) { in initializeTrip()
440 LOG(ERROR) << sensor_name << " could not open tz policy file:" << path; in initializeTrip()
457 path = android::base::StringPrintf("%s/%s", (tz_path.data()), in initializeTrip()
459 if (!android::base::WriteStringToFile(threshold, path)) { in initializeTrip()
461 << " trip point: " << threshold << path; in initializeTrip()
467 path = android::base::StringPrintf("%s/%s", (tz_path.data()), in initializeTrip()
469 if (!android::base::WriteStringToFile(threshold, path)) { in initializeTrip()
471 << path; in initializeTrip()