summaryrefslogtreecommitdiff
path: root/native/android/thermal.cpp
AgeCommit message (Collapse)Author
2025-02-28Add error logging in destructor Xiang Wang
Bug: 399754366 Change-Id: I89a8130b76085f188ffc713fa5a8aa87c18f695e Test: n/a Flag: EXEMPT ndk
2024-11-26Add NDK support for thermal headroom callback API Xiang Wang
Fix the bug that thermal status server listener is not reset to null if the server registration call fails temporarily, which can prevent the apps from registering thermal callback indefinitely until restart Fix the bug that app listener is removed even if server listener fails to unregister, which can confuse the app as it will return the error status and subsequent unregistration will always fail with EINVAL due to listener not found Bug: 360486877 Flag: EXEMPT NDK Test: atest NativeThermalTest NativeThermalUnitTest Change-Id: I2d08ad15e80cc5ea9a75f52ac53d4662db42a11c
2024-06-07Add lock guards to performance hint NDK Matt Buckley
Test: atest PerformanceHintNativeTest Bug: 343817997 Change-Id: Ic48949252be3122e2e13cfa5979f8831aea72a93
2023-11-14Add NDK API AThermal_getThermalHeadroomThresholds Xiang Wang
Bug: b/288119641 Test: atest NativeThermalUnitTestCases Change-Id: I2ba820da74b290a25ff1edf8d278b9200dfaf950
2020-12-16thermal: Add AThermal_getThermalHeadroom Chris Forbes
Bug: b/168612028 Change-Id: I8f192b50f74b1666beeab3ad546c9e3b25842187
2020-02-19Add native Thermal Throttling API to libandroid. Chris Ye
Add native thermal manager API of thermal mananger service into libandroid. Export Thermal API as NDK library. Bug: 137151587 Bug: 136285293 Test: build, atest thermalmanager-test atest CtsThermalTestCases Change-Id: Ia49fb2133624ffcd6168af804ae612ef2bb190f2