AudioService: add TEST_MAPPING for pre-submit tests

Run AudioManager and AudioFocus CTS tests whenever a class
in audio service is changed.

Bug: 139315190
Test: verify this change caused those tests to be run during presubmit
Change-Id: I17a49fad6856ae28ef1951d64a43b04f44be4079
Merged-In: I17a49fad6856ae28ef1951d64a43b04f44be4079
This commit is contained in:
Jean-Michel Trivi
2019-09-18 15:58:44 -07:00
parent 8012f3df57
commit 62d0cd93bf
2 changed files with 16 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* The implementation of the volume manager service.
* The implementation of the audio service for volume, audio focus, device management...
* <p>
* This implementation focuses on delivering a responsive UI. Most methods are
* asynchronous to external calls. For example, the task of setting a volume

View File

@@ -0,0 +1,15 @@
{
"presubmit": [
{
"name": "CtsMediaTestCases",
"options": [
{
"include-filter": "android.media.cts.AudioManagerTest"
},
{
"include-filter": "android.media.cts.AudioFocusTest"
}
]
}
]
}