diff options
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
| -rw-r--r-- | libs/binder/IPCThreadState.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index 406bd54e6f..6fb1227f63 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -90,6 +90,8 @@ static const char *kReturnStrings[] = {      "BR_DEAD_BINDER",      "BR_CLEAR_DEATH_NOTIFICATION_DONE",      "BR_FAILED_REPLY", +    "BR_FROZEN_REPLY", +    "BR_ONEWAY_SPAM_SUSPECT",      "BR_TRANSACTION_SEC_CTX",  }; @@ -894,6 +896,11 @@ status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult)          }          switch (cmd) { +        case BR_ONEWAY_SPAM_SUSPECT: +            ALOGE("Process seems to be sending too many oneway calls."); +            CallStack::logStack("oneway spamming", CallStack::getCurrent().get(), +                    ANDROID_LOG_ERROR); +            [[fallthrough]];          case BR_TRANSACTION_COMPLETE:              if (!reply && !acquireResult) goto finish;              break; |