diff options
| author | 2025-01-17 17:58:14 -0800 | |
|---|---|---|
| committer | 2025-01-24 10:30:21 -0800 | |
| commit | 4f416c50a7cb590336be31180bf8e3deee2afb4e (patch) | |
| tree | 75f4b3b7fbbb0cce424f7e2ab08c01e76cf24b28 /libs/androidfw/StringPool.cpp | |
| parent | 515b50095b02ca1dcc652ae4f120bf116278050c (diff) | |
Use cache for volume getter
Using the IpcDataCache to reduce the number of binder calls between
AudioManager and AudioService. From the b/383667500 we see that there
are a lot of calls that can be optimized. We need to investigate whether
the IpcDataCache mechanism is more efficient in this case since the
volumes might get invalidated very often depending on the routing and
mute state.
Flag: android.media.audio.cache_get_stream_volume
Test: atest AudioManagerTest
Bug: 383667500
Change-Id: I8a07d0f728149e2a9bfcaeee81fff60b17ceedb5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions