summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-08-02 20:23:29 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-08-02 20:23:29 +0000
commit9b4b490937f1194bdfc5960ab54517c727ae3b51 (patch)
tree8bbb8486868be92f4fdbbf193a64d632b8742c45
parent10987caaf10eb98bd61e4a8e9ef4e339036494bb (diff)
parenta9f1356c853f6d7b4443123ec6b1f9fb8e563b95 (diff)
Merge "Add missing typedefs for C compat." into main am: d575c5b784 am: a9f1356c85
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3205910 Change-Id: I58a1515b982e4bd87cc93ea0d02987c7c9208e07 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--include/android/thermal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/android/thermal.h b/include/android/thermal.h
index fa168cdecb..7f9d2edfc7 100644
--- a/include/android/thermal.h
+++ b/include/android/thermal.h
@@ -85,6 +85,7 @@ enum AThermalStatus {
/** Need shutdown immediately. */
ATHERMAL_STATUS_SHUTDOWN = 6,
};
+typedef enum AThermalStatus AThermalStatus;
/**
* An opaque type representing a handle to a thermal manager.
@@ -240,6 +241,7 @@ struct AThermalHeadroomThreshold {
float headroom;
AThermalStatus thermalStatus;
};
+typedef struct AThermalHeadroomThreshold AThermalHeadroomThreshold;
/**
* Gets the thermal headroom thresholds for all available thermal status.