summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Erat2015-09-15 11:50:17 -0500
committerDaniel Erat2015-09-15 11:53:55 -0500
commitb603e2c8ab36ac8f3ce65235082f85040a54fa0c (patch)
treed80ffaad0df55f5c3eecfe619abbf202691d7300 /services/powermanager/IPowerManager.cpp
parentf2e53c5e1f3fd27c9131f20b2f8147c82372f746 (diff)
downloadframeworks-native-b603e2c8ab36ac8f3ce65235082f85040a54fa0c.tar.gz
frameworks-native-b603e2c8ab36ac8f3ce65235082f85040a54fa0c.tar.xz
frameworks-native-b603e2c8ab36ac8f3ce65235082f85040a54fa0c.zip
Update libpowermanager to expose enum and export headers.
Move libpowermanager's transaction ID enum (needed when implementing BnPowerManager::onTransact()) into IPowerManager.h and update the library's Android.mk file to export its headers. Bug: 22122485 Change-Id: Ie97198c3d2ebe8e880125e19a001ef7162009858
Diffstat (limited to 'services/powermanager/IPowerManager.cpp')
-rw-r--r--services/powermanager/IPowerManager.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/services/powermanager/IPowerManager.cpp b/services/powermanager/IPowerManager.cpp
index ec864ee50..0a4244ffa 100644
--- a/services/powermanager/IPowerManager.cpp
+++ b/services/powermanager/IPowerManager.cpp
@@ -27,15 +27,6 @@
27 27
28namespace android { 28namespace android {
29 29
30// must be kept in sync with IPowerManager.aidl
31enum {
32 ACQUIRE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION,
33 ACQUIRE_WAKE_LOCK_UID = IBinder::FIRST_CALL_TRANSACTION + 1,
34 RELEASE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION + 2,
35 UPDATE_WAKE_LOCK_UIDS = IBinder::FIRST_CALL_TRANSACTION + 3,
36 POWER_HINT = IBinder::FIRST_CALL_TRANSACTION + 4,
37};
38
39class BpPowerManager : public BpInterface<IPowerManager> 30class BpPowerManager : public BpInterface<IPowerManager>
40{ 31{
41public: 32public: