HomeSort by relevance Sort by last modified time
    Searched defs:thermal (Results 1 - 23 of 23) sorted by null

  /device/google/wahoo/thermal/
Thermal.h 19 #include <android/hardware/thermal/1.1/IThermal.h>
20 #include <android/hardware/thermal/1.1/IThermalCallback.h>
26 namespace thermal { namespace in namespace:android::hardware
30 using ::android::hardware::thermal::V1_0::CoolingDevice;
31 using ::android::hardware::thermal::V1_0::CpuUsage;
32 using ::android::hardware::thermal::V1_0::Temperature;
33 using ::android::hardware::thermal::V1_0::ThermalStatus;
34 using ::android::hardware::thermal::V1_0::ThermalStatusCode;
35 using ::android::hardware::thermal::V1_1::IThermal;
36 using ::android::hardware::thermal::V1_1::IThermalCallback
    [all...]
sensors.h 24 #include <android/hardware/thermal/1.1/IThermal.h>
28 namespace thermal { namespace in namespace:android::hardware
32 using ::android::hardware::thermal::V1_0::Temperature;
33 using ::android::hardware::thermal::V1_0::TemperatureType;
61 // A map containing sensor names along with its thermal zone number, its
71 } // namespace thermal
sensors.cpp 27 namespace thermal { namespace in namespace:android::hardware
98 } // namespace thermal
Thermal.cpp 23 #include "Thermal.h"
24 #include "thermal-helper.h"
28 namespace thermal { namespace in namespace:android::hardware
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."
    [all...]
thermal-helper.h 33 #include <android/hardware/thermal/1.1/IThermal.h>
37 namespace thermal { namespace in namespace:android::hardware
41 using ::android::hardware::thermal::V1_0::CpuUsage;
42 using ::android::hardware::thermal::V1_0::Temperature;
43 using ::android::hardware::thermal::V1_0::TemperatureType;
46 constexpr const char *kTemperatureFileFormat = "/sys/class/thermal/thermal_zone%d/temp";
49 // thermal-engine.conf
86 } // namespace thermal
thermal-helper.cpp 34 #include "thermal-helper.h"
38 namespace thermal { namespace in namespace:android::hardware
42 constexpr const char kThermalSensorsRoot[] = "/sys/class/thermal";
46 // This is a golden set of thermal sensor names, their types, and their
60 // GPU thermal sensor.
62 // Battery thermal sensor.
64 // Skin thermal sensors. We use back_therm for walleye. For taimen we use
69 // USBC thermal sensor.
75 using ::android::hardware::thermal::V1_0::TemperatureType;
284 } // namespace thermal
    [all...]
  /frameworks/native/services/thermalservice/libthermalcallback/
ThermalCallback.cpp 1 #define LOG_TAG "android.hardware.thermal.thermalcallback@1.1-impl"
8 #include <hardware/thermal.h>
12 namespace thermal { namespace in namespace:android::hardware
17 using ::android::hardware::thermal::V1_0::TemperatureType;
28 const android::hardware::thermal::V1_0::Temperature& temperature) {
67 } // namespace thermal
ThermalCallback.h 4 #include <android/hardware/thermal/1.1/IThermalCallback.h>
5 #include <android/hardware/thermal/1.0/types.h>
13 namespace thermal { namespace in namespace:android::hardware
29 const android::hardware::thermal::V1_0::Temperature& temperature)
39 } // namespace thermal
  /hardware/intel/common/utils/ituxd/src/com/intel/thermal/
ThermalEvent.java 17 package com.intel.thermal;
ituxdApp.java 17 package com.intel.thermal;
36 if ("1".equals(SystemProperties.get("persist.service.thermal", "0"))) {
37 Log.i(TAG, "Thermal Service enabled");
40 Log.i(TAG, "Thermal Service disabled");
RawThermalZone.java 17 package com.intel.thermal;
44 // irrespective of what flag is set in XML, emul temp flag is false for raw thermal zone
ThermalSensorAttrib.java 17 package com.intel.thermal;
25 * The ThermalSensorAttrib class describes the attributes of a Thermal Sensor that are
ThermalZoneMonitor.java 17 package com.intel.thermal;
ThermalUtils.java 17 package com.intel.thermal;
27 import static com.intel.thermal.ThermalManager.*;
165 if ("1".equals(SystemProperties.get("persist.thermal.debug.xml", "0"))) {
170 Log.i(TAG, "Reading thermal config files from /data/");
179 Log.i(TAG, "Reading thermal config files from /system/etc/");
183 getIdentifier("thermal_sensor_config", "xml", "com.intel.thermal");
185 getIdentifier("thermal_throttle_config", "xml", "com.intel.thermal");
187 Log.i(TAG, "Reading thermal config files from overlays");
ThermalCoolingDevice.java 17 package com.intel.thermal;
149 * Sets the current thermal state of cooling device which will be maximum of
161 * Adds zoneID and its thermal state to mListOfZoneIDs and
162 * mListOfTStatesOfZones array. If zoneId exists then its thermal state is
ThermalSensor.java 17 package com.intel.thermal;
19 import com.intel.thermal.ThermalManager;
28 * The ThermalSensor class describes the attributes of a Thermal Sensor. This
45 private int mSensorState; /* Thermal state of the sensor */
113 * thermal/thermal_zoneX and the look up is based on 'mSensorName'.
VirtualThermalZone.java 17 package com.intel.thermal;
ThermalCooling.java 17 package com.intel.thermal;
40 * receives Thermal Intents and takes appropriate actions based on the policies
415 Log.i(TAG, "Thermal Cooling manager init() called");
433 // Register for thermal zone state changed notifications
477 Log.i(TAG, "Received THERMAL INTENT:(ProfileName, ZoneName, State, EventType, Temp):"
594 Log.i(TAG, "Thermal Service initiating shutdown");
606 /* Method to handle the thermal event based on HIGH or LOW event */
697 * thermal state will be written.
700 * /sys/class/thermal/cooling_deviceX/type inorder to find the right index X
    [all...]
ThermalService.java 17 package com.intel.thermal;
56 * The ThermalService monitors the Thermal zones on the platform.
57 * The number of thermal zones and sensors associated with the zones are
58 * obtained from the thermal_sensor_config.xml file. When any thermal zone
59 * crosses the thresholds configured in the xml, a Thermal Intent is sent.
61 * The Thermal Cooling Manager acts upon this intent and throttles
295 // Default Thermal States
451 /* Class to notifying thermal events */
466 /* Method to consume thermal event */
478 /* Send the Thermal Intent *
    [all...]
ThermalZone.java 17 package com.intel.thermal;
28 * The ThermalZone class contains attributes of a Thermal zone. A Thermal zone
30 * thermal zone crosses the thresholds configured, actions are taken.
36 protected int mZoneID; /* ID of the Thermal zone */
37 protected int mCurrThermalState; /* Current thermal state of the zone */
38 protected int mCurrEventType; /* specifies thermal event type, HIGH or LOW */
39 protected String mZoneName; /* Name of the Thermal zone */
41 /* List of sensors under this thermal zone */
44 // during runtime thermal monitoring like re-programming sensor threshold
    [all...]
ThermalManager.java 17 package com.intel.thermal;
39 * Thermal Sensor/Zone and Cooling device parts.
50 private static final String ITUX_VERSION_PROPERTY = "ro.thermal.ituxversion";
71 public static String sUEventDevPath = "DEVPATH=/devices/virtual/thermal/thermal_zone";
73 * Thermal Zone State Changed Action: This is broadcast when the state of a
74 * thermal zone changes.
77 "com.intel.thermal.action.THERMAL_ZONE_STATE_CHANGED";
81 /* List of Thermal zones for current profile. Access protected by 'sProfileSwitchLock' */
123 /* Blocking queue to hold thermal events from thermal zones *
    [all...]
  /hardware/interfaces/thermal/1.0/default/
Thermal.h 19 #include <android/hardware/thermal/1.0/IThermal.h>
21 #include <hardware/thermal.h>
27 namespace thermal { namespace in namespace:android::hardware
31 using ::android::hardware::thermal::V1_0::CoolingDevice;
32 using ::android::hardware::thermal::V1_0::CpuUsage;
33 using ::android::hardware::thermal::V1_0::IThermal;
34 using ::android::hardware::thermal::V1_0::Temperature;
35 using ::android::hardware::thermal::V1_0::ThermalStatus;
42 struct Thermal : public IThermal {
43 Thermal(thermal_module_t* module)
    [all...]
Thermal.cpp 17 #define LOG_TAG "android.hardware.thermal@1.0-impl"
27 #include <hardware/thermal.h>
29 #include "Thermal.h"
33 namespace thermal { namespace in namespace:android::hardware
45 Thermal::Thermal(thermal_module_t* module) : mModule(module) {}
47 // Methods from ::android::hardware::thermal::V1_0::IThermal follow.
48 Return<void> Thermal::getTemperatures(getTemperatures_cb _hidl_cb) {
54 ALOGI("getTemperatures is not implemented in Thermal HAL.");
104 Return<void> Thermal::getCpuUsages(getCpuUsages_cb _hidl_cb)
    [all...]

Completed in 295 milliseconds