Searched refs:cooling_device (Results 1 – 5 of 5) sorted by relevance
88 CoolingDevice_2_0 convertAidlCoolingDevice(const CoolingDevice& cooling_device) { in convertAidlCoolingDevice() argument90 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() local273 ret.push_back(convertAidlCoolingDevice(cooling_device)); in getCurrentCoolingDevices()
18 for f in /sys/class/thermal/cooling_device*
8 for f in /sys/class/thermal/cooling_device*
99 virtual bool readCoolingDevice(std::string_view cooling_device, CoolingDevice *out) const = 0;152 bool readCoolingDevice(std::string_view cooling_device, CoolingDevice *out) const override;
482 bool ThermalHelperImpl::readCoolingDevice(std::string_view cooling_device, in readCoolingDevice() argument487 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()