Add CTS/STS test for bkgd audio record silencing

Add CTS/STS tests which verify on target API 34+
- Moving from top to background silences audio
- Moving from top to top sleeping silences audio
- Moving from top to fg svc w/ no caps silences audio
- Moving from top to fg svc w/ caps doesn't silence audio

On targetSdk < 34, audio should not be silenced after being backgrounded
due to app compat issues.

Test: atest CtsAudioRecordPermissionTests passes with patches, fails w/o
Bug: 268724205
Change-Id: Ibfecd98125149a630b4fcd039aa7683156ffdb01
23 files changed