commit | 0ddd0d71326f606a16e37ddd19b7bc7e5fbbaa37 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Thu Jan 21 17:18:29 2021 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Fri Jan 22 16:42:06 2021 -0800 |
tree | 2b09626a8f4b5d1ea40cb28d3cd75a80e9ed0db0 | |
parent | 7d0df510fc3978e56fb3e1ae1be0d11dc6d5d02e [diff] |
AudioService: cache routing queries by AudioAttributes Add support for caching the result of getDevicesForAttributes in the AudioSystem adapter class, as well as stats and debug mode. Bug: 162448412 Test: atest com.google.android.gts.audioservice.AudioServiceHostTest#testDevicesForAttributes Change-Id: I7b45fd0c4c6f2f00c1c3bf6fde02dbf5624c91d8