commit | bf8e08e530d43a2c0a190833d87e2902e9a0aab5 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Jun 18 16:37:01 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Jun 18 17:46:34 2018 -0700 |
tree | e34fd9f670428052cd7fb028fd9f9dd1ad9804b5 | |
parent | 1293716052d8db69d67c85037189b73b07dbea7e [diff] |
adb: detect some spin loops and abort. Track pending fdevents, and abort if we see an fdevent ready for read/write for 5 minutes continuously. Also, add a service that intentionally starts spinning, to test this. Test: manually changed timeout to a minute, `adb raw spin` Change-Id: Ibfa5e7e654996587f745887cb04987b982d79bed