החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפנייה ל-Struct של cooling_device_t
#include <
thermal.h
>
ההגדרה מופיעה בשורה
92
בקובץ
thermal.h
.
הערך הנוכחי של מכשיר הקירור. היחידות תלויות ב'סוג' של מכשיר הקירור.
ההגדרה מופיעה בשורה
107
בקובץ
thermal.h
.
השם של מכשיר הקירור הזה. לכל מכשירי הקירור מאותו 'סוג' חייב להיות 'שם' שונה.
ההגדרה מופיעה בשורה
102
בקובץ
thermal.h
.
סוג מכשיר הקירור הזה.
ההגדרה מופיעה בשורה
96
בקובץ
thermal.h
.
התיעוד של המבנה הזה נוצר מהקובץ הבא:
-
hardware/libhardware/include/hardware/
thermal.h
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Android Hardware Abstraction Layer: cooling_device_t Struct Reference\n\ncooling_device_t Struct Reference\n=================================\n\n[Data Fields](#pub-attribs) \ncooling_device_t 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| enum [cooling_type](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h) | [type](/reference/hal/structcooling__device__t#ac07b09201252b0f6d143335336bd840f) |\n| ||\n| const char \\* | [name](/reference/hal/structcooling__device__t#a8f8f80d37794cde9472343e4487ba3eb) |\n| ||\n| float | [current_value](/reference/hal/structcooling__device__t#a30aa1ab8d0ac8b5c390517f0357a48a9) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[92](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| float current_value |\n\n\nCurrent cooling device value. Units depend on cooling device \"type\".\n\n\nDefinition at line\n[107](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| const char\\* name |\n\n\nName of this cooling device. All cooling devices of the same \"type\" must have a different \"name\".\n\n\nDefinition at line\n[102](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| enum [cooling_type](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h) type |\n\n\nThis cooling device type.\n\n\nDefinition at line\n[96](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)"]]