summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-09-24 15:32:51 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2010-09-24 15:32:51 -0700
commit12b9aa095e20844eb0e636f18a13062dc5be3c5d (patch)
treed6e18ebd5d4c79c152c8c46ff97d0fddfa5ad6f2
parent099774e68df2a89b6d49bc98756001cf73b20ba3 (diff)
parent03ba4aeda90b10b55ce2630129c4368f39b983cd (diff)
am a7ef18fc: Merge "Some debugging support." into gingerbread
Merge commit 'a7ef18fca50d0db99a161d8c7e2d8979f0445503' into gingerbread-plus-aosp * commit 'a7ef18fca50d0db99a161d8c7e2d8979f0445503': Some debugging support.
-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);