Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
thermal_module Struct Reference
#include <
thermal.h
>
Definition at line
134
of file
thermal.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
thermal.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: thermal_module Struct Reference\n\nthermal_module Struct Reference\n===============================\n\n[Data Fields](#pub-attribs) \nthermal_module Struct Reference \n\n`\n#include \u003c\n`[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)`\n\u003e\n`\n\n|----------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hw_module_t](/reference/hal/structhw__module__t) | [common](/reference/hal/structthermal__module#a71ea01183b3998cad6a2301a37a42fc7) |\n| ||\n| ssize_t(\\* | [getTemperatures](/reference/hal/structthermal__module#a34feed25b44e86cc4af0d86ce6c2d7fa) )(struct [thermal_module](/reference/hal/structthermal__module) \\*module, [temperature_t](/reference/hal/structtemperature__t) \\*list, size_t size) |\n| ||\n| ssize_t(\\* | [getCpuUsages](/reference/hal/structthermal__module#adb0cabb708469165a28cb23de7961859) )(struct [thermal_module](/reference/hal/structthermal__module) \\*module, [cpu_usage_t](/reference/hal/structcpu__usage__t) \\*list) |\n| ||\n| ssize_t(\\* | [getCoolingDevices](/reference/hal/structthermal__module#a47218544547e6d117f4dc8a658369f66) )(struct [thermal_module](/reference/hal/structthermal__module) \\*module, [cooling_device_t](/reference/hal/structcooling__device__t) \\*list, size_t size) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[134](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------|\n| struct [hw_module_t](/reference/hal/structhw__module__t) common |\n\n\nDefinition at line\n[135](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ssize_t(\\* getCoolingDevices)(struct [thermal_module](/reference/hal/structthermal__module) \\*module, [cooling_device_t](/reference/hal/structcooling__device__t) \\*list, size_t size) |\n\n\nDefinition at line\n[201](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ssize_t(\\* getCpuUsages)(struct [thermal_module](/reference/hal/structthermal__module) \\*module, [cpu_usage_t](/reference/hal/structcpu__usage__t) \\*list) |\n\n\nDefinition at line\n[177](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ssize_t(\\* getTemperatures)(struct [thermal_module](/reference/hal/structthermal__module) \\*module, [temperature_t](/reference/hal/structtemperature__t) \\*list, size_t size) |\n\n\nDefinition at line\n[159](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\nof file\n[thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [thermal.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h)"]]