commit | d3813f35753a8ce43b289656de2649fdf1afaacc | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Thu Apr 23 16:26:15 2020 -0700 |
committer | Phil Burk <philburk@google.com> | Fri Apr 24 11:13:09 2020 -0700 |
tree | c13f9f04349fdfe3ad043c8bdafaa4757e3a30ff | |
parent | cc40c5fa11767eb9a87cf6e1a5e8a99d6cec2847 [diff] |
audioflinger: add setCallerName() to AudioTrack And also to AudioRecord. Then log the callerName using MediaMetrics from the destructor. This can be used to tell whether AAudio or OpenSL ES or Java created the object. Bug: 154543374 Test: adb shell dumpsys media.metrics --clear Test: Run an app that uses audio. Test: adb shell dumpsys media.metrics Test: Look for "callerName" in the dump. Change-Id: I000346e72f581d2e40ef4fd0410b579d2a1224e2