summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-05-06 04:27:57 -0700
committerSteve Kondik <steve@cyngn.com>2016-05-06 04:27:57 -0700
commit397277cc4ee0764184d3a5eaeea9f3dd26c996ab (patch)
tree6ba5c7c2ea8b7b834ac076eb038c550bec612ec5
parent146a870eafe0073b399397f5d8ee9489b3e5a748 (diff)
downloadhardware_libhardware-397277cc4ee0764184d3a5eaeea9f3dd26c996ab.zip
hardware_libhardware-397277cc4ee0764184d3a5eaeea9f3dd26c996ab.tar.gz
hardware_libhardware-397277cc4ee0764184d3a5eaeea9f3dd26c996ab.tar.bz2
hardware: Add definition for launch boost info
Change-Id: I43e556d5a2c7e44eaa377636b8c9456b0acc30a0
-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