Home
last modified time | relevance | path

Searched refs:ThermalWatcher (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_watcher.h49 class ThermalWatcher : public ::android::Thread {
51 explicit ThermalWatcher(const WatcherCallback &cb) in ThermalWatcher() function
53 ~ThermalWatcher() = default;
56 ThermalWatcher(const ThermalWatcher &) = delete;
57 void operator=(const ThermalWatcher &) = delete;
Dthermal_watcher.cpp344 void ThermalWatcher::registerFilesToWatch(const std::set<std::string> &sensors_to_watch) { in registerFilesToWatch()
361 void ThermalWatcher::registerFilesToWatchNl(const std::set<std::string> &sensors_to_watch) { in registerFilesToWatchNl()
402 bool ThermalWatcher::startWatchingDeviceFiles() { in startWatchingDeviceFiles()
415 void ThermalWatcher::parseUevent(std::set<std::string> *sensors_set) { in parseUevent()
469 void ThermalWatcher::parseGenlink(std::set<std::string> *sensors_set) { in parseGenlink()
495 void ThermalWatcher::wake() { in wake()
499 bool ThermalWatcher::threadLoop() { in threadLoop()
/hardware/google/pixel/thermal/
Dthermal-helper.h232 sp<ThermalWatcher> thermal_watcher_;
Dthermal-helper.cpp146 : thermal_watcher_(new ThermalWatcher(std::bind(&ThermalHelperImpl::thermalWatcherCallbackFunc, in ThermalHelperImpl()