commit | 5c6d68ad6a8877e44aa6895c20f8f8aa932430c7 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Wed Mar 09 21:54:59 2022 -0800 |
committer | Andy Hung <hunga@google.com> | Thu Mar 17 16:56:34 2022 -0700 |
tree | 679182b42b658a2fd1f69bcc84924621adb4c674 | |
parent | 0ea7ae4b3f346042ebef44c06c4800ee011eb98c [diff] |
TimeCheck: Update code to support a callback Callback will be used for binder statistics and logging. Nest TimeCheck into mediautils namespace. Copy input char * to a persistent string. Log the thread id which is blocked to the debug message. Separate code to a const shared ptr handler for easier analysis. Add timecheck_tests which validate callback. Test: atest libmediautils_test Test: atest timecheck_tests Bug: 219958414 Change-Id: I13c751ed90f39e41d7cfa3b8be51e40403787608