Add TimeoutRecord
This class contains structured data about a timeout. In this context a timeout is something about to become an ANR (as long as it passes the various ANR deduping/skipping checks). Types of timeout include input dispatch timeout, broadcast receiver timeout etc. It wraps the ANR subject and contains useful metadata like the value of the system uptime clock when the timeout actually triggered. This is foundational work so that ANR stack latency can be measured and tracked. It will also enable us to log more useful ANR information in perfetto traces. go/timeout-record Bug: b/239390223 Test: atest FrameworkServicesTests Change-Id: I6541b13b4862f6878383d17ba96058b39d36718c
Loading
Please register or sign in to comment