Home
last modified time | relevance | path

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

/hardware/interfaces/thermal/utils/
DThermalHidlWrapper.cpp88 CoolingDevice_2_0 convertAidlCoolingDevice(const CoolingDevice& cooling_device) { in convertAidlCoolingDevice() argument
90 CoolingDevice_2_0{convertAidlCoolingType(cooling_device.type), cooling_device.name, in convertAidlCoolingDevice()
91 static_cast<uint64_t>(cooling_device.value)}; in convertAidlCoolingDevice()
272 for (const auto& cooling_device : ret_aidl) { in getCurrentCoolingDevices() local
273 ret.push_back(convertAidlCoolingDevice(cooling_device)); in getCurrentCoolingDevices()
/hardware/google/pixel/thermal/
Dinit.thermal.logging.sh18 for f in /sys/class/thermal/cooling_device*
Dinit.thermal.symlinks.sh8 for f in /sys/class/thermal/cooling_device*
Dthermal-helper.h99 virtual bool readCoolingDevice(std::string_view cooling_device, CoolingDevice *out) const = 0;
152 bool readCoolingDevice(std::string_view cooling_device, CoolingDevice *out) const override;
Dthermal-helper.cpp482 bool ThermalHelperImpl::readCoolingDevice(std::string_view cooling_device, in readCoolingDevice() argument
487 if (!cooling_devices_.readThermalFile(cooling_device, &data)) { in readCoolingDevice()
488 LOG(ERROR) << "readCoolingDevice: failed to read cooling_device: " << cooling_device; in readCoolingDevice()
492 const CdevInfo &cdev_info = cooling_device_info_map_.at(cooling_device.data()); in readCoolingDevice()
496 out->name = cooling_device.data(); in readCoolingDevice()