Add test for starting a foreground Service on virtual device
But disable it for the 25Q2 release since no new CTS tests should be
added. Reenable for 25Q4 (b/402139346). Remaining test code is just a
small refactor of the existing tests, no functional changes.
Will check that the RecordAudioService foreground service can be started
with the right device aware permissions.
Bug: 381386115
Bug: 400753852
Test: atest android.virtualdevice.cts.audio.VirtualAudioPermissionTest
Flag: TEST_ONLY
Change-Id: I54c0235c9c1e160cb64b38d2e7892eb2488cf354
4 files changed