Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Informacje o strukturze danych thermal_module
#include <
thermal.h
>
Definicja w wierszu
134
pliku
thermal.h
.
Dokumentacja tego typu danych została wygenerowana z tego pliku:
-
hardware/libhardware/include/hardware/
thermal.h
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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)"]]