diff options
author | Brad Fitzpatrick <bradfitz@android.com> | 2010-12-13 16:52:35 -0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@android.com> | 2010-12-14 09:28:16 -0800 |
commit | 1b6084354710ca52c04ea361d751d19174802d57 (patch) | |
tree | 9352b42604e36859861d70ccaf6bea0599e0911a /include/binder | |
parent | f5da3fd78ab2c1fc13280784288494aaf619cc0f (diff) | |
download | frameworks_native-1b6084354710ca52c04ea361d751d19174802d57.zip frameworks_native-1b6084354710ca52c04ea361d751d19174802d57.tar.gz frameworks_native-1b6084354710ca52c04ea361d751d19174802d57.tar.bz2 |
Framework-side support for Dalvik "isSensitiveThread" hook.
Used in lock contention stats.
Bug: 3226270
Change-Id: Ie6f58d130a29079a59bdefad40b80304d9bc3623
Diffstat (limited to 'include/binder')
-rw-r--r-- | include/binder/IPCThreadState.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binder/IPCThreadState.h b/include/binder/IPCThreadState.h index b54718f..3378d97 100644 --- a/include/binder/IPCThreadState.h +++ b/include/binder/IPCThreadState.h @@ -33,6 +33,7 @@ class IPCThreadState { public: static IPCThreadState* self(); + static IPCThreadState* selfOrNull(); // self(), but won't instantiate sp<ProcessState> process(); |