A partir del 27 de marzo de 2025, te recomendamos que uses android-latest-release
en lugar de aosp-main
para compilar y contribuir a AOSP. Para obtener más información, consulta Cambios en AOSP.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Referencia de la estructura thermal_module
#include <
thermal.h
>
Definición en la línea
134
del archivo
thermal.h
.
La documentación de esta struct se generó a partir del siguiente archivo:
-
hardware/libhardware/include/hardware/
thermal.h
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-26 (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)"]]