Home | History | Annotate | Download | only in thermal

Lines Matching refs:Thermal

23 #include "Thermal.h"
24 #include "thermal-helper.h"
28 namespace thermal {
32 Thermal::Thermal() : enabled(initThermal()) {}
37 // framework for sending thermal events to the framework thermal event bus.
52 // Methods from ::android::hardware::thermal::V1_0::IThermal follow.
53 Return<void> Thermal::getTemperatures(getTemperatures_cb _hidl_cb) {
69 status.debugMessage = "Error reading thermal sensors.";
86 Return<void> Thermal::getCpuUsages(getCpuUsages_cb _hidl_cb) {
118 Return<void> Thermal::getCoolingDevices(getCoolingDevices_cb _hidl_cb) {
136 // Methods from ::android::hardware::thermal::V1_1::IThermal follow.
138 Return<void> Thermal::registerThermalCallback(
156 // Local functions used internally by thermal-engine follow.
158 std::string Thermal::getSkinSensorType() {
162 void Thermal::notifyThrottling(
182 Return<void> Thermal::debug(const hidl_handle& handle, const hidl_vec<hidl_string>&) {
197 dump_buf << "Failed to read thermal sensors." << std::endl;
201 << " Type: " << android::hardware::thermal::V1_0::toString(t.type)
236 } // namespace thermal