summaryrefslogtreecommitdiffstats
path: root/include/powermanager
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2014-04-02 12:54:45 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2014-04-02 21:24:01 +0000
commitca13fa7dd4662921bc399e021e2ad92ddf5f5366 (patch)
tree7b27283e4ed03c842c17e7fa9d5722fcaaae15f4 /include/powermanager
parente6ef753ef6f134b6ff4fa1b30f0c3340a90f61af (diff)
downloadframeworks_native-ca13fa7dd4662921bc399e021e2ad92ddf5f5366.zip
frameworks_native-ca13fa7dd4662921bc399e021e2ad92ddf5f5366.tar.gz
frameworks_native-ca13fa7dd4662921bc399e021e2ad92ddf5f5366.tar.bz2
PowerManager: add powerHint binder method
Change-Id: Ide1d50bb1580698b25296fbfc1cc63c3b21a00bc
Diffstat (limited to 'include/powermanager')
-rw-r--r--include/powermanager/IPowerManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/powermanager/IPowerManager.h b/include/powermanager/IPowerManager.h
index d85003f..511797a 100644
--- a/include/powermanager/IPowerManager.h
+++ b/include/powermanager/IPowerManager.h
@@ -19,6 +19,7 @@
#include <utils/Errors.h>
#include <binder/IInterface.h>
+#include <hardware/power.h>
namespace android {
@@ -36,6 +37,7 @@ public:
const String16& packageName, int uid) = 0;
virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) = 0;
virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids) = 0;
+ virtual status_t powerHint(int hintId, int data) = 0;
};
// ----------------------------------------------------------------------------