commit | f8ab093833741c3cad17a09688385f4c5d72f490 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jun 13 19:49:43 2022 -0700 |
committer | Andy Hung <hunga@google.com> | Fri Sep 02 19:56:52 2022 -0700 |
tree | 486354efd98bb555c6bb40dd16bcd7e2c9dfb590 | |
parent | 2aa1510f22832a57773bf67f2ce4e39cc0745f78 [diff] |
TimeCheck: Add second chance queue Split the timeout into two waits. This reduces the chance of false timeout when the monotonic clock advances without an active CPU during an aborted suspend. Removed default arguments for TimeCheck constructor to avoid accidental argument confusion. Test: overnight stress test Test: atest libmediautils_test Test: atest timecheck_tests Bug: 227594853 Change-Id: If6507a053e5bf15ddd3a3f8f53bdc0d3643e5924