diff options
author | Brad Fitzpatrick <bradfitz@android.com> | 2010-06-21 15:32:56 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-06-21 15:32:56 -0700 |
commit | efcf68aa1fd7fcfd52cf3d2837ed8db8e797194b (patch) | |
tree | 2534ec6eb14f23541fc9fa4f8c86441e562697cb /include/binder/IPCThreadState.h | |
parent | b9fd188a0b1cd71e38c03a7bb4a4688eedf83667 (diff) | |
parent | ef8f96a717554a85aa63a60f8c61be2afbd12a5c (diff) | |
download | frameworks_base-efcf68aa1fd7fcfd52cf3d2837ed8db8e797194b.zip frameworks_base-efcf68aa1fd7fcfd52cf3d2837ed8db8e797194b.tar.gz frameworks_base-efcf68aa1fd7fcfd52cf3d2837ed8db8e797194b.tar.bz2 |
am ef8f96a7: Merge "Start of work on passing around StrictMode policy over Binder calls." into gingerbread
Merge commit 'ef8f96a717554a85aa63a60f8c61be2afbd12a5c' into gingerbread-plus-aosp
* commit 'ef8f96a717554a85aa63a60f8c61be2afbd12a5c':
Start of work on passing around StrictMode policy over Binder calls.
Diffstat (limited to 'include/binder/IPCThreadState.h')
-rw-r--r-- | include/binder/IPCThreadState.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/binder/IPCThreadState.h b/include/binder/IPCThreadState.h index 3ab985d..04e24d2 100644 --- a/include/binder/IPCThreadState.h +++ b/include/binder/IPCThreadState.h @@ -40,6 +40,9 @@ public: int getCallingPid(); int getCallingUid(); + + void setStrictModePolicy(int32_t policy); + int32_t getStrictModePolicy() const; int64_t clearCallingIdentity(); void restoreCallingIdentity(int64_t token); @@ -109,8 +112,9 @@ private: status_t mLastError; pid_t mCallingPid; uid_t mCallingUid; + int32_t mStrictModePolicy; }; - + }; // namespace android // --------------------------------------------------------------------------- |