summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2019-12-23 13:09:58 -0800
committerjiabin <jiabin@google.com>2020-01-31 16:23:32 -0800
commitb33f36971dd80e600be6a7ffc0c0df65849da016 (patch)
tree97da9243a83bed0a7c8511da8294ff89a23ef038 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente1eecc1d3779422a281430094e3e9e07c5806f90 (diff)
Set/get allowed capture policy via AudioService.
Do not call AudioSystem.setAllowedCapturePolicy directly in AudioManager. Instead, send the request to AudioService and calling the function in AudioService. In that case, AudioService can cached the request so that it benefits returning correct playback configuration. When querying capture policy, AudioManager will query AudioService first to see if there is cached capture policy. If there is exception, return cached capture policy in AudioManager. Test: dumpsys audio, query active audio playback configuration Test: atest AudioManagerTest, AudioAttributesTest Test: atest AudioPlaybackCaptureTest, AudioPlaybackConfigurationTest Bug: 145115448 Change-Id: I170571d8a67839bc5a53991d6c89127b99b5c794
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions