diff options
| author | 2023-06-26 18:51:19 -0700 | |
|---|---|---|
| committer | 2023-08-20 10:41:07 -0700 | |
| commit | a95a78f9ef0ed3a3e2d3f22edb9908a6cfe64a65 (patch) | |
| tree | 2d54242f0762c61305368b5eaa17865fe0d3b7a9 /libs/androidfw/ObbFile.cpp | |
| parent | 5e73e7e6295bd94b0fcc5edeb8a3f8a22969e0ac (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: Ie2fc243eecdc21f3b0718f6392e7345d3fb0ae07
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions