summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-09-24 15:28:34 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-09-24 15:28:34 -0700
commit03ba4aeda90b10b55ce2630129c4368f39b983cd (patch)
tree415933a5e9c9cb7d2d78fab1a1a7c6d38dc5d0ef
parent5b82faf85c96a135ffff198660f76430c834e9c8 (diff)
parent67f78c4fe8f89b52199f509f36e42df0b1cdfe2d (diff)
Merge "Some debugging support." into gingerbread
-rw-r--r--libs/binder/IPCThreadState.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index a3e117f453..13c58f04fc 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -517,12 +517,26 @@ status_t IPCThreadState::transact(int32_t handle,
}
if ((flags & TF_ONE_WAY) == 0) {
+ #if 0
+ if (code == 4) { // relayout
+ LOGI(">>>>>> CALLING transaction 4");
+ } else {
+ LOGI(">>>>>> CALLING transaction %d", code);
+ }
+ #endif
if (reply) {
err = waitForResponse(reply);
} else {
Parcel fakeReply;
err = waitForResponse(&fakeReply);
}
+ #if 0
+ if (code == 4) { // relayout
+ LOGI("<<<<<< RETURNING transaction 4");
+ } else {
+ LOGI("<<<<<< RETURNING transaction %d", code);
+ }
+ #endif
IF_LOG_TRANSACTIONS() {
TextOutput::Bundle _b(alog);