2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
temperature_t 구조체 참조
#include <
thermal.h
>
thermal.h
파일의
52
행에 정의되어 있습니다.
현재 온도(섭씨)입니다. 사용할 수 없는 경우 HAL에서 UNKNOWN_TEMPERATURE로 설정합니다. type=DEVICE_TEMPERATURE_UNKNOWN인 경우 현재 온도는 어떤 단위로든 표시될 수 있습니다.
thermal.h
파일의
70
행에 정의가 있습니다.
이 온도의 이름입니다. 동일한 '유형'의 모든 온도는 '이름'이 달라야 합니다.
thermal.h
파일의
62
줄에 정의가 있습니다.
이 온도에 대한 종료 온도 상수입니다. 사용할 수 없는 경우 HAL에서 UNKNOWN_TEMPERATURE로 설정합니다.
thermal.h
파일의
82
줄에 정의되어 있습니다.
float throttling_threshold
|
이 온도의 제한 온도 상수입니다. 사용할 수 없는 경우 HAL에서 UNKNOWN_TEMPERATURE로 설정합니다.
thermal.h
파일의
76
번 째 줄에 정의되어 있습니다.
float vr_throttling_threshold
|
이 기기에서 VR 모드 클록 속도 최솟값을 유지할 수 없는 임계 온도입니다. 사용할 수 없는 경우 HAL에서 UNKNOWN_TEMPERATURE로 설정합니다.
thermal.h
파일의
89
라인에 정의가 있습니다.
이 구조체에 관한 문서는 다음 파일에서 생성되었습니다.
-
hardware/libhardware/include/hardware/
thermal.h
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-26(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-26(UTC)"],[],[],null,["# Android Hardware Abstraction Layer: temperature_t Struct Reference\n\ntemperature_t Struct Reference\n==============================\n\n[Data Fields](#pub-attribs) \ntemperature_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 [temperature_type](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h) | [type](/reference/hal/structtemperature__t#ac2576b1d5d75a297f21fe45e13215c39) |\n| ||\n| const char \\* | [name](/reference/hal/structtemperature__t#a8f8f80d37794cde9472343e4487ba3eb) |\n| ||\n| float | [current_value](/reference/hal/structtemperature__t#a30aa1ab8d0ac8b5c390517f0357a48a9) |\n| ||\n| float | [throttling_threshold](/reference/hal/structtemperature__t#aa4a83a0e413be3fe2f84c303897bdcc0) |\n| ||\n| float | [shutdown_threshold](/reference/hal/structtemperature__t#a892daeeae3ffe25ff843dc94c5c77bc6) |\n| ||\n| float | [vr_throttling_threshold](/reference/hal/structtemperature__t#a20c72a42dae9d20b9ed7945aa36fc4c0) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[52](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 temperature in Celsius. If not available set by HAL to UNKNOWN_TEMPERATURE. Current temperature can be in any units if type=DEVICE_TEMPERATURE_UNKNOWN.\n\n\nDefinition at line\n[70](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 temperature. All temperatures of the same \"type\" must have a different \"name\".\n\n\nDefinition at line\n[62](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| float shutdown_threshold |\n\n\nShutdown temperature constant for this temperature. If not available, set by HAL to UNKNOWN_TEMPERATURE.\n\n\nDefinition at line\n[82](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| float throttling_threshold |\n\n\nThrottling temperature constant for this temperature. If not available, set by HAL to UNKNOWN_TEMPERATURE.\n\n\nDefinition at line\n[76](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 [temperature_type](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/thermal.h) type |\n\n\nThis temperature's type.\n\n\nDefinition at line\n[56](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| float vr_throttling_threshold |\n\n\nThreshold temperature above which the VR mode clockrate minimums cannot be maintained for this device. If not available, set by HAL to UNKNOWN_TEMPERATURE.\n\n\nDefinition at line\n[89](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)"]]