diff options
| author | 2023-06-26 18:51:19 -0700 | |
|---|---|---|
| committer | 2023-08-08 16:08:28 +0000 | |
| commit | 969fc708f83a42e2bc2eb6fe9dcfb30fc37beeeb (patch) | |
| tree | 4512a906b13df0d26b1213ee7b1c0dbc04ccdf49 /libs/androidfw/ObbFile.cpp | |
| parent | 9567b4ad0ac98153eb24c514bc13240f7cedf64e (diff) | |
AudioService: add test APIs for audio focus and ducking
Note: all new test methods end with "ForTest" so there is
no ambiguity about the purpose of those methods.
Add test methods to protect focus-based tests from external
audio focus uses (e.g. NotificationManager playing a
notification on the DUT during a test).
Add test methods to read ducking-related timing values, and
the list of ducked UIDs.
Add more debug messages (disabled by default).
Bug: 286495078
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.AudioFocusTest#testDuckedUidsAfterMediaSpeech
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.AudioFocusTest#testDuckedUidsAfterMediaMusic
Change-Id: Iee8f817673647c12b70beb1750498c1be386ae76
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions