OSDN Git Service

Improve ANR diagnostics.
authorJeff Brown <jeffbrown@google.com>
Tue, 12 Jun 2012 01:01:06 +0000 (18:01 -0700)
committerJeff Brown <jeffbrown@google.com>
Tue, 12 Jun 2012 01:05:31 +0000 (18:05 -0700)
commit265f1ccc5128319d81eee70ee2d2ae81573efb11
treeeb9ccd9eca60ccf645c22651e40850fecc1b5ed7
parent68cefd201809372a547257a273b805cabbd0da68
Improve ANR diagnostics.

When an ANR occurs, log the associated reason.

When an event takes too long to process (currently more than 2 seconds)
log basic information about the event including how long it actually
took.

Dump the contents of the inbound, outbound and wait queues as part
of dumpsys input.

Bug: 6574842
Change-Id: I9ab754c320f609cb86fe266c469a61e7032dfed6
core/java/android/view/Choreographer.java
services/input/InputDispatcher.cpp
services/input/InputDispatcher.h