diff options
author | Marco Nelissen <marcone@google.com> | 2013-10-16 10:57:51 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2013-10-16 12:57:32 -0700 |
commit | 5c0106e134366312206702f1b072347e20c90374 (patch) | |
tree | 8874b4dcd5218cdd5f731d72f55892db2f9b6ec9 /include | |
parent | c60f1ad0fa0dd31a774517d1c0081465e4169f91 (diff) | |
download | frameworks_native-5c0106e134366312206702f1b072347e20c90374.zip frameworks_native-5c0106e134366312206702f1b072347e20c90374.tar.gz frameworks_native-5c0106e134366312206702f1b072347e20c90374.tar.bz2 |
Native counterpart of new power manager method
Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d
Diffstat (limited to 'include')
-rw-r--r-- | include/binder/Parcel.h | 1 | ||||
-rw-r--r-- | include/powermanager/IPowerManager.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h index 0e20da9..e770e6f 100644 --- a/include/binder/Parcel.h +++ b/include/binder/Parcel.h @@ -101,6 +101,7 @@ public: status_t writeString16(const char16_t* str, size_t len); status_t writeStrongBinder(const sp<IBinder>& val); status_t writeWeakBinder(const wp<IBinder>& val); + status_t writeInt32Array(size_t len, const int32_t *val); template<typename T> status_t write(const Flattenable<T>& val); diff --git a/include/powermanager/IPowerManager.h b/include/powermanager/IPowerManager.h index 2f4c3c4..d85003f 100644 --- a/include/powermanager/IPowerManager.h +++ b/include/powermanager/IPowerManager.h @@ -35,6 +35,7 @@ public: virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, 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; }; // ---------------------------------------------------------------------------- |