A partir de 27 de março de 2025, recomendamos usar android-latest-release
em vez de aosp-main
para criar e contribuir com o AOSP. Para mais informações, consulte Mudanças no AOSP.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Referência da estrutura thermal_module
#include <
thermal.h
>
Definição na linha
134
do arquivo
thermal.h
.
A documentação desse struct foi gerada com base no seguinte arquivo:
-
hardware/libhardware/include/hardware/
thermal.h
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-26 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)"]]