From 397277cc4ee0764184d3a5eaeea9f3dd26c996ab Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Fri, 6 May 2016 04:27:57 -0700 Subject: hardware: Add definition for launch boost info Change-Id: I43e556d5a2c7e44eaa377636b8c9456b0acc30a0 --- include/hardware/power.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.1