summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2010-12-13 16:52:35 -0800
committerBrad Fitzpatrick <bradfitz@android.com>2010-12-14 09:28:16 -0800
commit0bd5243b751c9cad317758158f79b3347e7948af (patch)
tree0c019af51a9067ae0292b6e0cf95c0829539c83d /include/binder
parent48ea8d836276c04528d8e7dfebd59d27a627ce66 (diff)
downloadframeworks_base-0bd5243b751c9cad317758158f79b3347e7948af.zip
frameworks_base-0bd5243b751c9cad317758158f79b3347e7948af.tar.gz
frameworks_base-0bd5243b751c9cad317758158f79b3347e7948af.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.h1
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();