summaryrefslogtreecommitdiffstats
path: root/include/hardware/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware/power.h')
-rw-r--r--include/hardware/power.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/hardware/power.h b/include/hardware/power.h
index c266d8b..2eb98fe 100644
--- a/include/hardware/power.h
+++ b/include/hardware/power.h
@@ -62,6 +62,15 @@ typedef enum {
} feature_t;
/**
+ * Process info, passed as an opaque handle when
+ * using POWER_HINT_LAUNCH_BOOST.
+ */
+typedef struct launch_boost_info {
+ pid_t pid;
+ const char* packageName;
+} launch_boost_info_t;
+
+/**
* Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
* and the fields of this data structure must begin with hw_module_t
* followed by module specific information.
@@ -170,7 +179,6 @@ typedef struct power_module {
} power_module_t;
-
__END_DECLS
#endif // ANDROID_INCLUDE_HARDWARE_POWER_H