diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-09-24 15:58:25 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-24 15:58:25 -0700 |
commit | 405e012681aa563b1d7b66c671c90ed2deb26e41 (patch) | |
tree | 6687aa617fea8213148702c68e4da9083122eb0c /libs/binder | |
parent | 3011b6617232d1ef7c1687d1db9e780fce978d30 (diff) | |
parent | deaa8ff1b10d38add4f7c276e7be2ffc19359a14 (diff) | |
download | frameworks_base-405e012681aa563b1d7b66c671c90ed2deb26e41.zip frameworks_base-405e012681aa563b1d7b66c671c90ed2deb26e41.tar.gz frameworks_base-405e012681aa563b1d7b66c671c90ed2deb26e41.tar.bz2 |
am deaa8ff1: am a7ef18fc: Merge "Some debugging support." into gingerbread
Merge commit 'deaa8ff1b10d38add4f7c276e7be2ffc19359a14'
* commit 'deaa8ff1b10d38add4f7c276e7be2ffc19359a14':
Some debugging support.
Diffstat (limited to 'libs/binder')
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index a3e117f..13c58f0 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); |